@econ-v1/domain 7.3.2 → 7.4.0

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.
@@ -10,6 +10,11 @@ export type DomainEvent = import("../events/index.js").DomainEvent;
10
10
  * state or a home-node round trip; those queries remain available in degraded
11
11
  * mode when a browser cannot provide OPFS.
12
12
  *
13
+ * `matchesInvalidation` narrows which `invalidateOn` events rerun the query. When absent, the
14
+ * engine still treats `query.invalidated` as addressed: only an invalidation whose
15
+ * `payload.name` equals this definition's `name` reruns it. Every other event type in
16
+ * `invalidateOn` matches unconditionally.
17
+ *
13
18
  * `retryAfterMs` is how a definition that carries its own failure backoff
14
19
  * asks the engine to come back on a timer. It is read after a rejected
15
20
  * `run()` and returns milliseconds from now until the definition is willing
@@ -1 +1 @@
1
- {"version":3,"file":"live-query-definition.d.ts","sourceRoot":"","sources":["../../src/models/live-query-definition.js"],"names":[],"mappings":"8BAGa,OAAO,oBAAoB,EAAE,eAAe;wBAG5C,OAAO,oBAAoB,EAAE,SAAS;0BAErC,OAAO,oBAAoB,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;gCAoBzC,OAAO,EACP,IAAI,IACJ;IACZ,QAAY,CAAC,YAAY,EAAE,SAAS,eAAe,EAAE,CAAC;IACtD,QAAY,CAAC,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,OAAO,CAAC;IACnE,QAAY,CAAC,IAAI,EAAE,SAAS,CAAC;IAC7B,QAAY,CAAC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAC9C,QAAY,CAAC,YAAY,CAAC,EAAE,MAAM,MAAM,CAAC;IACrC,GAAG,CAAC,GAAG,EAAE,IAAI,GAAG,MAAM,CAAC;IACvB,GAAG,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;CAChD"}
1
+ {"version":3,"file":"live-query-definition.d.ts","sourceRoot":"","sources":["../../src/models/live-query-definition.js"],"names":[],"mappings":"8BAGa,OAAO,oBAAoB,EAAE,eAAe;wBAG5C,OAAO,oBAAoB,EAAE,SAAS;0BAErC,OAAO,oBAAoB,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;gCAyBzC,OAAO,EACP,IAAI,IACJ;IACZ,QAAY,CAAC,YAAY,EAAE,SAAS,eAAe,EAAE,CAAC;IACtD,QAAY,CAAC,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,OAAO,CAAC;IACnE,QAAY,CAAC,IAAI,EAAE,SAAS,CAAC;IAC7B,QAAY,CAAC,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAC9C,QAAY,CAAC,YAAY,CAAC,EAAE,MAAM,MAAM,CAAC;IACrC,GAAG,CAAC,GAAG,EAAE,IAAI,GAAG,MAAM,CAAC;IACvB,GAAG,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;CAChD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@econ-v1/domain",
3
- "version": "7.3.2",
3
+ "version": "7.4.0",
4
4
  "description": "Platform-neutral domain contracts and errors for Node clients",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "author": "Node contributors",
@@ -57,6 +57,6 @@
57
57
  "access": "public"
58
58
  },
59
59
  "dependencies": {
60
- "@econ-v1/ports": "7.3.2"
60
+ "@econ-v1/ports": "7.4.0"
61
61
  }
62
62
  }
@@ -16,6 +16,11 @@
16
16
  * state or a home-node round trip; those queries remain available in degraded
17
17
  * mode when a browser cannot provide OPFS.
18
18
  *
19
+ * `matchesInvalidation` narrows which `invalidateOn` events rerun the query. When absent, the
20
+ * engine still treats `query.invalidated` as addressed: only an invalidation whose
21
+ * `payload.name` equals this definition's `name` reruns it. Every other event type in
22
+ * `invalidateOn` matches unconditionally.
23
+ *
19
24
  * `retryAfterMs` is how a definition that carries its own failure backoff
20
25
  * asks the engine to come back on a timer. It is read after a rejected
21
26
  * `run()` and returns milliseconds from now until the definition is willing