uneventful 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/signals.mjs +4 -1
  2. package/package.json +2 -2
package/dist/signals.mjs CHANGED
@@ -96,9 +96,12 @@ function fx(f, ...args) {
96
96
  let jobs, cell = Cell.mkCached(f);
97
97
  return () => {
98
98
  if (currentCell) {
99
- if (currentCell.isObserved())
99
+ if (currentCell.isObserved()) {
100
+ cell.isObserved() || (cell.validThrough = 0);
100
101
  cell.getValue();
102
+ }
101
103
  } else {
104
+ cell.isObserved() || (cell.validThrough = 0);
102
105
  if (!sosHas(jobs, getJob())) {
103
106
  const job = currentJob;
104
107
  jobs = sosAdd(jobs, job);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uneventful",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "Declarative, event-driven reactivity: signals, streams, structured concurrency, and easy resource cleanup",
5
5
  "keywords": [
6
6
  "signals",
@@ -92,7 +92,7 @@
92
92
  "ts-expect": "^1.3.0",
93
93
  "ts-node": "^10.9.1",
94
94
  "tsx": "^4.6.1",
95
- "typedoc": "pjeby/typedoc#no-merged-comments",
95
+ "typedoc": "^0.28.17",
96
96
  "typescript": "^5.9.3"
97
97
  }
98
98
  }