@agoric/vats 0.15.2-dev-0f94e34.0 → 0.15.2-dev-303a9f2.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 +18 -18
- package/src/core/types-ambient.d.ts +30 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/vats",
|
|
3
|
-
"version": "0.15.2-dev-
|
|
3
|
+
"version": "0.15.2-dev-303a9f2.0+303a9f2",
|
|
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-
|
|
26
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
27
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
28
|
-
"@agoric/governance": "0.10.4-dev-
|
|
29
|
-
"@agoric/internal": "0.3.3-dev-
|
|
30
|
-
"@agoric/network": "0.1.1-dev-
|
|
31
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
32
|
-
"@agoric/store": "0.9.3-dev-
|
|
33
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
34
|
-
"@agoric/time": "0.3.3-dev-
|
|
35
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
36
|
-
"@agoric/vow": "0.1.1-dev-
|
|
37
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
38
|
-
"@agoric/zone": "0.2.3-dev-
|
|
25
|
+
"@agoric/assert": "0.6.1-dev-303a9f2.0+303a9f2",
|
|
26
|
+
"@agoric/cosmic-proto": "0.4.1-dev-303a9f2.0+303a9f2",
|
|
27
|
+
"@agoric/ertp": "0.16.3-dev-303a9f2.0+303a9f2",
|
|
28
|
+
"@agoric/governance": "0.10.4-dev-303a9f2.0+303a9f2",
|
|
29
|
+
"@agoric/internal": "0.3.3-dev-303a9f2.0+303a9f2",
|
|
30
|
+
"@agoric/network": "0.1.1-dev-303a9f2.0+303a9f2",
|
|
31
|
+
"@agoric/notifier": "0.6.3-dev-303a9f2.0+303a9f2",
|
|
32
|
+
"@agoric/store": "0.9.3-dev-303a9f2.0+303a9f2",
|
|
33
|
+
"@agoric/swingset-vat": "0.32.3-dev-303a9f2.0+303a9f2",
|
|
34
|
+
"@agoric/time": "0.3.3-dev-303a9f2.0+303a9f2",
|
|
35
|
+
"@agoric/vat-data": "0.5.3-dev-303a9f2.0+303a9f2",
|
|
36
|
+
"@agoric/vow": "0.1.1-dev-303a9f2.0+303a9f2",
|
|
37
|
+
"@agoric/zoe": "0.26.3-dev-303a9f2.0+303a9f2",
|
|
38
|
+
"@agoric/zone": "0.2.3-dev-303a9f2.0+303a9f2",
|
|
39
39
|
"@endo/base64": "^1.0.5",
|
|
40
40
|
"@endo/far": "^1.1.2",
|
|
41
41
|
"@endo/import-bundle": "^1.1.2",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"jessie.js": "^0.3.4"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
50
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-303a9f2.0+303a9f2",
|
|
51
51
|
"@endo/bundle-source": "^3.2.3",
|
|
52
52
|
"@endo/init": "^1.1.2",
|
|
53
53
|
"ava": "^5.3.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"workerThreads": false
|
|
80
80
|
},
|
|
81
81
|
"typeCoverage": {
|
|
82
|
-
"atLeast": 91.
|
|
82
|
+
"atLeast": 91.26
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "303a9f20404106fe9c09befbd728ed7a20ccf7e0"
|
|
85
85
|
}
|
|
@@ -201,10 +201,36 @@ type WellKnownName = {
|
|
|
201
201
|
uiConfig: 'VaultFactory';
|
|
202
202
|
};
|
|
203
203
|
|
|
204
|
-
type ContractInstallationPromises<
|
|
204
|
+
type ContractInstallationPromises<
|
|
205
|
+
StartFns extends Record<WellKnownNames['installation'], ContractStartFn>,
|
|
206
|
+
> = {
|
|
205
207
|
[Property in keyof StartFns]: Promise<Installation<StartFns[Property]>>;
|
|
206
208
|
};
|
|
207
209
|
|
|
210
|
+
type ContractInstancePromises<
|
|
211
|
+
StartFns extends Record<WellKnownNames['instance'], ContractStartFn>,
|
|
212
|
+
> = {
|
|
213
|
+
[Property in keyof StartFns]: Promise<
|
|
214
|
+
import('@agoric/zoe/src/zoeService/utils.js').Instance<StartFns[Property]>
|
|
215
|
+
>;
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
type WellKnownContracts = {
|
|
219
|
+
auctioneer: typeof import('@agoric/inter-protocol/src/auction/auctioneer.js').start;
|
|
220
|
+
centralSupply: typeof import('@agoric/vats/src/centralSupply.js').start;
|
|
221
|
+
committee: typeof import('@agoric/governance/src/committee.js').start;
|
|
222
|
+
contractGovernor: typeof import('@agoric/governance/src/contractGovernor.js').start;
|
|
223
|
+
econCommitteeCharter: typeof import('@agoric/inter-protocol/src/econCommitteeCharter.js').start;
|
|
224
|
+
feeDistributor: typeof import('@agoric/inter-protocol/src/feeDistributor.js').start;
|
|
225
|
+
mintHolder: typeof import('@agoric/vats/src/mintHolder.js').start;
|
|
226
|
+
psm: typeof import('@agoric/inter-protocol/src/psm/psm.js').start;
|
|
227
|
+
provisionPool: typeof import('@agoric/inter-protocol/src/provisionPool.js').start;
|
|
228
|
+
reserve: typeof import('@agoric/inter-protocol/src/reserve/assetReserve.js').start;
|
|
229
|
+
VaultFactory: typeof import('@agoric/inter-protocol/src/vaultFactory/vaultFactory.js').start;
|
|
230
|
+
// no typeof because walletFactory is exporting `start` as a type
|
|
231
|
+
walletFactory: import('@agoric/smart-wallet/src/walletFactory.js').start;
|
|
232
|
+
};
|
|
233
|
+
|
|
208
234
|
type WellKnownSpaces = {
|
|
209
235
|
issuer: {
|
|
210
236
|
produce: Record<WellKnownName['issuer'], Producer<Issuer>>;
|
|
@@ -233,25 +259,12 @@ type WellKnownSpaces = {
|
|
|
233
259
|
WellKnownName['installation'],
|
|
234
260
|
Promise<Installation<unknown>>
|
|
235
261
|
> &
|
|
236
|
-
ContractInstallationPromises<
|
|
237
|
-
auctioneer: typeof import('@agoric/inter-protocol/src/auction/auctioneer.js').start;
|
|
238
|
-
centralSupply: typeof import('@agoric/vats/src/centralSupply.js').start;
|
|
239
|
-
committee: typeof import('@agoric/governance/src/committee.js').start;
|
|
240
|
-
contractGovernor: typeof import('@agoric/governance/src/contractGovernor.js').start;
|
|
241
|
-
econCommitteeCharter: typeof import('@agoric/inter-protocol/src/econCommitteeCharter.js').start;
|
|
242
|
-
feeDistributor: typeof import('@agoric/inter-protocol/src/feeDistributor.js').start;
|
|
243
|
-
mintHolder: typeof import('@agoric/vats/src/mintHolder.js').start;
|
|
244
|
-
psm: typeof import('@agoric/inter-protocol/src/psm/psm.js').start;
|
|
245
|
-
provisionPool: typeof import('@agoric/inter-protocol/src/provisionPool.js').start;
|
|
246
|
-
reserve: typeof import('@agoric/inter-protocol/src/reserve/assetReserve.js').start;
|
|
247
|
-
VaultFactory: typeof import('@agoric/inter-protocol/src/vaultFactory/vaultFactory.js').start;
|
|
248
|
-
// no typeof because walletFactory is exporting `start` as a type
|
|
249
|
-
walletFactory: import('@agoric/smart-wallet/src/walletFactory.js').start;
|
|
250
|
-
}>;
|
|
262
|
+
ContractInstallationPromises<WellKnownContracts>;
|
|
251
263
|
};
|
|
252
264
|
instance: {
|
|
253
265
|
produce: Record<WellKnownName['instance'], Producer<Instance>>;
|
|
254
|
-
consume: Record<WellKnownName['instance'], Promise<Instance
|
|
266
|
+
consume: Record<WellKnownName['instance'], Promise<Instance>> &
|
|
267
|
+
ContractInstancePromises<WellKnownContracts>;
|
|
255
268
|
};
|
|
256
269
|
uiConfig: {
|
|
257
270
|
produce: Record<WellKnownName['uiConfig'], Producer<Record<string, any>>>;
|