@agoric/vat-data 0.5.3-dev-d355030.0 → 0.5.3-dev-386dc7c.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 +7 -7
- package/src/exo-utils.js +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/vat-data",
|
|
3
|
-
"version": "0.5.3-dev-
|
|
3
|
+
"version": "0.5.3-dev-386dc7c.0+386dc7c",
|
|
4
4
|
"description": "Safe access to VatData global",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/Agoric/agoric-sdk",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"author": "Agoric",
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@agoric/assert": "0.6.1-dev-
|
|
23
|
-
"@agoric/internal": "0.3.3-dev-
|
|
24
|
-
"@agoric/store": "0.9.3-dev-
|
|
25
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
22
|
+
"@agoric/assert": "0.6.1-dev-386dc7c.0+386dc7c",
|
|
23
|
+
"@agoric/internal": "0.3.3-dev-386dc7c.0+386dc7c",
|
|
24
|
+
"@agoric/store": "0.9.3-dev-386dc7c.0+386dc7c",
|
|
25
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-386dc7c.0+386dc7c"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@endo/init": "^0.5.
|
|
28
|
+
"@endo/init": "^0.5.59",
|
|
29
29
|
"ava": "^5.3.0",
|
|
30
30
|
"tsd": "^0.28.1"
|
|
31
31
|
},
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=14.15.0"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "386dc7cf179bf610841dec4a0b1f55d5d5c50878"
|
|
44
44
|
}
|
package/src/exo-utils.js
CHANGED
|
@@ -6,7 +6,7 @@ import { provide, VatData as globalVatData } from './vat-data-bindings.js';
|
|
|
6
6
|
|
|
7
7
|
/** @typedef {import('@endo/patterns').MethodGuard} MethodGuard */
|
|
8
8
|
/**
|
|
9
|
-
* @template {Record<
|
|
9
|
+
* @template {Record<PropertyKey, MethodGuard>} [T=Record<PropertyKey, MethodGuard>]
|
|
10
10
|
* @typedef {import('@endo/patterns').InterfaceGuard<T>} InterfaceGuard
|
|
11
11
|
*/
|
|
12
12
|
/** @template L,R @typedef {import('@endo/eventual-send').RemotableBrand<L, R>} RemotableBrand */
|
|
@@ -113,7 +113,7 @@ export const makeExoUtils = VatData => {
|
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* @template {(...args: any) => any} I init state function
|
|
116
|
-
* @template {Record<string, Record<
|
|
116
|
+
* @template {Record<string, Record<PropertyKey, CallableFunction>>} T facets
|
|
117
117
|
* @param {string} tag
|
|
118
118
|
* @param {InterfaceGuardKit | undefined} interfaceGuardKit
|
|
119
119
|
* @param {I} init
|
|
@@ -143,7 +143,7 @@ export const makeExoUtils = VatData => {
|
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
145
|
* @template {(...args: any) => any} I init state function
|
|
146
|
-
* @template {Record<
|
|
146
|
+
* @template {Record<PropertyKey, CallableFunction>} T methods
|
|
147
147
|
* @param {DurableKindHandle} kindHandle
|
|
148
148
|
* @param {InterfaceGuard | undefined} interfaceGuard
|
|
149
149
|
* @param {I} init
|
|
@@ -173,7 +173,7 @@ export const makeExoUtils = VatData => {
|
|
|
173
173
|
|
|
174
174
|
/**
|
|
175
175
|
* @template {(...args: any) => any} I init state function
|
|
176
|
-
* @template {Record<string, Record<
|
|
176
|
+
* @template {Record<string, Record<PropertyKey, CallableFunction>>} T facets
|
|
177
177
|
* @param {DurableKindHandle} kindHandle
|
|
178
178
|
* @param {InterfaceGuardKit | undefined} interfaceGuardKit
|
|
179
179
|
* @param {I} init
|
|
@@ -203,7 +203,7 @@ export const makeExoUtils = VatData => {
|
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
205
|
* @template {(...args: any) => any} I init state function
|
|
206
|
-
* @template {Record<
|
|
206
|
+
* @template {Record<PropertyKey, CallableFunction>} T methods
|
|
207
207
|
* @param {Baggage} baggage
|
|
208
208
|
* @param {string} kindName
|
|
209
209
|
* @param {InterfaceGuard | undefined} interfaceGuard
|
|
@@ -237,7 +237,7 @@ export const makeExoUtils = VatData => {
|
|
|
237
237
|
|
|
238
238
|
/**
|
|
239
239
|
* @template {(...args: any) => any} I init state function
|
|
240
|
-
* @template {Record<string, Record<
|
|
240
|
+
* @template {Record<string, Record<PropertyKey, CallableFunction>>} T facets
|
|
241
241
|
* @param {Baggage} baggage
|
|
242
242
|
* @param {string} kindName
|
|
243
243
|
* @param {InterfaceGuardKit | undefined} interfaceGuardKit
|
|
@@ -270,7 +270,7 @@ export const makeExoUtils = VatData => {
|
|
|
270
270
|
harden(prepareExoClassKit);
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
|
-
* @template {Record<
|
|
273
|
+
* @template {Record<PropertyKey, CallableFunction>} M methods
|
|
274
274
|
* @param {Baggage} baggage
|
|
275
275
|
* @param {string} kindName
|
|
276
276
|
* @param {InterfaceGuard | undefined} interfaceGuard
|
|
@@ -299,7 +299,7 @@ export const makeExoUtils = VatData => {
|
|
|
299
299
|
harden(prepareExo);
|
|
300
300
|
|
|
301
301
|
/**
|
|
302
|
-
* @template {Record<
|
|
302
|
+
* @template {Record<PropertyKey, CallableFunction>} M methods
|
|
303
303
|
* @deprecated Use prepareExo instead.
|
|
304
304
|
* @param {Baggage} baggage
|
|
305
305
|
* @param {string} kindName
|