@agoric/wallet-backend 0.13.4-dev-44ea14f.0 → 0.13.4-dev-bdb08a7.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/bundles/bundle-wallet-meta.js +93 -93
- package/bundles/bundle-wallet.js +1 -1
- package/package.json +14 -14
- package/src/lib-wallet.js +6 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/wallet-backend",
|
|
3
|
-
"version": "0.13.4-dev-
|
|
3
|
+
"version": "0.13.4-dev-bdb08a7.0+bdb08a7",
|
|
4
4
|
"description": "Wallet backend",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -14,23 +14,23 @@
|
|
|
14
14
|
"lint:eslint": "eslint ."
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@agoric/vats": "0.13.1-dev-
|
|
17
|
+
"@agoric/vats": "0.13.1-dev-bdb08a7.0+bdb08a7",
|
|
18
18
|
"@endo/bundle-source": "^2.4.2",
|
|
19
19
|
"@endo/init": "^0.5.52",
|
|
20
20
|
"ava": "^5.1.0"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@agoric/assert": "0.5.2-dev-
|
|
24
|
-
"@agoric/cache": "0.2.4-dev-
|
|
25
|
-
"@agoric/ertp": "0.15.4-dev-
|
|
26
|
-
"@agoric/inter-protocol": "0.13.2-dev-
|
|
27
|
-
"@agoric/internal": "0.2.2-dev-
|
|
28
|
-
"@agoric/notifier": "0.5.2-dev-
|
|
29
|
-
"@agoric/smart-wallet": "0.4.3-dev-
|
|
30
|
-
"@agoric/store": "0.8.4-dev-
|
|
31
|
-
"@agoric/time": "0.2.2-dev-
|
|
32
|
-
"@agoric/vat-data": "0.4.4-dev-
|
|
33
|
-
"@agoric/zoe": "0.25.4-dev-
|
|
23
|
+
"@agoric/assert": "0.5.2-dev-bdb08a7.0+bdb08a7",
|
|
24
|
+
"@agoric/cache": "0.2.4-dev-bdb08a7.0+bdb08a7",
|
|
25
|
+
"@agoric/ertp": "0.15.4-dev-bdb08a7.0+bdb08a7",
|
|
26
|
+
"@agoric/inter-protocol": "0.13.2-dev-bdb08a7.0+bdb08a7",
|
|
27
|
+
"@agoric/internal": "0.2.2-dev-bdb08a7.0+bdb08a7",
|
|
28
|
+
"@agoric/notifier": "0.5.2-dev-bdb08a7.0+bdb08a7",
|
|
29
|
+
"@agoric/smart-wallet": "0.4.3-dev-bdb08a7.0+bdb08a7",
|
|
30
|
+
"@agoric/store": "0.8.4-dev-bdb08a7.0+bdb08a7",
|
|
31
|
+
"@agoric/time": "0.2.2-dev-bdb08a7.0+bdb08a7",
|
|
32
|
+
"@agoric/vat-data": "0.4.4-dev-bdb08a7.0+bdb08a7",
|
|
33
|
+
"@agoric/zoe": "0.25.4-dev-bdb08a7.0+bdb08a7",
|
|
34
34
|
"@endo/eventual-send": "^0.16.8",
|
|
35
35
|
"@endo/marshal": "^0.8.1",
|
|
36
36
|
"@endo/nat": "^4.1.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "bdb08a7f80da1a20faea1139b3381b982c7fc203"
|
|
62
62
|
}
|
package/src/lib-wallet.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
import { assert, q, Fail } from '@agoric/assert';
|
|
15
15
|
import { makeScalarStoreCoordinator } from '@agoric/cache';
|
|
16
|
-
import { objectMap } from '@agoric/internal';
|
|
16
|
+
import { objectMap, WalletName } from '@agoric/internal';
|
|
17
17
|
import {
|
|
18
18
|
makeLegacyMap,
|
|
19
19
|
makeScalarMapStore,
|
|
@@ -863,7 +863,7 @@ export function makeWalletRoot({
|
|
|
863
863
|
if (already) {
|
|
864
864
|
depositFacet = actions;
|
|
865
865
|
} else {
|
|
866
|
-
depositFacet = Far(
|
|
866
|
+
depositFacet = Far(WalletName.depositFacet, {
|
|
867
867
|
receive(paymentP) {
|
|
868
868
|
return E(actions).receive(paymentP);
|
|
869
869
|
},
|
|
@@ -1987,7 +1987,10 @@ export function makeWalletRoot({
|
|
|
1987
1987
|
.then(addInviteDepositFacet);
|
|
1988
1988
|
zoeInvitePurse = wallet.getPurse(ZOE_INVITE_PURSE_PETNAME);
|
|
1989
1989
|
|
|
1990
|
-
await E(myAddressNameAdmin).update(
|
|
1990
|
+
await E(myAddressNameAdmin).update(
|
|
1991
|
+
WalletName.depositFacet,
|
|
1992
|
+
selfDepositFacet,
|
|
1993
|
+
);
|
|
1991
1994
|
};
|
|
1992
1995
|
|
|
1993
1996
|
// Importing assets as virtual purses from the bank is a highly-trusted path.
|