@agoric/vats 0.15.2-dev-aa68d8f.0 → 0.15.2-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 +27 -27
- package/src/centralSupply.d.ts +1 -1
- package/src/core/basic-behaviors.d.ts +1 -34
- package/src/core/basic-behaviors.d.ts.map +1 -1
- package/src/core/basic-behaviors.js +3 -0
- package/src/core/boot-chain.d.ts +25 -25
- package/src/core/boot-chain.d.ts.map +1 -1
- package/src/core/boot-sim.d.ts +1 -1
- package/src/core/boot-solo.d.ts +1 -1
- package/src/core/demoIssuers.d.ts +2 -2
- package/src/core/lib-boot.d.ts +1 -1
- package/src/core/startWalletFactory.d.ts +1 -1
- package/src/core/startWalletFactory.d.ts.map +1 -1
- package/src/core/startWalletFactory.js +2 -0
- package/src/core/utils.d.ts +12 -45
- package/src/core/utils.d.ts.map +1 -1
- package/src/core/utils.js +1 -0
- package/src/ibc.d.ts +5 -25
- package/src/ibc.d.ts.map +1 -1
- package/src/ibc.js +5 -1
- package/src/lib-board.d.ts +12 -8
- package/src/lib-board.d.ts.map +1 -1
- package/src/lib-board.js +11 -7
- package/src/localchain.d.ts +2 -2
- package/src/mintHolder.d.ts +2 -2
- package/src/nameHub.js +2 -2
- package/src/proposals/localchain-test.js +1 -1
- package/src/proposals/upgrade-zoe-proposal.d.ts +12 -12
- package/src/proposals/upgrade-zoe-proposal.d.ts.map +1 -1
- package/src/proposals/zcf-proposal.d.ts +12 -12
- package/src/proposals/zcf-proposal.d.ts.map +1 -1
- package/src/repl.d.ts +3 -3
- package/src/types.d.ts +10 -8
- package/src/vat-agoricNames.d.ts +3 -3
- package/src/vat-bank.d.ts +33 -442
- package/src/vat-bank.d.ts.map +1 -1
- package/src/vat-bank.js +19 -7
- package/src/vat-board.d.ts +7 -7
- package/src/vat-board.d.ts.map +1 -1
- package/src/vat-bridge.d.ts +1 -1
- package/src/vat-bridge.d.ts.map +1 -1
- package/src/vat-ibc.d.ts +1 -1
- package/src/vat-localchain.d.ts +3 -3
- package/src/vat-mints.d.ts +15 -15
- package/src/vat-network.d.ts +1 -1
- package/src/vat-priceAuthority.d.ts +1 -1
- package/src/vat-provisioning.d.ts +3 -3
- package/src/vat-zoe.d.ts +1 -1
- package/src/virtual-purse.d.ts +1 -111
- package/src/virtual-purse.d.ts.map +1 -1
- package/src/virtual-purse.js +1 -0
- package/tools/bank-utils.js +1 -1
- package/tools/board-utils.d.ts +3 -3
- package/tools/board-utils.d.ts.map +1 -1
- package/tools/boot-test-utils.d.ts +4 -74
- package/tools/boot-test-utils.d.ts.map +1 -1
- package/tools/boot-test-utils.js +2 -0
package/src/lib-board.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* @import {PassableCap} from '@endo/marshal';
|
|
3
|
+
* @import {Key} from '@endo/patterns');
|
|
4
|
+
*/
|
|
2
5
|
export const DEFAULT_CRC_DIGITS: 2;
|
|
3
6
|
export const DEFAULT_PREFIX: "board0";
|
|
4
7
|
export function prepareBoardKit(baggage: import("@agoric/vat-data").Baggage): (initSequence?: number | bigint | undefined, args_1?: {
|
|
@@ -17,15 +20,15 @@ export function prepareBoardKit(baggage: import("@agoric/vat-data").Baggage): (i
|
|
|
17
20
|
* `value` for its entire lifetime. For a well-known board, this is
|
|
18
21
|
* essentially forever.
|
|
19
22
|
*
|
|
20
|
-
* @param {
|
|
23
|
+
* @param {PassableCap} value
|
|
21
24
|
* @throws if `value` is not a Key in the @agoric/store sense
|
|
22
25
|
*/
|
|
23
|
-
getId(value:
|
|
26
|
+
getId(value: PassableCap): string;
|
|
24
27
|
/**
|
|
25
28
|
* @param {BoardId} id
|
|
26
29
|
* @throws if id is not in the mapping
|
|
27
30
|
*/
|
|
28
|
-
getValue(id: BoardId):
|
|
31
|
+
getValue(id: BoardId): PassableCap;
|
|
29
32
|
/**
|
|
30
33
|
* Convenience method for recursively traversing boards and board-like
|
|
31
34
|
* remotables to get data associated with a sequence of ids
|
|
@@ -37,8 +40,8 @@ export function prepareBoardKit(baggage: import("@agoric/vat-data").Baggage): (i
|
|
|
37
40
|
* @param {...string} path
|
|
38
41
|
*/
|
|
39
42
|
lookup(...path: string[]): Promise<any>;
|
|
40
|
-
/** @param {
|
|
41
|
-
has(val:
|
|
43
|
+
/** @param {PassableCap} val */
|
|
44
|
+
has(val: PassableCap): boolean;
|
|
42
45
|
ids(): string[];
|
|
43
46
|
/**
|
|
44
47
|
* Get a marshaller that implements the convertValToSlot hook using
|
|
@@ -94,6 +97,7 @@ export type BoardId = string;
|
|
|
94
97
|
* Key from
|
|
95
98
|
*/
|
|
96
99
|
export type BoardState = ReturnType<typeof initDurableBoardState>;
|
|
100
|
+
import type { PassableCap } from '@endo/marshal';
|
|
97
101
|
/**
|
|
98
102
|
* @typedef {ReturnType<typeof initDurableBoardState>} BoardState // TODO: use
|
|
99
103
|
* Key from @agoric/store when available
|
|
@@ -115,8 +119,8 @@ declare function initDurableBoardState(initSequence?: number | bigint | undefine
|
|
|
115
119
|
crcDigits?: number | undefined;
|
|
116
120
|
} | undefined): {
|
|
117
121
|
lastSequence: bigint;
|
|
118
|
-
idToVal: globalThis.MapStore<string,
|
|
119
|
-
valToId: globalThis.MapStore<
|
|
122
|
+
idToVal: globalThis.MapStore<string, PassableCap>;
|
|
123
|
+
valToId: globalThis.MapStore<PassableCap, string>;
|
|
120
124
|
prefix: string;
|
|
121
125
|
crcDigits: number;
|
|
122
126
|
};
|
package/src/lib-board.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lib-board.d.ts","sourceRoot":"","sources":["lib-board.js"],"names":[],"mappings":"AAiBA
|
|
1
|
+
{"version":3,"file":"lib-board.d.ts","sourceRoot":"","sources":["lib-board.js"],"names":[],"mappings":"AAiBA;;;GAGG;AAEH,mCAAoC;AACpC,sCAAuC;AAmOhC,yCAHI,OAAO,kBAAkB,EAAE,OAAO;;;;;QAWrC;;;;;;;;;;;;;WAaG;;QAIH;;;WAGG;qBAFQ,OAAO;QAMlB;;;;;;;;;WASG;wBADW,MAAM;QAiBpB,+BAA+B;;;QAS/B;;;WAGG;;;;;;;QAIH;;;;;;;WAOG;;;;;;;;;;;;;;;;;;;;GAuCV;AAGM,6CADK,OAAO,cAAc,EAAE,IAAI,WAS1B,MAAM,cACN,UAAU,sBA5NrB,WAAW,GAAE,QAAS,OAAO,WAC/B,EACE,MADM,CAAC,WAAW,CAAC,CAAC,0KAuOrB;;;;;;;;;;sBA5UY,MAAM;;;;;yBAmBN,UAAU,CAAC,OAAO,qBAAqB,CAAC;iCA9DvB,eAAe;AA6D7C;;;;;;GAMG;AAGH;;;;;;;;GAQG;AACH;;;;;;;;;EA0BC"}
|
package/src/lib-board.js
CHANGED
|
@@ -15,7 +15,10 @@ import { makeMarshal } from '@endo/marshal';
|
|
|
15
15
|
|
|
16
16
|
import { crc6 } from './crc.js';
|
|
17
17
|
|
|
18
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* @import {PassableCap} from '@endo/marshal';
|
|
20
|
+
* @import {Key} from '@endo/patterns');
|
|
21
|
+
*/
|
|
19
22
|
|
|
20
23
|
export const DEFAULT_CRC_DIGITS = 2;
|
|
21
24
|
export const DEFAULT_PREFIX = 'board0';
|
|
@@ -99,13 +102,13 @@ const initDurableBoardState = (
|
|
|
99
102
|
const immutable = { prefix, crcDigits };
|
|
100
103
|
|
|
101
104
|
const lastSequence = BigInt(initSequence);
|
|
102
|
-
/** @type {MapStore<BoardId,
|
|
105
|
+
/** @type {MapStore<BoardId, PassableCap>} */
|
|
103
106
|
const idToVal = makeScalarBigMapStore('idToVal', {
|
|
104
107
|
durable: true,
|
|
105
108
|
keyShape: IdShape,
|
|
106
109
|
valueShape: ValShape,
|
|
107
110
|
});
|
|
108
|
-
/** @type {MapStore<
|
|
111
|
+
/** @type {MapStore<PassableCap, BoardId>} */
|
|
109
112
|
const valToId = makeScalarBigMapStore('valToId', {
|
|
110
113
|
durable: true,
|
|
111
114
|
keyShape: ValShape,
|
|
@@ -127,7 +130,7 @@ const initDurableBoardState = (
|
|
|
127
130
|
// transient marshallers that get GCed when the function completes.
|
|
128
131
|
|
|
129
132
|
/**
|
|
130
|
-
* @param {
|
|
133
|
+
* @param {PassableCap} value
|
|
131
134
|
* @param {BoardState} state
|
|
132
135
|
*/
|
|
133
136
|
const getId = (value, state) => {
|
|
@@ -185,7 +188,7 @@ const makeSlotToVal = state => {
|
|
|
185
188
|
/**
|
|
186
189
|
* @param {BoardId} slot
|
|
187
190
|
* @param {string} iface
|
|
188
|
-
* @returns {
|
|
191
|
+
* @returns {any}
|
|
189
192
|
*/
|
|
190
193
|
const slotToVal = (slot, iface) => {
|
|
191
194
|
if (slot !== null) {
|
|
@@ -264,7 +267,7 @@ export const prepareBoardKit = baggage => {
|
|
|
264
267
|
* `value` for its entire lifetime. For a well-known board, this is
|
|
265
268
|
* essentially forever.
|
|
266
269
|
*
|
|
267
|
-
* @param {
|
|
270
|
+
* @param {PassableCap} value
|
|
268
271
|
* @throws if `value` is not a Key in the @agoric/store sense
|
|
269
272
|
*/
|
|
270
273
|
getId(value) {
|
|
@@ -295,13 +298,14 @@ export const prepareBoardKit = baggage => {
|
|
|
295
298
|
return board;
|
|
296
299
|
}
|
|
297
300
|
const [first, ...rest] = path;
|
|
301
|
+
/** @type {any} */
|
|
298
302
|
const firstValue = board.getValue(/** @type {BoardId} */ (first));
|
|
299
303
|
if (rest.length === 0) {
|
|
300
304
|
return firstValue;
|
|
301
305
|
}
|
|
302
306
|
return E(firstValue).lookup(...rest);
|
|
303
307
|
},
|
|
304
|
-
/** @param {
|
|
308
|
+
/** @param {PassableCap} val */
|
|
305
309
|
has(val) {
|
|
306
310
|
const { state } = this;
|
|
307
311
|
return state.valToId.has(val);
|
package/src/localchain.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export function prepareLocalChainTools(zone: import("@agoric/base-zone").Zone):
|
|
|
42
42
|
*
|
|
43
43
|
* @param {Payment} payment
|
|
44
44
|
*/
|
|
45
|
-
deposit(payment: Payment): Promise<
|
|
45
|
+
deposit(payment: Payment): Promise<import("@agoric/ertp/exported.js").NatAmount | import("@agoric/ertp/exported.js").CopySetAmount<import("@endo/patterns").Key> | import("@agoric/ertp/exported.js").SetAmount<import("@endo/patterns").Key> | import("@agoric/ertp/exported.js").CopyBagAmount<import("@endo/patterns").Key>>;
|
|
46
46
|
/**
|
|
47
47
|
* @param {import('@agoric/cosmic-proto').TypedJson<unknown>[]} messages
|
|
48
48
|
* @returns {Promise<import('@agoric/cosmic-proto').TypedJson[]>}
|
|
@@ -97,7 +97,7 @@ declare function prepareLocalChainAccount(zone: import("@agoric/base-zone").Zone
|
|
|
97
97
|
*
|
|
98
98
|
* @param {Payment} payment
|
|
99
99
|
*/
|
|
100
|
-
deposit(payment: Payment): Promise<
|
|
100
|
+
deposit(payment: Payment): Promise<import("@agoric/ertp/exported.js").NatAmount | import("@agoric/ertp/exported.js").CopySetAmount<import("@endo/patterns").Key> | import("@agoric/ertp/exported.js").SetAmount<import("@endo/patterns").Key> | import("@agoric/ertp/exported.js").CopyBagAmount<import("@endo/patterns").Key>>;
|
|
101
101
|
/**
|
|
102
102
|
* @param {import('@agoric/cosmic-proto').TypedJson<unknown>[]} messages
|
|
103
103
|
* @returns {Promise<import('@agoric/cosmic-proto').TypedJson[]>}
|
package/src/mintHolder.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** @type {ContractMeta} */
|
|
2
2
|
export const meta: ContractMeta;
|
|
3
3
|
export function start<K extends globalThis.AssetKind>(zcf: ZCF<IssuerInfo<K>>, _privateArgs: undefined, instanceBaggage: Baggage): {
|
|
4
|
-
publicFacet: globalThis.Issuer<K>;
|
|
5
|
-
creatorFacet: globalThis.Mint<K>;
|
|
4
|
+
publicFacet: globalThis.Issuer<K, import("@endo/patterns").Key>;
|
|
5
|
+
creatorFacet: globalThis.Mint<K, import("@endo/patterns").Key>;
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
8
8
|
* <K>
|
package/src/nameHub.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
prepareGuardedAttenuator,
|
|
10
10
|
} from '@agoric/internal/src/callback.js';
|
|
11
11
|
import { makeHeapZone } from '@agoric/zone';
|
|
12
|
-
import {
|
|
12
|
+
import { deeplyFulfilledObject } from '@agoric/internal';
|
|
13
13
|
|
|
14
14
|
const { Fail, quote: q } = assert;
|
|
15
15
|
|
|
@@ -118,7 +118,7 @@ const updated = (updateCallback, hub, _newValue = undefined) => {
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
// wait for values to settle before writing
|
|
121
|
-
return E.when(
|
|
121
|
+
return E.when(deeplyFulfilledObject(hub.entries()), settledEntries =>
|
|
122
122
|
E(updateCallback).write(settledEntries),
|
|
123
123
|
);
|
|
124
124
|
};
|
|
@@ -192,34 +192,34 @@ export function upgradeZoe({ consume: { vatAdminSvc, vatStore } }: WellKnownSpac
|
|
|
192
192
|
(...data: any[]): void;
|
|
193
193
|
(message?: any, ...optionalParams: any[]): void;
|
|
194
194
|
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
195
|
-
agoricNames: import("../types.js").NameHub
|
|
195
|
+
agoricNames: import("../types.js").NameHub<any>;
|
|
196
196
|
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
197
197
|
spaces: WellKnownSpaces;
|
|
198
198
|
}>;
|
|
199
199
|
makeMyAddressNameAdminKit: (address: string) => {
|
|
200
|
-
nameHub: import("../types.js").NameHub
|
|
200
|
+
nameHub: import("../types.js").NameHub<any>;
|
|
201
201
|
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
202
202
|
};
|
|
203
203
|
makeVatSpace: (svc: ERef<ReturnType<Awaited<VatAdminVat>["createVatAdminService"]>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
204
204
|
space: {
|
|
205
205
|
consume: {
|
|
206
206
|
agoricNames: Promise<{
|
|
207
|
-
getNameHub: () => import("../types.js").NameHub
|
|
207
|
+
getNameHub: () => import("../types.js").NameHub<any>;
|
|
208
208
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
209
209
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
210
210
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
211
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
212
|
-
getNameHub: () => import("../types.js").NameHub
|
|
211
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
212
|
+
getNameHub: () => import("../types.js").NameHub<any>;
|
|
213
213
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
214
214
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
215
215
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
216
216
|
}>>;
|
|
217
217
|
board: Promise<{
|
|
218
218
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
219
|
-
getId(value:
|
|
220
|
-
getValue(id: BoardId):
|
|
219
|
+
getId(value: import("@endo/pass-style").PassableCap): string;
|
|
220
|
+
getValue(id: BoardId): import("@endo/pass-style").PassableCap;
|
|
221
221
|
lookup(...path: string[]): Promise<any>;
|
|
222
|
-
has(val:
|
|
222
|
+
has(val: import("@endo/pass-style").PassableCap): boolean;
|
|
223
223
|
ids(): string[];
|
|
224
224
|
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
225
225
|
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
@@ -236,12 +236,12 @@ export function upgradeZoe({ consume: { vatAdminSvc, vatStore } }: WellKnownSpac
|
|
|
236
236
|
}>;
|
|
237
237
|
makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
238
238
|
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
239
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
239
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
240
240
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
241
|
-
getId(value:
|
|
242
|
-
getValue(id: BoardId):
|
|
241
|
+
getId(value: import("@endo/pass-style").PassableCap): string;
|
|
242
|
+
getValue(id: BoardId): import("@endo/pass-style").PassableCap;
|
|
243
243
|
lookup(...path: string[]): Promise<any>;
|
|
244
|
-
has(val:
|
|
244
|
+
has(val: import("@endo/pass-style").PassableCap): boolean;
|
|
245
245
|
ids(): string[];
|
|
246
246
|
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
247
247
|
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upgrade-zoe-proposal.d.ts","sourceRoot":"","sources":["upgrade-zoe-proposal.js"],"names":[],"mappings":"AAeO;;;;;;;;;;;;;;;;;wCA2B6I,eAAe;mIAAykF,eAAe,GAAE;gBAAE,SAAc;oBAAE,iBAAiB,KAAM,UAAU,eAAe,CAAC,CAAC,CAAA;iBAAE,CAAC;aAAK;2DAAwX,eAAe;8LAA8J,eAAe;yFAA4hE,cAAc,kBAAoB;gBAAC,QAAS,CAAC,EAAC,uBAAwB,CAAA;aAAE;oMAAskF,eAAe;gNAA2gB,YAAY,YAAY,CAAC,GAAE,cA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,CAAC,CAAC,GAAG,SAAI,KAAI,uBAAwB,CAAC,EAAE;gCAAgT,IAAI,YAAW,mBAAoB;oCAAunC,IAAI,YAAW,mBAAoB;;gBAAyhB,SAAS;gBAA0C,SAAS,EAAvC,uBAAuB;gBAA0E,QAAQ,EAAtD,eAAc,uBAAwB,CAAC;gBAA4F,UAAU,EAA3E,CAAC,YAAY,EAAC,QAAQ,uBAAwB,YAAY;;oDAAw1B,KAAK,OAAO,aAAa,EAAE,SAAS,CAAC;0BAAs7orC,KAAM;mDAAztjrC,KAAM;;+CAA/mE,KAAK,OAAO,aAAa,EAAE,SAAS,CAAC;;;;;;;sCAAm8B,eAAc,uBAAwB,CAAC;;;;;;;;;gCAA+gD,KAAK,WAAW,QAAQ,WAAW,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC;;;;;;2DAA/gQ,KAAK,WAAW,CAAC,YAA2B,KAAK,QAAQ,CAAC,SAAwB,QAAQ;8EAAovB,WAAW;;;;;;;;;;6CAA+uL,OAAO;;;;;;;;;;;;;;;;;wEAA54G,WAAW,GAAE,QAAS,OAAO,WAAW,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC;gHAApB,MAAM;;;;;;;;;;;;;;;;;;;;;kHAAN,MAAM;gHAAN,MAAM;;;;;;;;;;;kBApCnxH,QAAQ,CACxB,MAAc,EACd,OAAe,sBAAsB,EAAE,gBAAgB,CAChD;;;IAI2D,OAAO,EAA/D;QAAE,MAAM,EAAE,YAAY,CAAC;QAAC,MAAM,EAAE,YAAY,CAAA;KAAE;kBAexD;AAEM;;;;;;;;;;;;;;;EAWL"}
|
|
@@ -192,34 +192,34 @@ export function upgradeZcf({ consume: { vatAdminSvc, vatStore } }: WellKnownSpac
|
|
|
192
192
|
(...data: any[]): void;
|
|
193
193
|
(message?: any, ...optionalParams: any[]): void;
|
|
194
194
|
} | undefined, reserved?: Record<string, Record<string, unknown>>) => Promise<{
|
|
195
|
-
agoricNames: import("../types.js").NameHub
|
|
195
|
+
agoricNames: import("../types.js").NameHub<any>;
|
|
196
196
|
agoricNamesAdmin: import("../types.js").NameAdmin;
|
|
197
197
|
spaces: WellKnownSpaces;
|
|
198
198
|
}>;
|
|
199
199
|
makeMyAddressNameAdminKit: (address: string) => {
|
|
200
|
-
nameHub: import("../types.js").NameHub
|
|
200
|
+
nameHub: import("../types.js").NameHub<any>;
|
|
201
201
|
myAddressNameAdmin: import("../types.js").MyAddressNameAdmin;
|
|
202
202
|
};
|
|
203
203
|
makeVatSpace: (svc: ERef<ReturnType<Awaited<VatAdminVat>["createVatAdminService"]>>, criticalVatKey: unknown, log?: ((...args: any) => void) | undefined, label?: string | undefined) => {
|
|
204
204
|
space: {
|
|
205
205
|
consume: {
|
|
206
206
|
agoricNames: Promise<{
|
|
207
|
-
getNameHub: () => import("../types.js").NameHub
|
|
207
|
+
getNameHub: () => import("../types.js").NameHub<any>;
|
|
208
208
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
209
209
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
210
210
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
211
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
212
|
-
getNameHub: () => import("../types.js").NameHub
|
|
211
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
212
|
+
getNameHub: () => import("../types.js").NameHub<any>;
|
|
213
213
|
getNameHubKit: () => import("../types.js").NameHubKit;
|
|
214
214
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
215
215
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
216
216
|
}>>;
|
|
217
217
|
board: Promise<{
|
|
218
218
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
219
|
-
getId(value:
|
|
220
|
-
getValue(id: BoardId):
|
|
219
|
+
getId(value: import("@endo/pass-style").PassableCap): string;
|
|
220
|
+
getValue(id: BoardId): import("@endo/pass-style").PassableCap;
|
|
221
221
|
lookup(...path: string[]): Promise<any>;
|
|
222
|
-
has(val:
|
|
222
|
+
has(val: import("@endo/pass-style").PassableCap): boolean;
|
|
223
223
|
ids(): string[];
|
|
224
224
|
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
225
225
|
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
@@ -236,12 +236,12 @@ export function upgradeZcf({ consume: { vatAdminSvc, vatStore } }: WellKnownSpac
|
|
|
236
236
|
}>;
|
|
237
237
|
makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
238
238
|
makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/zoe/src/contractSupport/recorder.js").TypedMatcher<T> | undefined) => import("@agoric/zoe/src/contractSupport/recorder.js").RecorderKit<T>;
|
|
239
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
239
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
240
240
|
getBoard: () => import("@endo/exo").Guarded<{
|
|
241
|
-
getId(value:
|
|
242
|
-
getValue(id: BoardId):
|
|
241
|
+
getId(value: import("@endo/pass-style").PassableCap): string;
|
|
242
|
+
getValue(id: BoardId): import("@endo/pass-style").PassableCap;
|
|
243
243
|
lookup(...path: string[]): Promise<any>;
|
|
244
|
-
has(val:
|
|
244
|
+
has(val: import("@endo/pass-style").PassableCap): boolean;
|
|
245
245
|
ids(): string[];
|
|
246
246
|
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
247
247
|
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zcf-proposal.d.ts","sourceRoot":"","sources":["zcf-proposal.js"],"names":[],"mappings":"AAgBO;;;;;;;;;;;;;;;;;wCAyBD,eACG;mIAQ4/E,eAAe,GAAE;gBAAE,SAAc;oBAAE,iBAAiB,KAAM,UAAU,eAAe,CAAC,CAAC,CAAA;iBAAE,CAAC;aAAK;2DAAwX,eAAe;8LAA8J,eAAe;yFAA4hE,cAAc,kBAAoB;gBAAC,QAAS,CAAC,EAAC,uBAAwB,CAAA;aAAE;oMAAskF,eAAe;gNAA2gB,YAAY,YAAY,CAAC,GAAE,cAAoB,GAAE;gBAAE,SAAgB;oBAAE,iBAAiB,KAAM,UAAU,eAAe,CAAC,CAAC,CAAA;iBAAE,CAAC;aAAO;yLAAkhC,cAAc,GAAE;gBAAE,SAAc;oBAAE,iBAAiB,KAAM,UAAU,eAAe,CAAC,CAAC,CAAA;iBAAE,CAAC;aAAK;mLAA+2B,cAAc,GAAE;gBAAE,SAAc;oBAAE,iBAAiB,KAAM,UAAU,eAAe,CAAC,CAAC,CAAA;iBAAE,CAAC;aAAK;gJAA0wC,eAAe,GAAE,cAAe;gGAA6hB,eAAe,wCAAoB;gBAAC,OAAa,CAAC,EAAC;oBAAE,kBAA0B,CAAC,EAAC;wBAAE,QAAkB,CAAC,EAAC,QAAS,CAAC;qBAAS,CAAC;iBAAO,CAAC;aAAK;0DAA8xC,eAAe;iIAAjgb,eAAe,KAAK;
|
|
1
|
+
{"version":3,"file":"zcf-proposal.d.ts","sourceRoot":"","sources":["zcf-proposal.js"],"names":[],"mappings":"AAgBO;;;;;;;;;;;;;;;;;wCAyBD,eACG;mIAQ4/E,eAAe,GAAE;gBAAE,SAAc;oBAAE,iBAAiB,KAAM,UAAU,eAAe,CAAC,CAAC,CAAA;iBAAE,CAAC;aAAK;2DAAwX,eAAe;8LAA8J,eAAe;yFAA4hE,cAAc,kBAAoB;gBAAC,QAAS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ACd,OAAe,sBAAsB,EAAE,gBAAgB,CAChD;;;IAI2D,OAAO,EAA/D;QAAE,MAAM,EAAE,YAAY,CAAC;QAAC,MAAM,EAAE,YAAY,CAAA;KAAE;kBAmBxD;AAEM;;;;;;;;;;;;;;;;;EAcL"}
|
package/src/repl.d.ts
CHANGED
|
@@ -3,17 +3,17 @@ export function getReplHandler(replObjects: any, send: any): {
|
|
|
3
3
|
onOpen(_obj: any, meta: any): void;
|
|
4
4
|
onClose(_obj: any, meta: any): void;
|
|
5
5
|
onMessage(obj: any, meta: any): any;
|
|
6
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
6
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
7
7
|
onOpen(_obj: any, meta: any): void;
|
|
8
8
|
onClose(_obj: any, meta: any): void;
|
|
9
9
|
onMessage(obj: any, meta: any): any;
|
|
10
10
|
}>;
|
|
11
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
11
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
12
12
|
getCommandHandler(): {
|
|
13
13
|
onOpen(_obj: any, meta: any): void;
|
|
14
14
|
onClose(_obj: any, meta: any): void;
|
|
15
15
|
onMessage(obj: any, meta: any): any;
|
|
16
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
16
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
17
17
|
onOpen(_obj: any, meta: any): void;
|
|
18
18
|
onClose(_obj: any, meta: any): void;
|
|
19
19
|
onMessage(obj: any, meta: any): any;
|
package/src/types.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { Guarded } from '@endo/exo';
|
|
2
|
+
|
|
1
3
|
export type Board = ReturnType<
|
|
2
4
|
ReturnType<typeof import('./lib-board.js').prepareBoardKit>
|
|
3
5
|
>['board'];
|
|
@@ -9,7 +11,7 @@ export type Board = ReturnType<
|
|
|
9
11
|
* allow passing a remote iterable, there would be an inordinate number of round
|
|
10
12
|
* trips for the contents of even the simplest nameHub.
|
|
11
13
|
*/
|
|
12
|
-
export type NameHub = {
|
|
14
|
+
export type NameHub<Value = any> = {
|
|
13
15
|
has: (key: string) => boolean;
|
|
14
16
|
/**
|
|
15
17
|
* Look up a path of keys starting from the current NameHub. Wait on any
|
|
@@ -17,11 +19,11 @@ export type NameHub = {
|
|
|
17
19
|
*/
|
|
18
20
|
lookup: (...path: string[]) => Promise<any>;
|
|
19
21
|
/** get all the entries available in the current NameHub */
|
|
20
|
-
entries: (includeReserved?: boolean) => [string,
|
|
22
|
+
entries: (includeReserved?: boolean) => [string, Value][];
|
|
21
23
|
/** get all names available in the current NameHub */
|
|
22
24
|
keys: () => string[];
|
|
23
25
|
/** get all values available in the current NameHub */
|
|
24
|
-
values: () =>
|
|
26
|
+
values: () => Value[];
|
|
25
27
|
};
|
|
26
28
|
|
|
27
29
|
/** write access to a node in a name hierarchy */
|
|
@@ -39,13 +41,13 @@ export type NameAdmin = {
|
|
|
39
41
|
*/
|
|
40
42
|
default: <T>(key: string, newValue: T, newAdmin?: NameAdmin) => T;
|
|
41
43
|
/** Update only if already initialized. Reject if not. */
|
|
42
|
-
set: (key: string, newValue:
|
|
44
|
+
set: (key: string, newValue: V, newAdmin?: NameAdmin) => void;
|
|
43
45
|
/**
|
|
44
46
|
* Fulfill an outstanding reserved promise (if any) to the newValue and set
|
|
45
47
|
* the key to the newValue. If newAdmin is provided, set that to return via
|
|
46
48
|
* lookupAdmin.
|
|
47
49
|
*/
|
|
48
|
-
update: (key: string, newValue:
|
|
50
|
+
update: (key: string, newValue: V, newAdmin?: NameAdmin) => void;
|
|
49
51
|
/**
|
|
50
52
|
* Look up the `newAdmin` from the path of keys starting from the current
|
|
51
53
|
* NameAdmin. Wait on any reserved promises.
|
|
@@ -59,7 +61,7 @@ export type NameAdmin = {
|
|
|
59
61
|
};
|
|
60
62
|
|
|
61
63
|
export type NameHubUpdateHandler = {
|
|
62
|
-
write: (entries: [string,
|
|
64
|
+
write: (entries: [string, V][]) => void;
|
|
63
65
|
};
|
|
64
66
|
|
|
65
67
|
/** a node in a name hierarchy */
|
|
@@ -91,12 +93,12 @@ export type BridgeHandler = {
|
|
|
91
93
|
};
|
|
92
94
|
|
|
93
95
|
/** An object which handles messages for a specific bridge */
|
|
94
|
-
export type ScopedBridgeManager = {
|
|
96
|
+
export type ScopedBridgeManager = Guarded<{
|
|
95
97
|
toBridge: (obj: any) => Promise<any>;
|
|
96
98
|
fromBridge: (obj: any) => PromiseVow<void>;
|
|
97
99
|
initHandler: (handler: ERef<BridgeHandler>) => void;
|
|
98
100
|
setHandler: (handler: ERef<BridgeHandler>) => void;
|
|
99
|
-
}
|
|
101
|
+
}>;
|
|
100
102
|
|
|
101
103
|
/** The object to manage this bridge */
|
|
102
104
|
export type BridgeManager = {
|
package/src/vat-agoricNames.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export function buildRootObject(_vatPowers: unknown, _vatParameters: unknown, baggage: import("@agoric/vat-data").Baggage): {
|
|
2
|
-
getNameHub: () => import("./types.js").NameHub
|
|
2
|
+
getNameHub: () => import("./types.js").NameHub<any>;
|
|
3
3
|
getNameHubKit: () => import("./types.js").NameHubKit;
|
|
4
4
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
5
5
|
/**
|
|
@@ -9,8 +9,8 @@ export function buildRootObject(_vatPowers: unknown, _vatParameters: unknown, ba
|
|
|
9
9
|
* @param {DisplayInfo} displayInfo
|
|
10
10
|
*/
|
|
11
11
|
provideInertBrand: (keyword: string, displayInfo: DisplayInfo) => any;
|
|
12
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
13
|
-
getNameHub: () => import("./types.js").NameHub
|
|
12
|
+
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
13
|
+
getNameHub: () => import("./types.js").NameHub<any>;
|
|
14
14
|
getNameHubKit: () => import("./types.js").NameHubKit;
|
|
15
15
|
publishNameHubs: (nameStorage: ERef<StorageNode>, vatBoard: ERef<BoardVat>, kinds: string[]) => Promise<void>;
|
|
16
16
|
/**
|