@agoric/zone 0.2.3-dev-24f7f32.0 → 0.2.3-dev-459998d.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/zone",
3
- "version": "0.2.3-dev-24f7f32.0+24f7f32",
3
+ "version": "0.2.3-dev-459998d.0+459998d",
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",
@@ -27,13 +27,13 @@
27
27
  "author": "Agoric",
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@agoric/base-zone": "0.1.1-dev-24f7f32.0+24f7f32",
31
- "@agoric/vat-data": "0.5.3-dev-24f7f32.0+24f7f32",
30
+ "@agoric/base-zone": "0.1.1-dev-459998d.0+459998d",
31
+ "@agoric/vat-data": "0.5.3-dev-459998d.0+459998d",
32
32
  "@endo/far": "^1.1.1",
33
33
  "@endo/pass-style": "^1.3.1"
34
34
  },
35
35
  "devDependencies": {
36
- "@agoric/swingset-liveslots": "0.10.3-dev-24f7f32.0+24f7f32",
36
+ "@agoric/swingset-liveslots": "0.10.3-dev-459998d.0+459998d",
37
37
  "@endo/patterns": "^1.3.1",
38
38
  "ava": "^5.3.0"
39
39
  },
@@ -56,5 +56,5 @@
56
56
  "typeCoverage": {
57
57
  "atLeast": 96.66
58
58
  },
59
- "gitHead": "24f7f32495a6eda13fd75d18620ab9f7989b5d2e"
59
+ "gitHead": "459998d3944d5ad9d495de146a6322aedcdd06d0"
60
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"durable.d.ts","sourceRoot":"","sources":["durable.js"],"names":[],"mappings":"AAyEO,yCAJI,OAAO,kBAAkB,EAAE,OAAO,mCAEhC,OAAO,GAAG,EAAE,IAAI,CA6C5B"}
1
+ {"version":3,"file":"durable.d.ts","sourceRoot":"","sources":["durable.js"],"names":[],"mappings":"AA0EO,yCAJI,OAAO,kBAAkB,EAAE,OAAO,mCAEhC,OAAO,GAAG,EAAE,IAAI,CA8C5B"}
package/src/durable.js CHANGED
@@ -12,6 +12,7 @@ import {
12
12
  provideDurableSetStore,
13
13
  provideDurableWeakMapStore,
14
14
  provideDurableWeakSetStore,
15
+ watchPromise,
15
16
  } from '@agoric/vat-data';
16
17
 
17
18
  import { agoricVatDataKeys as keys, makeOnceKit } from '@agoric/base-zone';
@@ -106,6 +107,7 @@ export const makeDurableZone = (baggage, baseLabel = 'durableZone') => {
106
107
  subZone,
107
108
 
108
109
  makeOnce,
110
+ watchPromise,
109
111
  detached: attachedStores.detached,
110
112
  isStorable: attachedStores.isStorable,
111
113
 
@@ -1 +1 @@
1
- {"version":3,"file":"virtual.d.ts","sourceRoot":"","sources":["virtual.js"],"names":[],"mappings":"AA6DO,iEAFM,OAAO,GAAG,EAAE,IAAI,CA8B5B"}
1
+ {"version":3,"file":"virtual.d.ts","sourceRoot":"","sources":["virtual.js"],"names":[],"mappings":"AAiEO,iEAFM,OAAO,GAAG,EAAE,IAAI,CA+B5B"}
package/src/virtual.js CHANGED
@@ -11,7 +11,11 @@ import {
11
11
  makeScalarBigWeakSetStore,
12
12
  } from '@agoric/vat-data';
13
13
 
14
- import { agoricVatDataKeys as keys, makeOnceKit } from '@agoric/base-zone';
14
+ import {
15
+ agoricVatDataKeys as keys,
16
+ makeOnceKit,
17
+ watchPromise,
18
+ } from '@agoric/base-zone';
15
19
 
16
20
  const emptyRecord = harden({});
17
21
  const initEmpty = harden(() => emptyRecord);
@@ -79,6 +83,7 @@ export const makeVirtualZone = (baseLabel = 'virtualZone') => {
79
83
  subZone: wrapProvider(makeSubZone),
80
84
 
81
85
  makeOnce,
86
+ watchPromise,
82
87
  detached: detachedVirtualStores.detached,
83
88
  isStorable: detachedVirtualStores.isStorable,
84
89