@agoric/base-zone 0.1.1-dev-de2008a.0 → 0.1.1-dev-9d7a377.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 +3 -3
- package/src/heap.d.ts +1 -1
- package/src/keys.d.ts +1 -1
- package/src/make-once.d.ts +1 -1
- 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 +5 -5
- package/src/types.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/base-zone",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-9d7a377.0+9d7a377",
|
|
4
4
|
"description": "Allocation zone abstraction library and heap implementation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/Agoric/agoric-sdk",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"author": "Agoric",
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@agoric/store": "0.9.3-dev-
|
|
30
|
+
"@agoric/store": "0.9.3-dev-9d7a377.0+9d7a377",
|
|
31
31
|
"@endo/common": "^1.2.1",
|
|
32
32
|
"@endo/exo": "^1.4.0",
|
|
33
33
|
"@endo/far": "^1.1.1",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"typeCoverage": {
|
|
59
59
|
"atLeast": 88.55
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "9d7a377c6315b72bafcede22ec58c52fb2a5adae"
|
|
62
62
|
}
|
package/src/heap.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function makeHeapZone(baseLabel?: string | undefined): import(
|
|
1
|
+
export function makeHeapZone(baseLabel?: string | undefined): import("./types.js").Zone;
|
|
2
2
|
//# sourceMappingURL=heap.d.ts.map
|
package/src/keys.d.ts
CHANGED
package/src/make-once.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function makeOnceKit(debugName: string, stores: import(
|
|
1
|
+
export function makeOnceKit(debugName: string, stores: import("./types.js").Stores, backingStore?: any): {
|
|
2
2
|
makeOnce: <V>(key: string, maker: (key: string) => V) => V;
|
|
3
3
|
wrapProvider: <T extends (key: string, ...rest: unknown[]) => any>(provider: T, labelToKeys?: ((label: string) => string[]) | undefined) => T;
|
|
4
4
|
};
|
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;eA4DvB,CAAC,OAFH,MAAM,
|
|
1
|
+
{"version":3,"file":"make-once.d.ts","sourceRoot":"","sources":["make-once.js"],"names":[],"mappings":"AAYO,uCAJI,MAAM,UACN,OAAO,YAAY,EAAE,MAAM;eA4DvB,CAAC,OAFH,MAAM,SACN,CAAC,GAAG,EAAE,MAAM,KACV,CAAC,AADe,KAChB,CAAC;mBA7BD,CAAC,eAHM,MAAM,WAAW,OAAO,EAAE,KAAK,GAAG,YAGzC,CAAC,AAFF,yBACO,MAAM,KAAK,MAAM,EAAE,kBACzB,CAAC;EA4Cf"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function prepareRevocableMakerKit<U = any>(zone: import(
|
|
1
|
+
export function prepareRevocableMakerKit<U = any>(zone: import("@agoric/base-zone").Zone, uKindName: string, uMethodNames: (string | symbol)[], options?: RevocableKitOptions<any> | undefined): 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":"AAoEO,yCAFwB,CAAC,cAPrB,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":"AAoEO,yCAFwB,CAAC,cAPrB,OAAO,mBAAmB,EAAE,IAAI,aAChC,MAAM,gBAEN,CAAC,MAAM,GAAC,MAAM,CAAC,EAAE,mDAIf,iBAAiB,CAAC,CAAC,CAAC,CAwGhC;8BAjKgC,CAAC;YADpB,CAAC,SAAS,EACS,CAAC,AADP,KAAK,OAAO;;;;mBACzB,CAAC,UAAU,EAAQ,CAAC,AAAN,KAAK,CAAC;;;YAMpB,MAAM,OAAO;;yBAOb,CAAC;aADD,YAAY;;;;eACZ,CAAC;;6BAQa,CAAC;YADf,YAAY,CACE,CAAC,AADD,CAAC;WACf;QAAE,UAAU,EAAE,CAAC,CAAA;KAAE;;gCAkBF,CAAC;;;;;;;;;;;;;;;;kDAAlB,gBAAgB,CAAC,CAAC,CAAC,WAAW,GAAG,EAAE,KAAK,GAAG"}
|
package/src/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type KeyCategories =
|
|
1
|
+
export type KeyCategories = "exoClass" | "exoClassKit" | "exo" | "store" | "zone";
|
|
2
2
|
export type KeyMakers = Record<KeyCategories, (label: string) => string[]>;
|
|
3
3
|
/**
|
|
4
4
|
* A bag of methods for creating defensible objects and
|
|
@@ -39,19 +39,19 @@ export type Stores = {
|
|
|
39
39
|
/**
|
|
40
40
|
* provide a Map-like store named `label` in the zone
|
|
41
41
|
*/
|
|
42
|
-
mapStore: <K, V>(label: string, options?: StoreOptions) =>
|
|
42
|
+
mapStore: <K, V>(label: string, options?: StoreOptions) => MapStore<K, V>;
|
|
43
43
|
/**
|
|
44
44
|
* provide a Set-like store named `label` in the zone
|
|
45
45
|
*/
|
|
46
|
-
setStore: <
|
|
46
|
+
setStore: <K>(label: string, options?: StoreOptions) => SetStore<K>;
|
|
47
47
|
/**
|
|
48
48
|
* provide a WeakMap-like store named `label` in the zone
|
|
49
49
|
*/
|
|
50
|
-
weakMapStore: <
|
|
50
|
+
weakMapStore: <K, V>(label: string, options?: StoreOptions) => WeakMapStore<K, V>;
|
|
51
51
|
/**
|
|
52
52
|
* provide a WeakSet-like store named `label` in the zone
|
|
53
53
|
*/
|
|
54
|
-
weakSetStore: <
|
|
54
|
+
weakSetStore: <K>(label: string, options?: StoreOptions) => WeakSetStore<K>;
|
|
55
55
|
};
|
|
56
56
|
import { makeExo } from '@endo/exo';
|
|
57
57
|
import { defineExoClass } from '@endo/exo';
|
package/src/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":"4BAGc,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;;;;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":"4BAGc,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;;;;a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