@agoric/vats 0.15.2-dev-e8c27f8.0 → 0.15.2-dev-0c96ea5.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-e8c27f8.0+e8c27f8",
3
+ "version": "0.15.2-dev-0c96ea5.0+0c96ea5",
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-e8c27f8.0+e8c27f8",
26
- "@agoric/ertp": "0.16.3-dev-e8c27f8.0+e8c27f8",
27
- "@agoric/governance": "0.10.4-dev-e8c27f8.0+e8c27f8",
28
- "@agoric/internal": "0.3.3-dev-e8c27f8.0+e8c27f8",
29
- "@agoric/network": "0.1.1-dev-e8c27f8.0+e8c27f8",
30
- "@agoric/notifier": "0.6.3-dev-e8c27f8.0+e8c27f8",
31
- "@agoric/store": "0.9.3-dev-e8c27f8.0+e8c27f8",
32
- "@agoric/swingset-vat": "0.32.3-dev-e8c27f8.0+e8c27f8",
33
- "@agoric/time": "0.3.3-dev-e8c27f8.0+e8c27f8",
34
- "@agoric/vat-data": "0.5.3-dev-e8c27f8.0+e8c27f8",
35
- "@agoric/vow": "0.1.1-dev-e8c27f8.0+e8c27f8",
36
- "@agoric/zoe": "0.26.3-dev-e8c27f8.0+e8c27f8",
37
- "@agoric/zone": "0.2.3-dev-e8c27f8.0+e8c27f8",
25
+ "@agoric/cosmic-proto": "0.4.1-dev-0c96ea5.0+0c96ea5",
26
+ "@agoric/ertp": "0.16.3-dev-0c96ea5.0+0c96ea5",
27
+ "@agoric/governance": "0.10.4-dev-0c96ea5.0+0c96ea5",
28
+ "@agoric/internal": "0.3.3-dev-0c96ea5.0+0c96ea5",
29
+ "@agoric/network": "0.1.1-dev-0c96ea5.0+0c96ea5",
30
+ "@agoric/notifier": "0.6.3-dev-0c96ea5.0+0c96ea5",
31
+ "@agoric/store": "0.9.3-dev-0c96ea5.0+0c96ea5",
32
+ "@agoric/swingset-vat": "0.32.3-dev-0c96ea5.0+0c96ea5",
33
+ "@agoric/time": "0.3.3-dev-0c96ea5.0+0c96ea5",
34
+ "@agoric/vat-data": "0.5.3-dev-0c96ea5.0+0c96ea5",
35
+ "@agoric/vow": "0.1.1-dev-0c96ea5.0+0c96ea5",
36
+ "@agoric/zoe": "0.26.3-dev-0c96ea5.0+0c96ea5",
37
+ "@agoric/zone": "0.2.3-dev-0c96ea5.0+0c96ea5",
38
38
  "@endo/errors": "^1.2.2",
39
39
  "@endo/far": "^1.1.2",
40
40
  "@endo/import-bundle": "^1.1.2",
@@ -46,7 +46,7 @@
46
46
  "jessie.js": "^0.3.4"
47
47
  },
48
48
  "devDependencies": {
49
- "@agoric/swingset-liveslots": "0.10.3-dev-e8c27f8.0+e8c27f8",
49
+ "@agoric/swingset-liveslots": "0.10.3-dev-0c96ea5.0+0c96ea5",
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.41
80
80
  },
81
- "gitHead": "e8c27f891217a42192a2e3c46edaa22010439645"
81
+ "gitHead": "0c96ea5a63bb001d5f11e99a1fa58de4cce475c1"
82
82
  }
@@ -177,16 +177,16 @@ export function buildRootObject(vatPowers: VatPowers & {
177
177
  coreProposalCodeSteps?: string[];
178
178
  }, baggage: import("@agoric/vat-data").Baggage): {
179
179
  bootstrap: (vats: SwingsetVats, devices: SoloDevices | ChainDevices) => Promise<void>;
180
- consumeItem: (name: any) => Promise<unknown>;
180
+ consumeItem: (name: string) => Promise<unknown>;
181
181
  produceItem: (name: any, resolution: any) => void;
182
- resetItem: (name: any) => void;
182
+ resetItem: (name: string) => void;
183
183
  awaitVatObject: (presence: any, path?: any[]) => Promise<any>;
184
184
  snapshotStore: <K, V>(store: MapStore<K, V>) => [K, V][];
185
185
  } & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
