@agoric/vats 0.15.2-dev-f80bb26.0 → 0.15.2-dev-45185de.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/vats",
3
- "version": "0.15.2-dev-f80bb26.0+f80bb26",
3
+ "version": "0.15.2-dev-45185de.0+45185de",
4
4
  "description": "Agoric's Vat library",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -22,19 +22,19 @@
22
22
  "author": "Agoric",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@agoric/cosmic-proto": "0.4.1-dev-f80bb26.0+f80bb26",
26
- "@agoric/ertp": "0.16.3-dev-f80bb26.0+f80bb26",
27
- "@agoric/governance": "0.10.4-dev-f80bb26.0+f80bb26",
28
- "@agoric/internal": "0.3.3-dev-f80bb26.0+f80bb26",
29
- "@agoric/network": "0.1.1-dev-f80bb26.0+f80bb26",
30
- "@agoric/notifier": "0.6.3-dev-f80bb26.0+f80bb26",
31
- "@agoric/store": "0.9.3-dev-f80bb26.0+f80bb26",
32
- "@agoric/swingset-vat": "0.32.3-dev-f80bb26.0+f80bb26",
33
- "@agoric/time": "0.3.3-dev-f80bb26.0+f80bb26",
34
- "@agoric/vat-data": "0.5.3-dev-f80bb26.0+f80bb26",
35
- "@agoric/vow": "0.1.1-dev-f80bb26.0+f80bb26",
36
- "@agoric/zoe": "0.26.3-dev-f80bb26.0+f80bb26",
37
- "@agoric/zone": "0.2.3-dev-f80bb26.0+f80bb26",
25
+ "@agoric/cosmic-proto": "0.4.1-dev-45185de.0+45185de",
26
+ "@agoric/ertp": "0.16.3-dev-45185de.0+45185de",
27
+ "@agoric/governance": "0.10.4-dev-45185de.0+45185de",
28
+ "@agoric/internal": "0.3.3-dev-45185de.0+45185de",
29
+ "@agoric/network": "0.1.1-dev-45185de.0+45185de",
30
+ "@agoric/notifier": "0.6.3-dev-45185de.0+45185de",
31
+ "@agoric/store": "0.9.3-dev-45185de.0+45185de",
32
+ "@agoric/swingset-vat": "0.32.3-dev-45185de.0+45185de",
33
+ "@agoric/time": "0.3.3-dev-45185de.0+45185de",
34
+ "@agoric/vat-data": "0.5.3-dev-45185de.0+45185de",
35
+ "@agoric/vow": "0.1.1-dev-45185de.0+45185de",
36
+ "@agoric/zoe": "0.26.3-dev-45185de.0+45185de",
37
+ "@agoric/zone": "0.2.3-dev-45185de.0+45185de",
38
38
  "@endo/errors": "^1.2.10",
39
39
  "@endo/far": "^1.1.11",
40
40
  "@endo/import-bundle": "^1.4.0",
@@ -47,7 +47,7 @@
47
47
  "jessie.js": "^0.3.4"
48
48
  },
49
49
  "devDependencies": {
50
- "@agoric/swingset-liveslots": "0.10.3-dev-f80bb26.0+f80bb26",
50
+ "@agoric/swingset-liveslots": "0.10.3-dev-45185de.0+45185de",
51
51
  "@endo/bundle-source": "^4.0.0",
52
52
  "@endo/init": "^1.1.9",
53
53
  "ava": "^5.3.0",
@@ -77,7 +77,7 @@
77
77
  "workerThreads": false
78
78
  },
79
79
  "typeCoverage": {
80
- "atLeast": 90.43
80
+ "atLeast": 90.49
81
81
  },
82
- "gitHead": "f80bb26afd3941d14a34ff01ecdfa29913ee4e47"
82
+ "gitHead": "45185de59c988db73d28ae5561f37341f00dd3df"
83
83
  }
@@ -1,18 +1,13 @@
1
1
  // Ambient type defs. Cannot use top-level import() because that would turn it into a module.
2
2
 
3
- /** This type conflicts with packages/SwingSet/src/vats/plugin-manager.js */
4
- type Device<T> = 'Device' & { __deviceType__: T };
3
+ type Device<T> = import('@agoric/swingset-vat/src/types-external.js').Device<T>;
5
4
 
6
- /** (approximately) */
7
- type DProxy<T = any> = (target: Device<T>) => T;
5
+ type DProxy = import('@agoric/swingset-vat/src/types-external.js').DProxy;
8
6
 
