@econ-v1/ports 7.3.3 → 7.4.1

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.
@@ -1,5 +1,10 @@
1
+ /**
2
+ * Manual updates reject on failure; a per-tab receipt verifies the loaded entry after reload.
3
+ */
1
4
  export type ShellCacheResetPort = {
2
5
  reset(): void;
6
+ update?(repair: boolean): Promise<void>;
7
+ readUpdateResult?(): Promise<string | undefined>;
3
8
  };
4
9
  /**
5
10
  * Durable, per-scope stage readiness/preparation bookkeeping cleared as part of a cache reset.
@@ -1 +1 @@
1
- {"version":3,"file":"shell-cache-reset.d.ts","sourceRoot":"","sources":["../src/shell-cache-reset.js"],"names":[],"mappings":"kCACc;IAAE,KAAK,IAAI,IAAI,CAAA;CAAE;;;;;;;;;;;;;;;;;wCAgBlB;IAAE,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAsD1B;IACR,YAAY,IAAI,OAAO,CAAC;IACxB,qBAAqB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAC1C,WAAW,IAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;CACvD;;;;gCAIS;IAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CAAE"}
1
+ {"version":3,"file":"shell-cache-reset.d.ts","sourceRoot":"","sources":["../src/shell-cache-reset.js"],"names":[],"mappings":";;;kCAEa;IAAE,KAAK,IAAI,IAAI,CAAC;IAAC,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAAC,gBAAgB,CAAC,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;wCAgB5G;IAAE,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAsD1B;IACR,YAAY,IAAI,OAAO,CAAC;IACxB,qBAAqB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAC1C,WAAW,IAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;CACvD;;;;gCAIS;IAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CAAE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@econ-v1/ports",
3
- "version": "7.3.3",
3
+ "version": "7.4.1",
4
4
  "description": "Platform-neutral ports for Node client applications",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "author": "Node contributors",
@@ -1,5 +1,6 @@
1
1
  // @ts-check
2
- /** @typedef {{ reset(): void }} ShellCacheResetPort */
2
+ /** Manual updates reject on failure; a per-tab receipt verifies the loaded entry after reload.
3
+ * @typedef {{ reset(): void, update?(repair: boolean): Promise<void>, readUpdateResult?(): Promise<string | undefined> }} ShellCacheResetPort */
3
4
  /**
4
5
  * Durable, per-scope stage readiness/preparation bookkeeping cleared as part of a cache reset.
5
6
  *