186
186
  bootstrap: (vats: SwingsetVats, devices: SoloDevices | ChainDevices) => Promise<void>;
187
- consumeItem: (name: any) => Promise<unknown>;
187
+ consumeItem: (name: string) => Promise<unknown>;
188
188
  produceItem: (name: any, resolution: any) => void;
189
- resetItem: (name: any) => void;
189
+ resetItem: (name: string) => void;
190
190
  awaitVatObject: (presence: any, path?: any[]) => Promise<any>;
191
191
  snapshotStore: <K, V>(store: MapStore<K, V>) => [K, V][];
192
192
  }>;
@@ -8,16 +8,16 @@ export function buildRootObject(vatPowers: VatPowers & {
8
8
  coreProposalCodeSteps?: string[];
9
9
  }): {
10
10
  bootstrap: (vats: SwingsetVats, devices: SoloDevices | ChainDevices) => Promise<void>;
11
- consumeItem: (name: any) => Promise<unknown>;
11
+ consumeItem: (name: string) => Promise<unknown>;
12
12
  produceItem: (name: any, resolution: any) => void;
13
- resetItem: (name: any) => void;
13
+ resetItem: (name: string) => void;
14
14
  awaitVatObject: (presence: any, path?: any[]) => Promise<any>;
15
15
  snapshotStore: <K, V>(store: MapStore<K, V>) => [K, V][];
16
16
  } & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
17
17
  bootstrap: (vats: SwingsetVats, devices: SoloDevices | ChainDevices) => Promise<void>;
18
- consumeItem: (name: any) => Promise<unknown>;
18
+ consumeItem: (name: string) => Promise<unknown>;
19
19
  produceItem: (name: any, resolution: any) => void;
20
- resetItem: (name: any) => void;
20
+ resetItem: (name: string) => void;
21
21
  awaitVatObject: (presence: any, path?: any[]) => Promise<any>;
22
22
  snapshotStore: <K, V>(store: MapStore<K, V>) => [K, V][];
23
23
  }>;
@@ -7,16 +7,16 @@ export function buildRootObject(vatPowers: VatPowers & {
7
7
  coreProposalCodeSteps?: string[];
8
8
  }): {
9
9
  bootstrap: (vats: SwingsetVats, devices: SoloDevices | ChainDevices) => Promise<void>;
10
- consumeItem: (name: any) => Promise<unknown>;
10
+ consumeItem: (name: string) => Promise<unknown>;
11
11
  produceItem: (name: any, resolution: any) => void;
12
- resetItem: (name: any) => void;
12
+ resetItem: (name: string) => void;
13
13
  awaitVatObject: (presence: any, path?: any[]) => Promise<any>;
14
14
  snapshotStore: <K, V>(store: MapStore<K, V>) => [K, V][];
15
15
  } & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
16
16
  bootstrap: (vats: SwingsetVats, devices: SoloDevices | ChainDevices) => Promise<void>;
17
- consumeItem: (name: any) => Promise<unknown>;
17
+ consumeItem: (name: string) => Promise<unknown>;
18
18
  produceItem: (name: any, resolution: any) => void;
19
- resetItem: (name: any) => void;
19
+ resetItem: (name: string) => void;
20
20
  awaitVatObject: (presence: any, path?: any[]) => Promise<any>;
21
21
  snapshotStore: <K, V>(store: MapStore<K, V>) => [K, V][];
22
22
  }>;
