@agoric/smart-wallet 0.5.4-dev-0610edb.0.0610edb → 0.5.4-dev-6cba6bb.0.6cba6bb
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 +15 -15
- package/src/smartWallet.d.ts +6 -4
- package/src/smartWallet.d.ts.map +1 -1
- package/src/smartWallet.js +9 -5
- package/src/walletFactory.d.ts +3 -1
- package/src/walletFactory.d.ts.map +1 -1
- package/src/walletFactory.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/smart-wallet",
|
|
3
|
-
"version": "0.5.4-dev-
|
|
3
|
+
"version": "0.5.4-dev-6cba6bb.0.6cba6bb",
|
|
4
4
|
"description": "Wallet contract",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"lint:eslint": "yarn run -T eslint ."
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@agoric/casting": "0.4.3-dev-
|
|
22
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
23
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
21
|
+
"@agoric/casting": "0.4.3-dev-6cba6bb.0.6cba6bb",
|
|
22
|
+
"@agoric/cosmic-proto": "0.4.1-dev-6cba6bb.0.6cba6bb",
|
|
23
|
+
"@agoric/swingset-vat": "0.32.3-dev-6cba6bb.0.6cba6bb",
|
|
24
24
|
"@endo/bundle-source": "^4.1.2",
|
|
25
25
|
"@endo/captp": "^4.4.8",
|
|
26
26
|
"@endo/init": "^1.1.12",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"import-meta-resolve": "^4.1.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
32
|
-
"@agoric/internal": "0.3.3-dev-
|
|
33
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
34
|
-
"@agoric/store": "0.9.3-dev-
|
|
35
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
36
|
-
"@agoric/vats": "0.15.2-dev-
|
|
37
|
-
"@agoric/vow": "0.1.1-dev-
|
|
38
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
39
|
-
"@agoric/zone": "0.2.3-dev-
|
|
31
|
+
"@agoric/ertp": "0.16.3-dev-6cba6bb.0.6cba6bb",
|
|
32
|
+
"@agoric/internal": "0.3.3-dev-6cba6bb.0.6cba6bb",
|
|
33
|
+
"@agoric/notifier": "0.6.3-dev-6cba6bb.0.6cba6bb",
|
|
34
|
+
"@agoric/store": "0.9.3-dev-6cba6bb.0.6cba6bb",
|
|
35
|
+
"@agoric/vat-data": "0.5.3-dev-6cba6bb.0.6cba6bb",
|
|
36
|
+
"@agoric/vats": "0.15.2-dev-6cba6bb.0.6cba6bb",
|
|
37
|
+
"@agoric/vow": "0.1.1-dev-6cba6bb.0.6cba6bb",
|
|
38
|
+
"@agoric/zoe": "0.26.3-dev-6cba6bb.0.6cba6bb",
|
|
39
|
+
"@agoric/zone": "0.2.3-dev-6cba6bb.0.6cba6bb",
|
|
40
40
|
"@endo/errors": "^1.2.13",
|
|
41
41
|
"@endo/eventual-send": "^1.3.4",
|
|
42
42
|
"@endo/far": "^1.1.14",
|
|
@@ -72,10 +72,10 @@
|
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
74
|
"typeCoverage": {
|
|
75
|
-
"atLeast":
|
|
75
|
+
"atLeast": 93.64
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
78
78
|
"node": "^20.9 || ^22.11"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "6cba6bb0285dfcd39d88f4833c151963ea70dd33"
|
|
81
81
|
}
|
package/src/smartWallet.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const BRAND_TO_PURSES_KEY: "brandToPurses";
|
|
2
2
|
export function prepareSmartWallet(baggage: import("@agoric/vat-data").Baggage, shared: SharedParams): (uniqueWithoutChildNodes: Omit<UniqueParams, "currentStorageNode" | "walletStorageNode"> & {
|
|
3
|
-
walletStorageNode:
|
|
3
|
+
walletStorageNode: ERemote<StorageNode>;
|
|
4
4
|
}) => Promise<import("@endo/exo").Guarded<{
|
|
5
5
|
/**
|
|
6
6
|
* Umarshals the actionCapData and delegates to the appropriate action
|
|
@@ -176,9 +176,9 @@ export type BrandDescriptor = {
|
|
|
176
176
|
export type UniqueParams = {
|
|
177
177
|
address: string;
|
|
178
178
|
bank: ERef<import("@agoric/vats/src/vat-bank.js").Bank>;
|
|
179
|
-
currentStorageNode: StorageNode
|
|
179
|
+
currentStorageNode: Remote<StorageNode>;
|
|
180
180
|
invitationPurse: Purse<"set", InvitationDetails>;
|
|
181
|
-
walletStorageNode: StorageNode
|
|
181
|
+
walletStorageNode: Remote<StorageNode>;
|
|
182
182
|
};
|
|
183
183
|
export type BrandDescriptorRegistry = Pick<MapStore<Brand, BrandDescriptor>, "has" | "get" | "values">;
|
|
184
184
|
export type SharedParams = {
|
|
@@ -187,7 +187,7 @@ export type SharedParams = {
|
|
|
187
187
|
invitationIssuer: Issuer<"set">;
|
|
188
188
|
invitationBrand: Brand<"set">;
|
|
189
189
|
invitationDisplayInfo: DisplayInfo;
|
|
190
|
-
publicMarshaller: Marshaller
|
|
190
|
+
publicMarshaller: Remote<Marshaller>;
|
|
191
191
|
zoe: ERef<ZoeService>;
|
|
192
192
|
};
|
|
193
193
|
/**
|
|
@@ -218,6 +218,7 @@ export type PurseRecord = BrandDescriptor & {
|
|
|
218
218
|
};
|
|
219
219
|
export type MutableState = {};
|
|
220
220
|
export type SmartWallet = EReturn<EReturn<typeof prepareSmartWallet>>;
|
|
221
|
+
import type { ERemote } from '@agoric/internal';
|
|
221
222
|
import type { Payment } from '@agoric/ertp';
|
|
222
223
|
import type { Amount } from '@agoric/ertp';
|
|
223
224
|
import type { InvokeEntryMessage } from './offers.js';
|
|
@@ -226,6 +227,7 @@ import type { OfferId } from './offers.js';
|
|
|
226
227
|
import type { Brand } from '@agoric/ertp';
|
|
227
228
|
import type { OfferStatus } from './offers.js';
|
|
228
229
|
import type { Issuer } from '@agoric/ertp';
|
|
230
|
+
import type { Remote } from '@agoric/internal';
|
|
229
231
|
import type { InvitationDetails } from '@agoric/zoe';
|
|
230
232
|
import type { Purse } from '@agoric/ertp';
|
|
231
233
|
import type { MapStore } from '@agoric/store';
|
package/src/smartWallet.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartWallet.d.ts","sourceRoot":"","sources":["smartWallet.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"smartWallet.d.ts","sourceRoot":"","sources":["smartWallet.js"],"names":[],"mappings":"AAsQA,kCAAmC,eAAe,CAAC;AAiB5C,4CAHI,OAAO,kBAAkB,EAAE,OAAO,UAClC,YAAY,6BAy9BV,IAAI,CACV,YAAY,EAChB,oBAAwB,GAAG,mBAAmB,CAC3C,GAAG;IACF,iBAAiB,EAAE,QAAQ,WAAW,CAAC,CAAC;CACzC;IAvHE;;;;;;;;OAQG;sCAJQ,OAAO,eAAe,EAAE,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,aAE9C,OAAO,GACL,OAAO,CAAC,IAAI,CAAC;;QA5V1B;;;;;;;;;WASG;yBAJQ,OAAO,GACL,OAAO,CAAC,MAAM,CAAC;;;QAwQ5B;;WAEG;6BADQ,kBAAkB;;;QA3I7B;;;;;;;;;WASG;gCALQ,SAAS,GACP,OAAO,CAAC,IAAI,CAAC;QA0G1B;;;;;;WAMG;8BAHQ,OAAO,GACL,OAAO,CAAC,IAAI,CAAC;;IAwK1B,sCAAsC;;IAKtC,sCAAsC;;;;;;;;;;;;;;IAyD7C;6BAnsCY;IACR,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KA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;IACvE,qBAAqB,EAAE,SAAS,MAAM,EAAE,OAAO,KAAK,CAAC,CAAC,CAAC;IACvD,aAAa,EAAE,SAAS,KAAK,EAAE,MAAM,CAAC,CAAC;IACvC,iBAAiB,EAAE,OAAO,6CAA6C,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IACnG,kBAAkB,EAAE,OAAO,6CAA6C,EAAE,WAAW,CAAC,mBAAmB,CAAC,CAAC;IAC3G,UAAU,EAAE,SAAS,OAAO,EAAE,WAAW,CAAC,CAAC;IAC3C,cAAc,EAAE,SAAS,OAAO,EAAE,SAAS,OAAO,CAAC,CAAC,CAAC;IACrD,iBAAiB,EAAE,SAAS,OAAO,EAAE,SAAS,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;IAC/D,OAAO,EAAE,QAAQ,CAAC;CACnB,CACF;0BAGS,eAAe,GAAG;IAAE,KAAK,EAAE,KAAK,CAAA;CAAE;2BAElC,EAAE;0BAuiCD,QAAQ,QAAQ,OAAO,kBAAkB,CAAC,CAAC;6BAttCvB,kBAAkB;6BACI,cAAc;4BAAd,cAAc;wCAKY,aAAa;+BAAb,aAAa;6BAAb,aAAa;2BALvC,cAAc;iCAKY,aAAa;4BALvC,cAAc;4BADpC,kBAAkB;uCAG2B,aAAa;2BAFpC,cAAc;8BAC7B,eAAe;8BACuB,aAAa;6BAElE,WAAW"}
|
package/src/smartWallet.js
CHANGED
|
@@ -46,6 +46,7 @@ import { objectMapStoragePath } from './utils.js';
|
|
|
46
46
|
import { prepareOfferWatcher, makeWatchOfferOutcomes } from './offerWatcher.js';
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
+
* @import {ERemote, Remote} from '@agoric/internal';
|
|
49
50
|
* @import {Amount, Brand, Issuer, Payment, Purse} from '@agoric/ertp';
|
|
50
51
|
* @import {WeakMapStore, MapStore} from '@agoric/store'
|
|
51
52
|
* @import {InvitationDetails, PaymentPKeywordRecord, Proposal, UserSeat} from '@agoric/zoe';
|
|
@@ -169,9 +170,9 @@ const trace = makeTracer('SmrtWlt');
|
|
|
169
170
|
* @typedef {{
|
|
170
171
|
* address: string;
|
|
171
172
|
* bank: ERef<import('@agoric/vats/src/vat-bank.js').Bank>;
|
|
172
|
-
* currentStorageNode: StorageNode
|
|
173
|
+
* currentStorageNode: Remote<StorageNode>;
|
|
173
174
|
* invitationPurse: Purse<'set', InvitationDetails>;
|
|
174
|
-
* walletStorageNode: StorageNode
|
|
175
|
+
* walletStorageNode: Remote<StorageNode>;
|
|
175
176
|
* }} UniqueParams
|
|
176
177
|
*
|
|
177
178
|
*
|
|
@@ -184,7 +185,7 @@ const trace = makeTracer('SmrtWlt');
|
|
|
184
185
|
* invitationIssuer: Issuer<'set'>;
|
|
185
186
|
* invitationBrand: Brand<'set'>;
|
|
186
187
|
* invitationDisplayInfo: DisplayInfo;
|
|
187
|
-
* publicMarshaller: Marshaller
|
|
188
|
+
* publicMarshaller: Remote<Marshaller>;
|
|
188
189
|
* zoe: ERef<ZoeService>;
|
|
189
190
|
* }} SharedParams
|
|
190
191
|
*
|
|
@@ -324,7 +325,9 @@ export const prepareSmartWallet = (baggage, shared) => {
|
|
|
324
325
|
amountWatcherGuard,
|
|
325
326
|
/**
|
|
326
327
|
* @param {Purse} purse
|
|
327
|
-
* @param {ReturnType<
|
|
328
|
+
* @param {ReturnType<
|
|
329
|
+
* typeof makeWalletWithResolvedStorageNodes
|
|
330
|
+
* >['helper']} helper
|
|
328
331
|
*/
|
|
329
332
|
(purse, helper) => ({ purse, helper }),
|
|
330
333
|
{
|
|
@@ -371,6 +374,7 @@ export const prepareSmartWallet = (baggage, shared) => {
|
|
|
371
374
|
address: M.string(),
|
|
372
375
|
bank: M.eref(M.remotable()),
|
|
373
376
|
invitationPurse: PurseShape,
|
|
377
|
+
// Should not be M.eref, makeRecordedKit assumes resolved
|
|
374
378
|
currentStorageNode: M.eref(StorageNodeShape),
|
|
375
379
|
walletStorageNode: M.eref(StorageNodeShape),
|
|
376
380
|
}),
|
|
@@ -1260,7 +1264,7 @@ export const prepareSmartWallet = (baggage, shared) => {
|
|
|
1260
1264
|
* UniqueParams,
|
|
1261
1265
|
* 'currentStorageNode' | 'walletStorageNode'
|
|
1262
1266
|
* > & {
|
|
1263
|
-
* walletStorageNode:
|
|
1267
|
+
* walletStorageNode: ERemote<StorageNode>;
|
|
1264
1268
|
* }} uniqueWithoutChildNodes
|
|
1265
1269
|
*/
|
|
1266
1270
|
const makeSmartWallet = async uniqueWithoutChildNodes => {
|
package/src/walletFactory.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export function makeAssetRegistry(assetPublisher: AssetPublisher): {
|
|
|
23
23
|
}>;
|
|
24
24
|
};
|
|
25
25
|
export function prepare(zcf: ZCF<SmartWalletContractTerms>, privateArgs: {
|
|
26
|
-
storageNode:
|
|
26
|
+
storageNode: ERemote<StorageNode>;
|
|
27
27
|
walletBridgeManager?: ERef<import("@agoric/vats").ScopedBridgeManager<"wallet">>;
|
|
28
28
|
walletReviver?: ERef<WalletReviver>;
|
|
29
29
|
}, baggage: import("@agoric/vat-data").Baggage): Promise<{
|
|
@@ -55,5 +55,7 @@ export type WalletReviver = {
|
|
|
55
55
|
ackWallet: (address: string) => IsRevive;
|
|
56
56
|
};
|
|
57
57
|
export type start = typeof prepare;
|
|
58
|
+
import type { StorageNode } from '@agoric/internal/src/lib-chainStorage.js';
|
|
59
|
+
import type { ERemote } from '@agoric/internal';
|
|
58
60
|
import type { NameHub } from '@agoric/vats';
|
|
59
61
|
//# sourceMappingURL=walletFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"walletFactory.d.ts","sourceRoot":"","sources":["walletFactory.js"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"walletFactory.d.ts","sourceRoot":"","sources":["walletFactory.js"],"names":[],"mappings":";;;;;AAkCA,gEAKE;AAYK,6CAJI,MAAM,UACN,OAAO,kBAAkB,EAAE,WAAW,uBACtC,IAAI,CAAC,OAAO,cAAc,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oBAkMU,OAAO,OAAO;iCA9TE,0CAA0C;6BAD9C,kBAAkB;6BAGlB,cAAc"}
|
package/src/walletFactory.js
CHANGED
|
@@ -18,6 +18,8 @@ import { prepareSmartWallet } from './smartWallet.js';
|
|
|
18
18
|
import { shape } from './typeGuards.js';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
+
* @import {ERemote} from '@agoric/internal';
|
|
22
|
+
* @import {StorageNode} from '@agoric/internal/src/lib-chainStorage.js';
|
|
21
23
|
* @import {MapStore} from '@agoric/swingset-liveslots';
|
|
22
24
|
* @import {NameHub} from '@agoric/vats';
|
|
23
25
|
*/
|
|
@@ -150,7 +152,7 @@ export const makeAssetRegistry = assetPublisher => {
|
|
|
150
152
|
/**
|
|
151
153
|
* @param {ZCF<SmartWalletContractTerms>} zcf
|
|
152
154
|
* @param {{
|
|
153
|
-
* storageNode:
|
|
155
|
+
* storageNode: ERemote<StorageNode>;
|
|
154
156
|
* walletBridgeManager?: ERef<
|
|
155
157
|
* import('@agoric/vats').ScopedBridgeManager<'wallet'>
|
|
156
158
|
* >;
|