9
7
  type BootDevices<T> = { vatPowers: { D: DProxy }; devices: T };
10
8
 
11
- type BridgeDevice = Device<
12
- ReturnType<
13
- typeof import('@agoric/swingset-vat/src/devices/bridge/device-bridge.js').buildRootDeviceNode
14
- >
15
- >;
9
+ type BridgeDevice =
10
+ import('@agoric/swingset-vat/src/devices/bridge/device-bridge.js').BridgeDevice;
16
11
 
17
12
  type CommandDevice = Device<
18
13
  ReturnType<
@@ -32,11 +27,8 @@ type PluginDevice = Device<
32
27
  >
33
28
  >;
34
29
 
35
- type TimerDevice = Device<
36
- ReturnType<
37
- typeof import('@agoric/swingset-vat/src/devices/timer/device-timer.js').buildRootDeviceNode
38
- >
39
- >;
30
+ type TimerDevice =
31
+ import('@agoric/swingset-vat/src/devices/timer/device-timer.js').TimerDevice;
40
32
 
41
33
  type VatAdminDevice = Device<
42
34
  import('@agoric/swingset-vat/src/devices/vat-admin/device-vat-admin.js').VatAdminRootDeviceNode
@@ -86,15 +78,15 @@ type SoloDevices = {
86
78
  vatAdmin: VatAdminDevice;
87
79
  mailbox: MailboxDevice;
88
80
  command: CommandDevice;
89
- timer: TimerDevice;
81
+ timer: import('@agoric/swingset-vat/src/devices/timer/device-timer.js').TimerDevice;
90
82
  plugin: PluginDevice;
91
83
  };
92
84
 
93
85
  type ChainDevices = {
94
86
  vatAdmin: VatAdminDevice;
95
87
  mailbox: MailboxDevice;
96
- timer: TimerDevice;
97
- bridge?: BridgeDevice;
88
+ timer: import('@agoric/swingset-vat/src/devices/timer/device-timer.js').TimerDevice;
89
+ bridge?: import('@agoric/swingset-vat/src/devices/bridge/device-bridge.js').BridgeDevice;
98
90
  };
99
91
 
100
92
  type ClientProvider = {
@@ -10,7 +10,6 @@ export namespace vatRoots {
10
10
  export { zoeRoot as zoe };
11
11
  }
12
12
  export function noop(): void;
13
- /** @type {DProxy} */
14
13
  export const mockDProxy: DProxy;
15
14
  export function makeMock(log: any): {
16
15
  devices: {
@@ -1 +1 @@
1
- {"version":3,"file":"boot-test-utils.d.ts","sourceRoot":"","sources":["boot-test-utils.js"],"names":[],"mappings":";;;;;;;;;;;AAkCO,6BAAqB;AAE5B,qBAAqB;AACrB,yBADW,MAAM,CACgB;AAE1B;;;;;;;iBAGmB,GAAG;iBACH,GAAG;eAGL,GAAG;gBACF,GAAG;;;eAIJ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BvB;AAEG;;;EAoEN;AAEM,iDAON;mDAlJkD,2BAA2B;4CAClC,oBAAoB;6CACnB,qBAAqB;2CACvB,mBAAmB;6CACjB,qBAAqB;+CACnB,uBAAuB;sDAChB,8BAA8B;oDAChC,4BAA4B;2CACrC,mBAAmB"}
1
+ {"version":3,"file":"boot-test-utils.d.ts","sourceRoot":"","sources":["boot-test-utils.js"],"names":[],"mappings":";;;;;;;;;;;AAkCO,6BAAqB;AAE5B,yBAAqC,MAAM,CAAc;AAElD;;;;;;;iBAGmB,GAAG;iBACH,GAAG;eAGL,GAAG;gBACF,GAAG;;;eAIJ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BvB;AAEG;;;EAoEN;AAEM,iDAON;mDAjJkD,2BAA2B;4CAClC,oBAAoB;6CACnB,qBAAqB;2CACvB,mBAAmB;6CACjB,qBAAqB;+CACnB,uBAAuB;sDAChB,8BAA8B;oDAChC,4BAA4B;2CACrC,mBAAmB"}
@@ -34,8 +34,7 @@ export const vatRoots = {
34
34
 
35
35
  export const noop = () => {};
36
36
 
37
- /** @type {DProxy} */
38
- export const mockDProxy = d => d;
37
+ export const mockDProxy = /** @type {DProxy} */ (d => d);
39
38
 
40
39
  export const makeMock = log =>
41
40
  harden({