@agoric/wallet-backend 0.13.4-dev-9ceb479.0 → 0.13.4-dev-398b70f.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 +111 -99
- package/bundles/bundle-wallet.js +1 -1
- package/package.json +14 -14
- package/test/test-lib-wallet.js +7 -7
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-398b70f.0+398b70f",
|
|
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-398b70f.0+398b70f",
|
|
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-398b70f.0+398b70f",
|
|
24
|
+
"@agoric/cache": "0.2.4-dev-398b70f.0+398b70f",
|
|
25
|
+
"@agoric/ertp": "0.15.4-dev-398b70f.0+398b70f",
|
|
26
|
+
"@agoric/inter-protocol": "0.13.2-dev-398b70f.0+398b70f",
|
|
27
|
+
"@agoric/internal": "0.2.2-dev-398b70f.0+398b70f",
|
|
28
|
+
"@agoric/notifier": "0.5.2-dev-398b70f.0+398b70f",
|
|
29
|
+
"@agoric/smart-wallet": "0.4.3-dev-398b70f.0+398b70f",
|
|
30
|
+
"@agoric/store": "0.8.4-dev-398b70f.0+398b70f",
|
|
31
|
+
"@agoric/time": "0.2.2-dev-398b70f.0+398b70f",
|
|
32
|
+
"@agoric/vat-data": "0.4.4-dev-398b70f.0+398b70f",
|
|
33
|
+
"@agoric/zoe": "0.25.4-dev-398b70f.0+398b70f",
|
|
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": "398b70f7e028f957afc1582f0ee31eb2574c94d0"
|
|
62
62
|
}
|
package/test/test-lib-wallet.js
CHANGED
|
@@ -428,7 +428,7 @@ test('lib-wallet dapp suggests issuer, instance, installation petnames', async t
|
|
|
428
428
|
assert(Array.isArray(invitationAmountValue2));
|
|
429
429
|
const [{ handle: inviteHandle2 }] = invitationAmountValue2;
|
|
430
430
|
|
|
431
|
-
await waitForUpdate(
|
|
431
|
+
await waitForUpdate(wallet.getPursesNotifier(), () =>
|
|
432
432
|
wallet.deposit('Default Zoe invite purse', invite2),
|
|
433
433
|
);
|
|
434
434
|
|
|
@@ -477,7 +477,7 @@ test('lib-wallet dapp suggests issuer, instance, installation petnames', async t
|
|
|
477
477
|
{ kind: 'brand', petname: 'zoe invite' },
|
|
478
478
|
{ kind: 'unnamed', petname: 'unnamed-4' },
|
|
479
479
|
{ kind: 'unnamed', petname: 'unnamed-2' },
|
|
480
|
-
{ kind: 'unnamed', petname: 'unnamed-
|
|
480
|
+
{ kind: 'unnamed', petname: 'unnamed-1' },
|
|
481
481
|
],
|
|
482
482
|
},
|
|
483
483
|
currentAmount: {
|
|
@@ -487,7 +487,7 @@ test('lib-wallet dapp suggests issuer, instance, installation petnames', async t
|
|
|
487
487
|
description: 'getRefund',
|
|
488
488
|
handle: { kind: 'unnamed', petname: 'unnamed-4' },
|
|
489
489
|
installation: { kind: 'unnamed', petname: 'unnamed-2' },
|
|
490
|
-
instance: { kind: 'unnamed', petname: 'unnamed-
|
|
490
|
+
instance: { kind: 'unnamed', petname: 'unnamed-1' },
|
|
491
491
|
},
|
|
492
492
|
],
|
|
493
493
|
},
|
|
@@ -597,7 +597,7 @@ test('lib-wallet dapp suggests issuer, instance, installation petnames', async t
|
|
|
597
597
|
description: 'getRefund',
|
|
598
598
|
handle: {
|
|
599
599
|
kind: 'unnamed',
|
|
600
|
-
petname: 'unnamed-
|
|
600
|
+
petname: 'unnamed-3',
|
|
601
601
|
},
|
|
602
602
|
installation: {
|
|
603
603
|
kind: 'installation',
|
|
@@ -735,7 +735,7 @@ test('lib-wallet dapp suggests issuer, instance, installation petnames', async t
|
|
|
735
735
|
description: 'getRefund',
|
|
736
736
|
handle: {
|
|
737
737
|
kind: 'unnamed',
|
|
738
|
-
petname: 'unnamed-
|
|
738
|
+
petname: 'unnamed-3',
|
|
739
739
|
},
|
|
740
740
|
installation: {
|
|
741
741
|
kind: 'installation',
|
|
@@ -970,7 +970,7 @@ test('lib-wallet offer methods', async t => {
|
|
|
970
970
|
},
|
|
971
971
|
instance: {
|
|
972
972
|
kind: 'unnamed',
|
|
973
|
-
petname: 'unnamed-
|
|
973
|
+
petname: 'unnamed-1',
|
|
974
974
|
},
|
|
975
975
|
},
|
|
976
976
|
inviteHandleBoardId: 'board0257',
|
|
@@ -984,7 +984,7 @@ test('lib-wallet offer methods', async t => {
|
|
|
984
984
|
},
|
|
985
985
|
requestContext: { dappOrigin: 'unknown' },
|
|
986
986
|
status: 'decline',
|
|
987
|
-
instancePetname: 'unnamed-
|
|
987
|
+
instancePetname: 'unnamed-1',
|
|
988
988
|
installationPetname: 'unnamed-2',
|
|
989
989
|
proposalForDisplay: {
|
|
990
990
|
give: {
|