@@ -9,9 +9,11 @@ export function makeBootstrap(vatPowers: import("@agoric/swingset-vat").VatPower
9
9
  * @param {SoloDevices | ChainDevices} devices
10
10
  */
11
11
  bootstrap: (vats: SwingsetVats, devices: SoloDevices | ChainDevices) => Promise<void>;
12
- consumeItem: (name: any) => Promise<unknown>;
12
+ /** @param {string} name } */
13
+ consumeItem: (name: string) => Promise<unknown>;
13
14
  produceItem: (name: any, resolution: any) => void;
14
- resetItem: (name: any) => void;
15
+ /** @param {string} name } */
16
+ resetItem: (name: string) => void;
15
17
  awaitVatObject: (presence: any, path?: any[]) => Promise<any>;
16
18
  /**
17
19
  * @template K, V
@@ -26,9 +28,11 @@ export function makeBootstrap(vatPowers: import("@agoric/swingset-vat").VatPower
26
28
  * @param {SoloDevices | ChainDevices} devices
27
29
  */
28
30
  bootstrap: (vats: SwingsetVats, devices: SoloDevices | ChainDevices) => Promise<void>;
29
- consumeItem: (name: any) => Promise<unknown>;
31
+ /** @param {string} name } */
32
+ consumeItem: (name: string) => Promise<unknown>;
30
33
  produceItem: (name: any, resolution: any) => void;
31
- resetItem: (name: any) => void;
34
+ /** @param {string} name } */
35
+ resetItem: (name: string) => void;
32
36
  awaitVatObject: (presence: any, path?: any[]) => Promise<any>;
33
37
  /**
34
38
  * @template K, V
@@ -1 +1 @@
1
- {"version":3,"file":"lib-boot.d.ts","sourceRoot":"","sources":["lib-boot.js"],"names":[],"mappings":"AAyDO,yCAVI,OAAO,sBAAsB,EAAE,SAAS,GAAG;IACrD,CAAK,EAAE,MAAM,CAAC;IACd,MAAU,EAAE,CAAC,GAAG,KAAA,KAAK,IAAI,CAAC;CACvB,iBACO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,gBACvB,iBAAiB,aACjB,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,WAC5B,WAAW;IAoHlB;;;;;OAKG;sBAFQ,YAAY,WACZ,WAAW,GAAG,YAAY;;;;;IAoCrC;;;OAGG;oBAFU,CAAC,EAAE,CAAC,SACN,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC;;IA1CzB;;;;;OAKG;sBAFQ,YAAY,WACZ,WAAW,GAAG,YAAY;;;;;IAoCrC;;;OAGG;oBAFU,CAAC,EAAE,CAAC,SACN,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC;GAK5B;sCA9MY,IAAI,GACV,MAAM,GACN;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,uBAAuB,GAAG,SAAS,CAAA;CAAE;;;;;;;;;;;;;;gCAgBhD,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC;2BAIvC,CAAC,MAAM,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC;8BAE5C,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;0BAEvB;IAAE,KAAK,EAAE,cAAc,YAA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E,GAAG,MAAM,CAC3D,MAAU,EACV,MAAU,CAAC,MAAM,EAAE,GAAG,CAAC,CACpB;kCAoLU,OAAO,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -187,6 +187,7 @@ export const makeBootstrap = (
187
187
  throw e;
188
188
  });
189
189
  },
190
+ /** @param {string} name } */
190
191
  consumeItem: name => {
191
192
  assert.typeof(name, 'string');
192
193
  return consume[name];
@@ -195,6 +196,7 @@ export const makeBootstrap = (
195
196
  assert.typeof(name, 'string');
196
197
  produce[name].resolve(resolution);
197
198
  },
199
+ /** @param {string} name } */
198
200
  resetItem: name => {
199
201
  assert.typeof(name, 'string');
200
202
  produce[name].reset();
@@ -371,8 +371,10 @@ type ChainBootstrapSpaceT = {
371
371
  namesByAddress: import('../types.js').NameHub;
372
372
  namesByAddressAdmin: import('../types.js').NamesByAddressAdmin;
373
373
  networkVat: NetworkVat;
374
+ orchestration?: CosmosInterchainService;
374
375
  pegasusConnections: import('@agoric/vats').NameHubKit;
375
376
  pegasusConnectionsAdmin: import('@agoric/vats').NameAdmin;
377
+ powerStore: MapStore;
376
378
  priceAuthorityVat: Awaited<PriceAuthorityVat>;
377
379
  priceAuthority: import('@agoric/zoe/tools/types.js').PriceAuthority;
378
380
  priceAuthorityAdmin: import('@agoric/vats/src/priceAuthorityRegistry').PriceAuthorityRegistryAdmin;