@agoric/base-zone 0.1.1-u18.0 → 0.1.1-u19.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 +2 -1
- package/package.json +12 -12
- package/src/heap.d.ts +1 -1
- package/src/heap.d.ts.map +1 -1
- package/src/make-once.d.ts +2 -2
- package/src/make-once.d.ts.map +1 -1
- package/src/prepare-revocable.d.ts +1 -1
- package/src/prepare-revocable.d.ts.map +1 -1
- package/src/types.d.ts +1 -1
- package/src/types.d.ts.map +1 -1
- package/src/types.js +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +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-
|
|
6
|
+
### 0.1.1-u19.0 (2025-02-24)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Features
|
|
@@ -11,6 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
* **base-zone:** add `zone.watchPromise` ([9ce80d0](https://github.com/Agoric/agoric-sdk/commit/9ce80d06c0a56471d2da9f372b0b2d93d31d159a))
|
|
12
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))
|
|
13
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))
|
|
14
15
|
* **watchUtils:** handle non-storables ([8c27c67](https://github.com/Agoric/agoric-sdk/commit/8c27c6725ba7ef4b71d3ab0ccfdbddd755bcd926))
|
|
15
16
|
|
|
16
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/base-zone",
|
|
3
|
-
"version": "0.1.1-
|
|
3
|
+
"version": "0.1.1-u19.0",
|
|
4
4
|
"description": "Allocation zone abstraction library and heap implementation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/Agoric/agoric-sdk",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"prepack": "tsc --build tsconfig.build.json",
|
|
11
11
|
"postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'",
|
|
12
12
|
"test": "ava",
|
|
13
|
-
"test:c8": "c8 $C8_OPTIONS ava
|
|
13
|
+
"test:c8": "c8 --all $C8_OPTIONS ava",
|
|
14
14
|
"test:xs": "exit 0",
|
|
15
15
|
"lint-fix": "yarn lint:eslint --fix",
|
|
16
16
|
"lint": "run-s --continue-on-error lint:*",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"author": "Agoric",
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@agoric/store": "^0.9.3-
|
|
31
|
-
"@endo/common": "^1.2.
|
|
32
|
-
"@endo/errors": "^1.2.
|
|
33
|
-
"@endo/exo": "^1.5.
|
|
34
|
-
"@endo/far": "^1.1.
|
|
35
|
-
"@endo/pass-style": "^1.4.
|
|
36
|
-
"@endo/patterns": "^1.4.
|
|
30
|
+
"@agoric/store": "^0.9.3-u19.0",
|
|
31
|
+
"@endo/common": "^1.2.9",
|
|
32
|
+
"@endo/errors": "^1.2.9",
|
|
33
|
+
"@endo/exo": "^1.5.8",
|
|
34
|
+
"@endo/far": "^1.1.10",
|
|
35
|
+
"@endo/pass-style": "^1.4.8",
|
|
36
|
+
"@endo/patterns": "^1.4.8"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@endo/init": "^1.1.
|
|
40
|
-
"@endo/ses-ava": "^1.2.
|
|
39
|
+
"@endo/init": "^1.1.8",
|
|
40
|
+
"@endo/ses-ava": "^1.2.9",
|
|
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": "
|
|
62
|
+
"gitHead": "29e9704c375a06bb617027093b30d2d25faa6471"
|
|
63
63
|
}
|
package/src/heap.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function makeHeapZone(baseLabel?: string
|
|
1
|
+
export function makeHeapZone(baseLabel?: string): import("./types.js").Zone;
|
|
2
2
|
//# sourceMappingURL=heap.d.ts.map
|
package/src/heap.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heap.d.ts","sourceRoot":"","sources":["heap.js"],"names":[],"mappings":"AAmCO,
|
|
1
|
+
{"version":3,"file":"heap.d.ts","sourceRoot":"","sources":["heap.js"],"names":[],"mappings":"AAmCO,yCAHI,MAAM,GACJ,OAAO,YAAY,EAAE,IAAI,CA4BrC"}
|
package/src/make-once.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export function makeOnceKit(debugName: string, stores: import("./types.js").Stores, backingStore?:
|
|
1
|
+
export function makeOnceKit(debugName: string, stores: import("./types.js").Stores, backingStore?: import("@agoric/swingset-liveslots").MapStore<string, any>): {
|
|
2
2
|
makeOnce: <V>(key: string, maker: (key: string) => V) => V;
|
|
3
|
-
wrapProvider: <T extends (key: string, ...rest: any[]) => any>(provider: T, labelToKeys?: (
|
|
3
|
+
wrapProvider: <T extends (key: string, ...rest: any[]) => any>(provider: T, labelToKeys?: (label: string) => string[]) => T;
|
|
4
4
|
};
|
|
5
5
|
//# sourceMappingURL=make-once.d.ts.map
|
package/src/make-once.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"make-once.d.ts","sourceRoot":"","sources":["make-once.js"],"names":[],"mappings":"AAYO,uCAJI,MAAM,UACN,OAAO,YAAY,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"make-once.d.ts","sourceRoot":"","sources":["make-once.js"],"names":[],"mappings":"AAYO,uCAJI,MAAM,UACN,OAAO,YAAY,EAAE,MAAM,iBAC3B,OAAO,4BAA4B,EAAE,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC;eAwDtD,CAAC,OACH,MAAM,SACN,CAAC,GAAG,EAAE,MAAM,KAAK,CAAC,KAChB,CAAC;mBAhCsC,CAAC,SAAxC,CAAE,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAI,YACxC,CAAC,gBACD,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,EAAE,KACzB,CAAC;EA4Cf"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function prepareRevocableMakerKit<U = any>(zone: import("@agoric/base-zone").Zone, uKindName: string, uMethodNames: (string | symbol)[], options?: RevocableKitOptions
|
|
1
|
+
export function prepareRevocableMakerKit<U = any>(zone: import("@agoric/base-zone").Zone, uKindName: string, uMethodNames: (string | symbol)[], options?: RevocableKitOptions): RevocableMakerKit<U>;
|
|
2
2
|
export type RevocableMakerKit<U = any> = {
|
|
3
3
|
revoke: (revocable: U) => boolean;
|
|
4
4
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepare-revocable.d.ts","sourceRoot":"","sources":["prepare-revocable.js"],"names":[],"mappings":"AAqEO,yCAVO,CAAC,cACJ,OAAO,mBAAmB,EAAE,IAAI,aAChC,MAAM,gBAEN,CAAC,MAAM,GAAC,MAAM,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"prepare-revocable.d.ts","sourceRoot":"","sources":["prepare-revocable.js"],"names":[],"mappings":"AAqEO,yCAVO,CAAC,cACJ,OAAO,mBAAmB,EAAE,IAAI,aAChC,MAAM,gBAEN,CAAC,MAAM,GAAC,MAAM,CAAC,EAAE,YAGjB,mBAAmB,GACjB,iBAAiB,CAAC,CAAC,CAAC,CAyGhC;8BArKa,CAAC;YAED,CAAC,SAAS,EAAE,CAAC,KAAK,OAAO;;;;mBACzB,CAAC,UAAU,EAAE,CAAC,KAAK,CAAC;;;YAMpB,MAAM,OAAO;;yBAIb,CAAC;aAED,YAAY;;;;eACZ,CAAC;;6BAKD,CAAC;YAED,YAAY,CAAC,CAAC,CAAC;WACf;QAAE,UAAU,EAAE,CAAC,CAAA;KAAE;;gCAIjB,CAAC;;;;;;;;;;;;;;;;kDAcH,gBAAgB,CAAC,CAAC,CAAC,WAAW,GAAG,EAAE,KAAK,GAAG"}
|
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<
|
|
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
|
*/
|
package/src/types.d.ts.map
CHANGED
|
@@ -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,KAA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AC,CAAC;;;;kBAEnD,CAAC,CAAC,EACX,KAAK,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
|
@@ -33,7 +33,7 @@ export {};
|
|
|
33
33
|
* @typedef {object} Stores
|
|
34
34
|
* @property {() => Stores} detached obtain store providers which are detached (the stores are anonymous rather than bound to `label` in the zone)
|
|
35
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
|
|
36
|
-
* @property {(label: string, options?: StoreOptions) => MapStore<
|
|
36
|
+
* @property {<K, V>(label: string, options?: StoreOptions) => MapStore<K, V>} mapStore provide a Map-like store named `label` in the zone
|
|
37
37
|
* @property {<K>(label: string, options?: StoreOptions) => SetStore<K>} setStore provide a Set-like store named `label` in the zone
|
|
38
38
|
* @property {<K, V>(
|
|
39
39
|
* 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.
|
|
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.1-rc"}
|