@agoric/base-zone 0.1.1-u18.1 → 0.1.1-u20.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.
package/CHANGELOG.md CHANGED
@@ -3,15 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ### [0.1.1-u18.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/base-zone@0.1.1-u18.0...@agoric/base-zone@0.1.1-u18.1) (2024-12-24)
7
-
8
- **Note:** Version bump only for package @agoric/base-zone
9
-
10
-
11
-
12
-
13
-
14
- ### 0.1.1-u18.0 (2024-10-31)
6
+ ### 0.1.1-u20.0 (2025-04-16)
15
7
 
16
8
 
17
9
  ### Features
@@ -19,6 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
19
11
  * **base-zone:** add `zone.watchPromise` ([9ce80d0](https://github.com/Agoric/agoric-sdk/commit/9ce80d06c0a56471d2da9f372b0b2d93d31d159a))
20
12
  * **base-zone:** alt revocable api using amplifier ([#8977](https://github.com/Agoric/agoric-sdk/issues/8977)) ([5cdf6e3](https://github.com/Agoric/agoric-sdk/commit/5cdf6e3a8b4fbb5cb8e276e6efeec65d9c3d6623))
21
13
  * **base-zone:** new package ([b7bc677](https://github.com/Agoric/agoric-sdk/commit/b7bc677238eee5969ac0a95dc066434ef676216e))
14
+ * **types:** generic zone.mapStore ([a9b055d](https://github.com/Agoric/agoric-sdk/commit/a9b055dcab34b9c9b136dd430e1e2251d80c5039))
22
15
  * **watchUtils:** handle non-storables ([8c27c67](https://github.com/Agoric/agoric-sdk/commit/8c27c6725ba7ef4b71d3ab0ccfdbddd755bcd926))
23
16
 
24
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/base-zone",
3
- "version": "0.1.1-u18.1",
3
+ "version": "0.1.1-u20.0",
4
4
  "description": "Allocation zone abstraction library and heap implementation",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/Agoric/agoric-sdk",
@@ -27,17 +27,17 @@
27
27
  "author": "Agoric",
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@agoric/store": "^0.9.3-u18.1",
31
- "@endo/common": "^1.2.8",
32
- "@endo/errors": "^1.2.8",
33
- "@endo/exo": "^1.5.7",
34
- "@endo/far": "^1.1.9",
35
- "@endo/pass-style": "^1.4.7",
36
- "@endo/patterns": "^1.4.7"
30
+ "@agoric/store": "^0.9.3-u20.0",
31
+ "@endo/common": "^1.2.10",
32
+ "@endo/errors": "^1.2.10",
33
+ "@endo/exo": "^1.5.9",
34
+ "@endo/far": "^1.1.11",
35
+ "@endo/pass-style": "^1.5.0",
36
+ "@endo/patterns": "^1.5.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@endo/init": "^1.1.7",
40
- "@endo/ses-ava": "^1.2.8",
39
+ "@endo/init": "^1.1.9",
40
+ "@endo/ses-ava": "^1.2.10",
41
41
  "ava": "^5.3.0"
42
42
  },
43
43
  "publishConfig": {
@@ -59,5 +59,5 @@
59
59
  "typeCoverage": {
60
60
  "atLeast": 91.4
61
61
  },
62
- "gitHead": "f8c45b8a2e29a51522a81a6692af25b2d7f6b50f"
62
+ "gitHead": "8e4207fa19dabf76c1f91f8779b5b5b93570ecea"
63
63
  }
@@ -1,2 +1,3 @@
1
1
  export function isPassable(specimen: any): specimen is Passable;
2
+ import type { Passable } from '@endo/pass-style';
2
3
  //# sourceMappingURL=is-passable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-passable.d.ts","sourceRoot":"","sources":["is-passable.js"],"names":[],"mappings":"AAOO,qCAHI,GAAG,GACD,QAAQ,IAAI,QAAQ,CAE6B"}
1
+ {"version":3,"file":"is-passable.d.ts","sourceRoot":"","sources":["is-passable.js"],"names":[],"mappings":"AAWO,qCAHI,GAAG,GACD,QAAQ,IAAI,QAAQ,CAE6B;8BARnC,kBAAkB"}
@@ -1,5 +1,9 @@
1
1
  import { isPassable as realIsPassable } from '@endo/pass-style';
2
2
 
3
+ /**
4
+ * @import {Passable} from '@endo/pass-style';
5
+ */
6
+
3
7
  /**
4
8
  * @deprecated Import `isPassable` directly from `@endo/pass-style`
5
9
  * @param {any} specimen
package/src/types.d.ts CHANGED
@@ -43,7 +43,7 @@ export type Stores = {
43
43
  /**
44
44
  * provide a Map-like store named `label` in the zone
45
45
  */
46
- mapStore: (label: string, options?: StoreOptions) => MapStore<any, any>;
46
+ mapStore: <K, V>(label: string, options?: StoreOptions) => MapStore<K, V>;
47
47
  /**
48
48
  * provide a Set-like store named `label` in the zone
49
49
  */
@@ -60,5 +60,10 @@ export type Stores = {
60
60
  import { makeExo } from '@endo/exo';
61
61
  import { defineExoClass } from '@endo/exo';
62
62
  import { defineExoClassKit } from '@endo/exo';
63
+ import type { StoreOptions } from '@agoric/store';
63
64
  import { watchPromise } from './watch-promise.js';
65
+ import type { MapStore } from '@agoric/store';
66
+ import type { SetStore } from '@agoric/store';
67
+ import type { WeakMapStore } from '@agoric/store';
68
+ import type { WeakSetStore } from '@agoric/store';
64
69
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":"4BAac,UAAU,GAAG,aAAa,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM;wBACrD,MAAM,CAAC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;;;;;mBAGnD,OAAO,GAAG,MAAM;;;;;SAMf,OAAO,OAAO;;;;cACd,OAAO,cAAc;;;;iBACrB,OAAO,iBAAiB;;;;cACxB,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,CAAC,KAAK,CAAC;;;;aAChD,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,IAAI;;;;kBAC/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AK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,SAAS,CAAC,EAAE,CAAC,CAAC;;;;cAC/D,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,SAAS,CAAC,CAAC;;;;kBACzD,CAAC,CAAC,EAAE,CAAC,EACd,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,aAAa,CAAC,EAAE,CAAC,CAAC;;;;kBAEnD,CAAC,CAAC,EACX,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,aAAa,CAAC,CAAC;;wBAzCH,WAAW;+BAAX,WAAW;kCAAX,WAAW;kCAQS,eAAe;6BANjE,oBAAoB;8BAM8B,eAAe;8BAAf,eAAe;kCAAf,eAAe;kCAAf,eAAe"}
package/src/types.js CHANGED
@@ -7,6 +7,7 @@ import { watchPromise } from './watch-promise.js';
7
7
  export {};
8
8
 
9
9
  /**
10
+ * @import {MapStore, SetStore, StoreOptions, WeakMapStore, WeakSetStore} from '@agoric/store';
10
11
  * @import {Key} from '@endo/patterns';
11
12
  * @import {Passable} from '@endo/pass-style';
12
13
  */
@@ -33,7 +34,7 @@ export {};
33
34
  * @typedef {object} Stores
34
35
  * @property {() => Stores} detached obtain store providers which are detached (the stores are anonymous rather than bound to `label` in the zone)
35
36
  * @property {(specimen: unknown) => boolean} isStorable return true if the specimen can be stored in the zone, whether as exo-object state or in a store
36
- * @property {(label: string, options?: StoreOptions) => MapStore<any, any>} mapStore provide a Map-like store named `label` in the zone
37
+ * @property {<K, V>(label: string, options?: StoreOptions) => MapStore<K, V>} mapStore provide a Map-like store named `label` in the zone
37
38
  * @property {<K>(label: string, options?: StoreOptions) => SetStore<K>} setStore provide a Set-like store named `label` in the zone
38
39
  * @property {<K, V>(
39
40
  * label: string, options?: StoreOptions) => WeakMapStore<K, V>
@@ -1 +1 @@
1
- {"root":["./heap.js","./zone-helpers.js","./src/heap.js","./src/index.js","./src/is-passable.js","./src/keys.js","./src/make-once.js","./src/prepare-revocable.js","./src/types.js","./src/watch-promise.js"],"version":"5.7.2"}
1
+ {"root":["./heap.js","./zone-helpers.js","./src/heap.js","./src/index.js","./src/is-passable.js","./src/keys.js","./src/make-once.js","./src/prepare-revocable.js","./src/types.js","./src/watch-promise.js"],"version":"5.8.2"}