@agoric/base-zone 0.1.1-dev-aa68d8f.0 → 0.1.1-dev-651b051.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/base-zone",
3
- "version": "0.1.1-dev-aa68d8f.0+aa68d8f",
3
+ "version": "0.1.1-dev-651b051.0+651b051",
4
4
  "description": "Allocation zone abstraction library and heap implementation",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/Agoric/agoric-sdk",
@@ -27,16 +27,16 @@
27
27
  "author": "Agoric",
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@agoric/store": "0.9.3-dev-aa68d8f.0+aa68d8f",
31
- "@endo/common": "^1.2.1",
32
- "@endo/exo": "^1.4.0",
33
- "@endo/far": "^1.1.1",
34
- "@endo/pass-style": "^1.3.1",
35
- "@endo/patterns": "^1.3.1"
30
+ "@agoric/store": "0.9.3-dev-651b051.0+651b051",
31
+ "@endo/common": "^1.2.2",
32
+ "@endo/exo": "^1.5.0",
33
+ "@endo/far": "^1.1.2",
34
+ "@endo/pass-style": "^1.4.0",
35
+ "@endo/patterns": "^1.4.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@endo/init": "^1.1.1",
39
- "@endo/ses-ava": "^1.2.1",
38
+ "@endo/init": "^1.1.2",
39
+ "@endo/ses-ava": "^1.2.2",
40
40
  "ava": "^5.3.0"
41
41
  },
42
42
  "publishConfig": {
@@ -56,7 +56,7 @@
56
56
  "workerThreads": false
57
57
  },
58
58
  "typeCoverage": {
59
- "atLeast": 88.55
59
+ "atLeast": 89.87
60
60
  },
61
- "gitHead": "aa68d8fba19087b3a2c72bd59f6f9e47e34ffe1b"
61
+ "gitHead": "651b05136f236230c67c8b40224540c585beaa54"
62
62
  }
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: <K, V>(label: string, options?: StoreOptions) => MapStore<K, V>;
46
+ mapStore: (label: string, options?: StoreOptions) => MapStore<any, any>;
47
47
  /**
48
48
  * provide a Set-like store named `label` in the zone
49
49
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":"4BAQc,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/C,OAAO,YAAY;;;;;;cAKnB,MAAM,MAAM;;;;gBACZ,CAAC,QAAQ,EAAE,OAAO,KAAK,OAAO;;;;cAC9B,CAAC,CAAC,EAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC;;;;cAC9D,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,QAAQ,CAAC,CAAC,CAAC;;;;kBACzD,CAAC,CAAC,EAAC,CAAC,EACjB,KAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC;;;;kBAEnD,CAAC,CAAC,EACf,KAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC;;wBAnCH,WAAW;+BAAX,WAAW;kCAAX,WAAW;6BAEzC,oBAAoB"}
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/C,OAAO,YAAY;;;;;;cAKnB,MAAM,MAAM;;;;gBACZ,CAAC,QAAQ,EAAE,OAAO,KAAK,OAAO;;;;cAC9B,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC;;;;cAC7D,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,QAAQ,CAAC,CAAC,CAAC;;;;kBACzD,CAAC,CAAC,EAAE,CAAC,EAClB,KAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC;;;;kBAEnD,CAAC,CAAC,EACf,KAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC;;wBAxCH,WAAW;+BAAX,WAAW;kCAAX,WAAW;6BAEzC,oBAAoB"}
package/src/types.js CHANGED
@@ -6,6 +6,11 @@ import { watchPromise } from './watch-promise.js';
6
6
  // Ensure this is a module.
7
7
  export {};
8
8
 
9
+ /**
10
+ * @import {Key} from '@endo/patterns';
11
+ * @import {Passable} from '@endo/pass-style';
12
+ */
13
+
9
14
  /** @typedef {'exoClass' | 'exoClassKit' | 'exo' | 'store' | 'zone'} KeyCategories */
10
15
  /** @typedef {Record<KeyCategories, (label: string) => string[]>} KeyMakers */
11
16
 
@@ -28,9 +33,9 @@ export {};
28
33
  * @typedef {object} Stores
29
34
  * @property {() => Stores} detached obtain store providers which are detached (the stores are anonymous rather than bound to `label` in the zone)
30
35
  * @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
31
- * @property {<K,V>(label: string, options?: StoreOptions) => MapStore<K, V>} mapStore provide a Map-like store named `label` in the zone
36
+ * @property {(label: string, options?: StoreOptions) => MapStore<any, any>} mapStore provide a Map-like store named `label` in the zone
32
37
  * @property {<K>(label: string, options?: StoreOptions) => SetStore<K>} setStore provide a Set-like store named `label` in the zone
33
- * @property {<K,V>(
38
+ * @property {<K, V>(
34
39
  * label: string, options?: StoreOptions) => WeakMapStore<K, V>
35
40
  * } weakMapStore provide a WeakMap-like store named `label` in the zone
36
41
  * @property {<K>(