@agoric/zone 0.2.3-dev-f20cc05.0 → 0.2.3-dev-e68f280.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 +4 -4
- package/src/make-once.js +1 -1
- package/test/prepare-test-env-ava.js +5 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/zone",
|
|
3
|
-
"version": "0.2.3-dev-
|
|
3
|
+
"version": "0.2.3-dev-e68f280.0+e68f280",
|
|
4
4
|
"description": "Allocation zone abstraction for objects on the heap, persistent stores, etc.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/Agoric/agoric-sdk",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"author": "Agoric",
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
28
|
+
"@agoric/vat-data": "0.5.3-dev-e68f280.0+e68f280",
|
|
29
29
|
"@endo/exo": "^0.2.3",
|
|
30
30
|
"@endo/far": "^0.2.19",
|
|
31
31
|
"@endo/pass-style": "^0.1.4"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@agoric/swingset-
|
|
34
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-e68f280.0+e68f280",
|
|
35
35
|
"@endo/patterns": "^0.2.3",
|
|
36
36
|
"ava": "^5.3.0"
|
|
37
37
|
},
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"timeout": "20m",
|
|
49
49
|
"workerThreads": false
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "e68f2805dde79871d1421e50c60f08e854e1851d"
|
|
52
52
|
}
|
package/src/make-once.js
CHANGED
|
@@ -8,7 +8,7 @@ harden(defaultLabelToKeys);
|
|
|
8
8
|
/**
|
|
9
9
|
* @param {string} debugName Only used internally for diagnostics, not available to user code
|
|
10
10
|
* @param {import('.').Stores} stores
|
|
11
|
-
* @param {import('@agoric/
|
|
11
|
+
* @param {import('@agoric/swingset-liveslots').MapStore<string, any>} [backingStore]
|
|
12
12
|
*/
|
|
13
13
|
export const makeOnceKit = (debugName, stores, backingStore = undefined) => {
|
|
14
14
|
// We need a detached setStore so that it isn't persisted as part of the zone.
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import '@agoric/swingset-
|
|
2
|
-
import { reincarnate } from '@agoric/swingset-
|
|
1
|
+
import '@agoric/swingset-liveslots/tools/prepare-test-env.js';
|
|
2
|
+
import { reincarnate } from '@agoric/swingset-liveslots/tools/setup-vat-data.js';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
import test from 'ava';
|
|
5
|
+
|
|
6
|
+
export { test };
|
|
5
7
|
|
|
6
8
|
/** @type {ReturnType<typeof reincarnate>} */
|
|
7
9
|
let incarnation;
|