@agoric/wallet 0.18.4-dev-0705f2c.0 → 0.18.4-dev-a9680dd.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/api/bundles/bundle-wallet-js-meta.json +122 -122
- package/api/bundles/bundle-wallet.js +1 -1
- package/api/deploy.js +1 -1
- package/api/package.json +14 -14
- package/api/src/findOrMakeInvitation.js +1 -1
- package/api/src/issuerTable.js +1 -1
- package/api/src/lib-dehydrate.js +1 -1
- package/api/src/lib-wallet.js +2 -2
- package/api/test/lib-wallet.test.js +4 -5
- package/package.json +2 -2
package/api/deploy.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// Agoric wallet deployment script.
|
|
3
3
|
// FIXME: This is just hacked together for the legacy wallet.
|
|
4
4
|
|
|
5
|
+
import { Fail } from '@endo/errors';
|
|
5
6
|
import { E } from '@endo/eventual-send';
|
|
6
|
-
import { Fail } from '@agoric/assert';
|
|
7
7
|
import path from 'path';
|
|
8
8
|
|
|
9
9
|
const dirname = path.dirname(new URL(import.meta.url).pathname);
|
package/api/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-a9680dd.0+a9680dd",
|
|
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-a9680dd.0+a9680dd",
|
|
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/
|
|
25
|
-
"@agoric/
|
|
26
|
-
"@agoric/
|
|
27
|
-
"@agoric/
|
|
28
|
-
"@agoric/
|
|
29
|
-
"@agoric/
|
|
30
|
-
"@agoric/
|
|
31
|
-
"@agoric/
|
|
32
|
-
"@agoric/
|
|
33
|
-
"@agoric/
|
|
34
|
-
"@
|
|
24
|
+
"@agoric/cache": "0.3.3-dev-a9680dd.0+a9680dd",
|
|
25
|
+
"@agoric/ertp": "0.16.3-dev-a9680dd.0+a9680dd",
|
|
26
|
+
"@agoric/internal": "0.3.3-dev-a9680dd.0+a9680dd",
|
|
27
|
+
"@agoric/notifier": "0.6.3-dev-a9680dd.0+a9680dd",
|
|
28
|
+
"@agoric/smart-wallet": "0.5.4-dev-a9680dd.0+a9680dd",
|
|
29
|
+
"@agoric/store": "0.9.3-dev-a9680dd.0+a9680dd",
|
|
30
|
+
"@agoric/time": "0.3.3-dev-a9680dd.0+a9680dd",
|
|
31
|
+
"@agoric/vat-data": "0.5.3-dev-a9680dd.0+a9680dd",
|
|
32
|
+
"@agoric/zoe": "0.26.3-dev-a9680dd.0+a9680dd",
|
|
33
|
+
"@agoric/zone": "0.2.3-dev-a9680dd.0+a9680dd",
|
|
34
|
+
"@endo/errors": "^1.2.2",
|
|
35
35
|
"@endo/eventual-send": "^1.2.2",
|
|
36
36
|
"@endo/marshal": "^1.5.0",
|
|
37
37
|
"@endo/nat": "^5.0.7",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"typeCoverage": {
|
|
66
66
|
"atLeast": 0
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "a9680dd04485e4a63c4fcd588ec38d2558243877"
|
|
69
69
|
}
|
package/api/src/issuerTable.js
CHANGED
package/api/src/lib-dehydrate.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// @ts-check
|
|
2
2
|
|
|
3
|
+
import { assert, Fail, q } from '@endo/errors';
|
|
3
4
|
import { makeMarshal, mapIterable } from '@endo/marshal';
|
|
4
5
|
import { makeLegacyMap, makeScalarMapStore } from '@agoric/store';
|
|
5
|
-
import { assert, Fail, q } from '@agoric/assert';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @typedef {string[]} Path
|
package/api/src/lib-wallet.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* and dapps.
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
import { assert, q, Fail } from '@
|
|
14
|
+
import { assert, q, Fail } from '@endo/errors';
|
|
15
15
|
import { makeScalarStoreCoordinator } from '@agoric/cache';
|
|
16
16
|
import { objectMap, WalletName } from '@agoric/internal';
|
|
17
17
|
import { slotStringUnserialize } from '@agoric/internal/src/storage-test-utils.js';
|
|
@@ -1682,7 +1682,7 @@ export function makeWalletRoot({
|
|
|
1682
1682
|
(kind, lookup) =>
|
|
1683
1683
|
(...path) => {
|
|
1684
1684
|
path.length === 1 ||
|
|
1685
|
-
Fail`${
|
|
1685
|
+
Fail`${q(
|
|
1686
1686
|
kind,
|
|
1687
1687
|
)} lookup must be called with a single offer ID, not ${path}`;
|
|
1688
1688
|
return lookup(path[0]);
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
// @ts-check
|
|
2
2
|
import { test as anyTest } from '@agoric/zoe/tools/prepare-test-env-ava.js';
|
|
3
3
|
|
|
4
|
+
import { assert } from '@endo/errors';
|
|
5
|
+
import { E } from '@endo/eventual-send';
|
|
4
6
|
import bundleSource from '@endo/bundle-source';
|
|
5
|
-
import { makeCache } from '@agoric/cache';
|
|
6
|
-
import { makeIssuerKit, AmountMath, AssetKind } from '@agoric/ertp';
|
|
7
7
|
|
|
8
8
|
import { M } from '@agoric/store';
|
|
9
|
-
|
|
9
|
+
import { makeCache } from '@agoric/cache';
|
|
10
|
+
import { makeIssuerKit, AmountMath, AssetKind } from '@agoric/ertp';
|
|
10
11
|
import { makeZoeForTest } from '@agoric/zoe/tools/setup-zoe.js';
|
|
11
|
-
import { E } from '@endo/eventual-send';
|
|
12
12
|
|
|
13
|
-
import { assert } from '@agoric/assert';
|
|
14
13
|
import { makeFakeBoard } from '@agoric/vats/tools/board-utils.js';
|
|
15
14
|
import {
|
|
16
15
|
makeNameHubKit,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/wallet",
|
|
3
|
-
"version": "0.18.4-dev-
|
|
3
|
+
"version": "0.18.4-dev-a9680dd.0+a9680dd",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "a9680dd04485e4a63c4fcd588ec38d2558243877"
|
|
31
31
|
}
|