Skip to content

Commit

Permalink
bump patch version to 0.2.2
Browse files Browse the repository at this point in the history
a typo of `1` instead of `0` made the whole `LazySignal` function incorrectly. imagine my disappointment.
  • Loading branch information
omar-azmi committed Feb 19, 2024
1 parent 3add8ea commit fc5f756
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "tsignal_ts",
"version": "0.2.1",
"version": "0.2.2",
"description": "a topological order respecting signals library inspired by SolidJS",
"author": "Omar Azmi",
"license": "Lulz plz don't steal yet",
"license": "Anti-Competition License",
"repository": {
"type": "git",
"url": "git+https://github.com/omar-azmi/tsignal_ts.git"
Expand Down
2 changes: 1 addition & 1 deletion src/signal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export const LazySignal_Factory = (ctx: Context) => {
get(observer_id?: TO_ID | UNTRACKED_ID): T {
if (this.rid || this.dirty) {
super.set(this.fn(this.rid))
this.dirty = 1
this.dirty = 0
this.rid = 0 as UNTRACKED_ID
}
return super.get(observer_id)
Expand Down

0 comments on commit fc5f756

Please sign in to comment.