@agoric/vats 0.15.2-dev-caaec05.0 → 0.15.2-dev-0752cec.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.
Files changed (2) hide show
  1. package/package.json +17 -17
  2. package/src/types.d.ts +7 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/vats",
3
- "version": "0.15.2-dev-caaec05.0+caaec05",
3
+ "version": "0.15.2-dev-0752cec.0+0752cec",
4
4
  "description": "Agoric's Vat library",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -22,20 +22,20 @@
22
22
  "author": "Agoric",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@agoric/assert": "0.6.1-dev-caaec05.0+caaec05",
26
- "@agoric/cosmic-proto": "0.4.1-dev-caaec05.0+caaec05",
27
- "@agoric/ertp": "0.16.3-dev-caaec05.0+caaec05",
28
- "@agoric/governance": "0.10.4-dev-caaec05.0+caaec05",
29
- "@agoric/internal": "0.3.3-dev-caaec05.0+caaec05",
30
- "@agoric/network": "0.1.1-dev-caaec05.0+caaec05",
31
- "@agoric/notifier": "0.6.3-dev-caaec05.0+caaec05",
32
- "@agoric/store": "0.9.3-dev-caaec05.0+caaec05",
33
- "@agoric/swingset-vat": "0.32.3-dev-caaec05.0+caaec05",
34
- "@agoric/time": "0.3.3-dev-caaec05.0+caaec05",
35
- "@agoric/vat-data": "0.5.3-dev-caaec05.0+caaec05",
36
- "@agoric/vow": "0.1.1-dev-caaec05.0+caaec05",
37
- "@agoric/zoe": "0.26.3-dev-caaec05.0+caaec05",
38
- "@agoric/zone": "0.2.3-dev-caaec05.0+caaec05",
25
+ "@agoric/assert": "0.6.1-dev-0752cec.0+0752cec",
26
+ "@agoric/cosmic-proto": "0.4.1-dev-0752cec.0+0752cec",
27
+ "@agoric/ertp": "0.16.3-dev-0752cec.0+0752cec",
28
+ "@agoric/governance": "0.10.4-dev-0752cec.0+0752cec",
29
+ "@agoric/internal": "0.3.3-dev-0752cec.0+0752cec",
30
+ "@agoric/network": "0.1.1-dev-0752cec.0+0752cec",
31
+ "@agoric/notifier": "0.6.3-dev-0752cec.0+0752cec",
32
+ "@agoric/store": "0.9.3-dev-0752cec.0+0752cec",
33
+ "@agoric/swingset-vat": "0.32.3-dev-0752cec.0+0752cec",
34
+ "@agoric/time": "0.3.3-dev-0752cec.0+0752cec",
35
+ "@agoric/vat-data": "0.5.3-dev-0752cec.0+0752cec",
36
+ "@agoric/vow": "0.1.1-dev-0752cec.0+0752cec",
37
+ "@agoric/zoe": "0.26.3-dev-0752cec.0+0752cec",
38
+ "@agoric/zone": "0.2.3-dev-0752cec.0+0752cec",
39
39
  "@endo/far": "^1.1.2",
40
40
  "@endo/import-bundle": "^1.1.2",
41
41
  "@endo/marshal": "^1.5.0",
@@ -46,7 +46,7 @@
46
46
  "jessie.js": "^0.3.4"
47
47
  },
48
48
  "devDependencies": {
49
- "@agoric/swingset-liveslots": "0.10.3-dev-caaec05.0+caaec05",
49
+ "@agoric/swingset-liveslots": "0.10.3-dev-0752cec.0+0752cec",
50
50
  "@endo/bundle-source": "^3.2.3",
51
51
  "@endo/init": "^1.1.2",
52
52
  "ava": "^5.3.0",
@@ -78,5 +78,5 @@
78
78
  "typeCoverage": {
79
79
  "atLeast": 91.21
80
80
  },
81
- "gitHead": "caaec0575a562eab9786f56584c9bb5d7ac5c747"
81
+ "gitHead": "0752cecf484c94c1f596dcf7cb8ffd8429a8381c"
82
82
  }
package/src/types.d.ts CHANGED
@@ -94,8 +94,7 @@ export type BridgeHandler = {
94
94
  fromBridge: (obj: any) => Promise<unknown>;
95
95
  };
96
96
 
97
- /** An object which handles messages for a specific bridge */
98
- export type ScopedBridgeManager<BridgeId extends BridgeIdValue> = Guarded<{
97
+ export type ScopedBridgeManagerMethods<BridgeId extends BridgeIdValue> = {
99
98
  /**
100
99
  * Optional bridge ID getter. Not part of the production bridge vat but
101
100
  * available in fake bridges as a means for test reflection and for the type
@@ -108,7 +107,12 @@ export type ScopedBridgeManager<BridgeId extends BridgeIdValue> = Guarded<{
108
107
  fromBridge: (obj: any) => Promise<unknown>;
109
108
  initHandler: (handler: Remote<BridgeHandler>) => void;
110
109
  setHandler: (handler: Remote<BridgeHandler>) => void;
111
- }>;
110
+ };
111
+
112
+ /** An object which handles messages for a specific bridge */
113
+ export type ScopedBridgeManager<BridgeId extends BridgeIdValue> = Guarded<
114
+ ScopedBridgeManagerMethods<BridgeId>
115
+ >;
112
116
 
113
117
  /** The object to manage this bridge */
114
118
  export type BridgeManager = {