@agoric/smart-wallet 0.5.4-dev-0025f91.0 → 0.5.4-dev-0b0694a.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 +13 -13
- package/src/smartWallet.d.ts +3 -3
- package/src/walletFactory.d.ts +9 -9
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-0b0694a.0+0b0694a",
|
|
4
4
|
"description": "Wallet contract",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"lint:eslint": "eslint ."
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
20
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
19
|
+
"@agoric/cosmic-proto": "0.4.1-dev-0b0694a.0+0b0694a",
|
|
20
|
+
"@agoric/swingset-vat": "0.32.3-dev-0b0694a.0+0b0694a",
|
|
21
21
|
"@endo/bundle-source": "^3.2.1",
|
|
22
22
|
"@endo/captp": "^4.1.0",
|
|
23
23
|
"@endo/init": "^1.1.0",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"import-meta-resolve": "^2.2.1"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@agoric/assert": "0.6.1-dev-
|
|
29
|
-
"@agoric/casting": "0.4.3-dev-
|
|
30
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
31
|
-
"@agoric/internal": "0.3.3-dev-
|
|
32
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
33
|
-
"@agoric/store": "0.9.3-dev-
|
|
34
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
35
|
-
"@agoric/vats": "0.15.2-dev-
|
|
36
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
28
|
+
"@agoric/assert": "0.6.1-dev-0b0694a.0+0b0694a",
|
|
29
|
+
"@agoric/casting": "0.4.3-dev-0b0694a.0+0b0694a",
|
|
30
|
+
"@agoric/ertp": "0.16.3-dev-0b0694a.0+0b0694a",
|
|
31
|
+
"@agoric/internal": "0.3.3-dev-0b0694a.0+0b0694a",
|
|
32
|
+
"@agoric/notifier": "0.6.3-dev-0b0694a.0+0b0694a",
|
|
33
|
+
"@agoric/store": "0.9.3-dev-0b0694a.0+0b0694a",
|
|
34
|
+
"@agoric/vat-data": "0.5.3-dev-0b0694a.0+0b0694a",
|
|
35
|
+
"@agoric/vats": "0.15.2-dev-0b0694a.0+0b0694a",
|
|
36
|
+
"@agoric/zoe": "0.26.3-dev-0b0694a.0+0b0694a",
|
|
37
37
|
"@endo/eventual-send": "^1.2.0",
|
|
38
38
|
"@endo/far": "^1.1.0",
|
|
39
39
|
"@endo/marshal": "^1.4.0",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"typeCoverage": {
|
|
70
70
|
"atLeast": 93.76
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "0b0694a0d92bf82d3a1b5a85b032a11740094a62"
|
|
73
73
|
}
|
package/src/smartWallet.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
walletStorageNode: ERef<StorageNode>;
|
|
4
|
-
}) => Promise<import("@
|
|
4
|
+
}) => Promise<import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
5
5
|
/**
|
|
6
6
|
* Umarshals the actionCapData and delegates to the appropriate action handler.
|
|
7
7
|
*
|
|
@@ -10,7 +10,7 @@ export function prepareSmartWallet(baggage: import('@agoric/vat-data').Baggage,
|
|
|
10
10
|
* @returns {Promise<void>}
|
|
11
11
|
*/
|
|
12
12
|
handleBridgeAction(actionCapData: import('@endo/marshal').CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
13
|
-
getDepositFacet(): import("@
|
|
13
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
14
14
|
/**
|
|
15
15
|
* Put the assets from the payment into the appropriate purse.
|
|
16
16
|
*
|
|
@@ -22,7 +22,7 @@ export function prepareSmartWallet(baggage: import('@agoric/vat-data').Baggage,
|
|
|
22
22
|
*/
|
|
23
23
|
receive(payment: Payment): Promise<Amount>;
|
|
24
24
|
}>;
|
|
25
|
-
getOffersFacet(): import("@
|
|
25
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
26
26
|
/**
|
|
27
27
|
* Take an offer description provided in capData, augment it with payments and call zoe.offer()
|
|
28
28
|
*
|
package/src/walletFactory.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export function prepare(zcf: ZCF<SmartWalletContractTerms>, privateArgs: {
|
|
|
27
27
|
walletBridgeManager?: ERef<import("@agoric/vats").ScopedBridgeManager> | undefined;
|
|
28
28
|
walletReviver?: ERef<WalletReviver> | undefined;
|
|
29
29
|
}, baggage: import('@agoric/vat-data').Baggage): Promise<{
|
|
30
|
-
creatorFacet: import("@
|
|
30
|
+
creatorFacet: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
31
31
|
/**
|
|
32
32
|
* @param {string} address
|
|
33
33
|
* @param {ERef<import('@agoric/vats/src/vat-bank.js').Bank>} bank
|
|
@@ -38,10 +38,10 @@ export function prepare(zcf: ZCF<SmartWalletContractTerms>, privateArgs: {
|
|
|
38
38
|
*/
|
|
39
39
|
provideSmartWallet(address: string, bank: ERef<import('@agoric/vats/src/vat-bank.js').Bank>, namesByAddressAdmin: ERef<import('@agoric/vats/src/types.js').NameAdmin>): Promise<[wallet: {
|
|
40
40
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
41
|
-
getDepositFacet(): import("@
|
|
41
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
42
42
|
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
43
43
|
}>;
|
|
44
|
-
getOffersFacet(): import("@
|
|
44
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
45
45
|
executeOffer(offerSpec: import("./smartWallet.js").OfferSpec): Promise<void>;
|
|
46
46
|
tryExitOffer(offerId: import("./smartWallet.js").OfferId): Promise<void>;
|
|
47
47
|
}>;
|
|
@@ -62,10 +62,10 @@ export function prepare(zcf: ZCF<SmartWalletContractTerms>, privateArgs: {
|
|
|
62
62
|
repairWalletForIncarnation2(key: any): void;
|
|
63
63
|
} & import("@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
64
64
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
65
|
-
getDepositFacet(): import("@
|
|
65
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
66
66
|
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
67
67
|
}>;
|
|
68
|
-
getOffersFacet(): import("@
|
|
68
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
69
69
|
executeOffer(offerSpec: import("./smartWallet.js").OfferSpec): Promise<void>;
|
|
70
70
|
tryExitOffer(offerId: import("./smartWallet.js").OfferId): Promise<void>;
|
|
71
71
|
}>;
|
|
@@ -86,10 +86,10 @@ export function prepare(zcf: ZCF<SmartWalletContractTerms>, privateArgs: {
|
|
|
86
86
|
repairWalletForIncarnation2(key: any): void;
|
|
87
87
|
}> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
88
88
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
89
|
-
getDepositFacet(): import("@
|
|
89
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
90
90
|
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
91
91
|
}>;
|
|
92
|
-
getOffersFacet(): import("@
|
|
92
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
93
93
|
executeOffer(offerSpec: import("./smartWallet.js").OfferSpec): Promise<void>;
|
|
94
94
|
tryExitOffer(offerId: import("./smartWallet.js").OfferId): Promise<void>;
|
|
95
95
|
}>;
|
|
@@ -110,10 +110,10 @@ export function prepare(zcf: ZCF<SmartWalletContractTerms>, privateArgs: {
|
|
|
110
110
|
repairWalletForIncarnation2(key: any): void;
|
|
111
111
|
} & import("@endo/exo/src/get-interface.js").GetInterfaceGuard<{
|
|
112
112
|
handleBridgeAction(actionCapData: import("@endo/marshal").CapData<string | null>, canSpend?: boolean | undefined): Promise<void>;
|
|
113
|
-
getDepositFacet(): import("@
|
|
113
|
+
getDepositFacet(): import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
114
114
|
receive(payment: Payment<AssetKind>): Promise<Amount<AssetKind>>;
|
|
115
115
|
}>;
|
|
116
|
-
getOffersFacet(): import("@
|
|
116
|
+
getOffersFacet(): import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
117
117
|
executeOffer(offerSpec: import("./smartWallet.js").OfferSpec): Promise<void>;
|
|
118
118
|
tryExitOffer(offerId: import("./smartWallet.js").OfferId): Promise<void>;
|
|
119
119
|
}>;
|