@agoric/vat-data 0.5.3-dev-727e4af.0 → 0.5.3-dev-96c9ff5.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 +12 -11
- package/src/exo-utils.js +4 -3
- package/src/vat-data-bindings.js +2 -1
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-96c9ff5.0+96c9ff5",
|
|
4
4
|
"description": "Safe access to VatData global",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/Agoric/agoric-sdk",
|
|
@@ -19,17 +19,18 @@
|
|
|
19
19
|
"author": "Agoric",
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@agoric/assert": "0.6.1-dev-
|
|
23
|
-
"@agoric/base-zone": "0.1.1-dev-
|
|
24
|
-
"@agoric/store": "0.9.3-dev-
|
|
25
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
26
|
-
"@agoric/vow": "0.1.1-dev-
|
|
27
|
-
"@endo/exo": "^1.
|
|
28
|
-
"@endo/patterns": "^1.
|
|
22
|
+
"@agoric/assert": "0.6.1-dev-96c9ff5.0+96c9ff5",
|
|
23
|
+
"@agoric/base-zone": "0.1.1-dev-96c9ff5.0+96c9ff5",
|
|
24
|
+
"@agoric/store": "0.9.3-dev-96c9ff5.0+96c9ff5",
|
|
25
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-96c9ff5.0+96c9ff5",
|
|
26
|
+
"@agoric/vow": "0.1.1-dev-96c9ff5.0+96c9ff5",
|
|
27
|
+
"@endo/exo": "^1.5.0",
|
|
28
|
+
"@endo/patterns": "^1.4.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@endo/
|
|
32
|
-
"@endo/
|
|
31
|
+
"@endo/far": "^1.1.2",
|
|
32
|
+
"@endo/init": "^1.1.2",
|
|
33
|
+
"@endo/ses-ava": "^1.2.2",
|
|
33
34
|
"ava": "^5.3.0",
|
|
34
35
|
"tsd": "^0.30.7"
|
|
35
36
|
},
|
|
@@ -50,5 +51,5 @@
|
|
|
50
51
|
"typeCoverage": {
|
|
51
52
|
"atLeast": 98.74
|
|
52
53
|
},
|
|
53
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "96c9ff577fe14cebeb5a38543ba7f8598ffcd0c7"
|
|
54
55
|
}
|
package/src/exo-utils.js
CHANGED
|
@@ -5,8 +5,9 @@ import { initEmpty } from '@agoric/store';
|
|
|
5
5
|
import { provide, VatData as globalVatData } from './vat-data-bindings.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* @import {InterfaceGuard} from '@endo/patterns'
|
|
9
|
-
* @import {
|
|
8
|
+
* @import {InterfaceGuard} from '@endo/patterns';
|
|
9
|
+
* @import {RemotableObject} from '@endo/pass-style';
|
|
10
|
+
* @import {Baggage, DefineKindOptions, DurableKindHandle, InterfaceGuardKit} from '@agoric/swingset-liveslots';
|
|
10
11
|
*/
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -206,7 +207,7 @@ export const makeExoUtils = VatData => {
|
|
|
206
207
|
* @param {InterfaceGuard | undefined} interfaceGuard
|
|
207
208
|
* @param {I} init
|
|
208
209
|
* @param {T & ThisType<{
|
|
209
|
-
* self: T,
|
|
210
|
+
* self: RemotableObject & T,
|
|
210
211
|
* state: ReturnType<I>
|
|
211
212
|
* }>} methods
|
|
212
213
|
* @param {DefineKindOptions<{
|
package/src/vat-data-bindings.js
CHANGED
|
@@ -9,7 +9,8 @@ import { provideLazy } from '@agoric/store';
|
|
|
9
9
|
let VatDataGlobal;
|
|
10
10
|
if ('VatData' in globalThis) {
|
|
11
11
|
globalThis.VatData || Fail`VatData defined in global as null or undefined`;
|
|
12
|
-
|
|
12
|
+
// XXX types incompatibility
|
|
13
|
+
VatDataGlobal = /** @type {any} */ (globalThis.VatData);
|
|
13
14
|
} else {
|
|
14
15
|
// XXX this module has been known to get imported (transitively) in cases that
|
|
15
16
|
// never use it so we make a version that will satisfy module resolution but
|