@agoric/wallet-backend 0.14.4-dev-c11fecb.0 → 0.14.4-dev-9b5b61a.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/wallet-backend",
|
|
3
|
-
"version": "0.14.4-dev-
|
|
3
|
+
"version": "0.14.4-dev-9b5b61a.0+9b5b61a",
|
|
4
4
|
"description": "Wallet backend",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -14,24 +14,24 @@
|
|
|
14
14
|
"lint:eslint": "eslint ."
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@agoric/vats": "0.15.2-dev-
|
|
17
|
+
"@agoric/vats": "0.15.2-dev-9b5b61a.0+9b5b61a",
|
|
18
18
|
"@endo/bundle-source": "^3.2.3",
|
|
19
19
|
"@endo/far": "^1.1.2",
|
|
20
20
|
"@endo/init": "^1.1.2",
|
|
21
21
|
"ava": "^5.3.0"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@agoric/assert": "0.6.1-dev-
|
|
25
|
-
"@agoric/cache": "0.3.3-dev-
|
|
26
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
27
|
-
"@agoric/internal": "0.3.3-dev-
|
|
28
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
29
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
30
|
-
"@agoric/store": "0.9.3-dev-
|
|
31
|
-
"@agoric/time": "0.3.3-dev-
|
|
32
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
33
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
34
|
-
"@agoric/zone": "0.2.3-dev-
|
|
24
|
+
"@agoric/assert": "0.6.1-dev-9b5b61a.0+9b5b61a",
|
|
25
|
+
"@agoric/cache": "0.3.3-dev-9b5b61a.0+9b5b61a",
|
|
26
|
+
"@agoric/ertp": "0.16.3-dev-9b5b61a.0+9b5b61a",
|
|
27
|
+
"@agoric/internal": "0.3.3-dev-9b5b61a.0+9b5b61a",
|
|
28
|
+
"@agoric/notifier": "0.6.3-dev-9b5b61a.0+9b5b61a",
|
|
29
|
+
"@agoric/smart-wallet": "0.5.4-dev-9b5b61a.0+9b5b61a",
|
|
30
|
+
"@agoric/store": "0.9.3-dev-9b5b61a.0+9b5b61a",
|
|
31
|
+
"@agoric/time": "0.3.3-dev-9b5b61a.0+9b5b61a",
|
|
32
|
+
"@agoric/vat-data": "0.5.3-dev-9b5b61a.0+9b5b61a",
|
|
33
|
+
"@agoric/zoe": "0.26.3-dev-9b5b61a.0+9b5b61a",
|
|
34
|
+
"@agoric/zone": "0.2.3-dev-9b5b61a.0+9b5b61a",
|
|
35
35
|
"@endo/eventual-send": "^1.2.2",
|
|
36
36
|
"@endo/marshal": "^1.5.0",
|
|
37
37
|
"@endo/nat": "^5.0.7",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"typeCoverage": {
|
|
67
67
|
"atLeast": 0
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "9b5b61af3496abdd21313e5373913920b9cf2e3f"
|
|
70
70
|
}
|
|
@@ -101,7 +101,9 @@ const makeInvitation = async (
|
|
|
101
101
|
board,
|
|
102
102
|
zoe,
|
|
103
103
|
) => {
|
|
104
|
-
const instance =
|
|
104
|
+
const instance = /** @type {Promise<Instance>} */ (
|
|
105
|
+
E(board).getValue(instanceHandleBoardId)
|
|
106
|
+
);
|
|
105
107
|
const publicFacet = E(zoe).getPublicFacet(instance);
|
|
106
108
|
const { method, args = [] } = invitationMaker;
|
|
107
109
|
|
package/test/lib-wallet.test.js
CHANGED
|
@@ -300,12 +300,12 @@ test('lib-wallet dapp suggests issuer, instance, installation petnames', async t
|
|
|
300
300
|
const {
|
|
301
301
|
board,
|
|
302
302
|
automaticRefundInvitation,
|
|
303
|
-
autoswapInstallationHandle,
|
|
304
303
|
automaticRefundInstance,
|
|
305
304
|
wallet,
|
|
306
305
|
pursesStateChangeLog,
|
|
307
306
|
inboxStateChangeLog,
|
|
308
307
|
} = await setupTest(t, { autoswap: true, automaticRefund: true });
|
|
308
|
+
const { autoswapInstallation: autoswapInstallationHandle } = t.context;
|
|
309
309
|
|
|
310
310
|
const { issuer: bucksIssuer } = makeIssuerKit('bucks');
|
|
311
311
|
const bucksIssuerBoardId = await E(board).getId(bucksIssuer);
|