agoric 0.21.2-dev-aa68d8f.0 → 0.21.2-dev-96c9ff5.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 +31 -31
- package/src/lib/format.js +2 -0
- package/src/lib/wallet.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agoric",
|
|
3
|
-
"version": "0.21.2-dev-
|
|
3
|
+
"version": "0.21.2-dev-96c9ff5.0+96c9ff5",
|
|
4
4
|
"description": "Manage the Agoric Javascript smart contract platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/main.js",
|
|
@@ -29,45 +29,45 @@
|
|
|
29
29
|
"lint:eslint": "eslint ."
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@agoric/cosmic-swingset": "0.41.4-dev-
|
|
33
|
-
"@agoric/deploy-script-support": "0.10.4-dev-
|
|
32
|
+
"@agoric/cosmic-swingset": "0.41.4-dev-96c9ff5.0+96c9ff5",
|
|
33
|
+
"@agoric/deploy-script-support": "0.10.4-dev-96c9ff5.0+96c9ff5",
|
|
34
34
|
"ava": "^5.3.0",
|
|
35
35
|
"c8": "^9.1.0",
|
|
36
36
|
"dd-trace": "^4.11.1"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@agoric/access-token": "0.4.22-dev-
|
|
40
|
-
"@agoric/assert": "0.6.1-dev-
|
|
41
|
-
"@agoric/cache": "0.3.3-dev-
|
|
42
|
-
"@agoric/casting": "0.4.3-dev-
|
|
43
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
44
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
45
|
-
"@agoric/governance": "0.10.4-dev-
|
|
46
|
-
"@agoric/inter-protocol": "0.16.2-dev-
|
|
47
|
-
"@agoric/internal": "0.3.3-dev-
|
|
48
|
-
"@agoric/network": "0.1.1-dev-
|
|
49
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
50
|
-
"@agoric/store": "0.9.3-dev-
|
|
51
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
52
|
-
"@agoric/vats": "0.15.2-dev-
|
|
53
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
54
|
-
"@agoric/zone": "0.2.3-dev-
|
|
39
|
+
"@agoric/access-token": "0.4.22-dev-96c9ff5.0+96c9ff5",
|
|
40
|
+
"@agoric/assert": "0.6.1-dev-96c9ff5.0+96c9ff5",
|
|
41
|
+
"@agoric/cache": "0.3.3-dev-96c9ff5.0+96c9ff5",
|
|
42
|
+
"@agoric/casting": "0.4.3-dev-96c9ff5.0+96c9ff5",
|
|
43
|
+
"@agoric/cosmic-proto": "0.4.1-dev-96c9ff5.0+96c9ff5",
|
|
44
|
+
"@agoric/ertp": "0.16.3-dev-96c9ff5.0+96c9ff5",
|
|
45
|
+
"@agoric/governance": "0.10.4-dev-96c9ff5.0+96c9ff5",
|
|
46
|
+
"@agoric/inter-protocol": "0.16.2-dev-96c9ff5.0+96c9ff5",
|
|
47
|
+
"@agoric/internal": "0.3.3-dev-96c9ff5.0+96c9ff5",
|
|
48
|
+
"@agoric/network": "0.1.1-dev-96c9ff5.0+96c9ff5",
|
|
49
|
+
"@agoric/smart-wallet": "0.5.4-dev-96c9ff5.0+96c9ff5",
|
|
50
|
+
"@agoric/store": "0.9.3-dev-96c9ff5.0+96c9ff5",
|
|
51
|
+
"@agoric/swingset-vat": "0.32.3-dev-96c9ff5.0+96c9ff5",
|
|
52
|
+
"@agoric/vats": "0.15.2-dev-96c9ff5.0+96c9ff5",
|
|
53
|
+
"@agoric/zoe": "0.26.3-dev-96c9ff5.0+96c9ff5",
|
|
54
|
+
"@agoric/zone": "0.2.3-dev-96c9ff5.0+96c9ff5",
|
|
55
55
|
"@confio/relayer": "^0.11.3",
|
|
56
56
|
"@cosmjs/crypto": "^0.32.3",
|
|
57
57
|
"@cosmjs/encoding": "^0.32.3",
|
|
58
58
|
"@cosmjs/math": "^0.32.3",
|
|
59
59
|
"@cosmjs/proto-signing": "^0.32.3",
|
|
60
60
|
"@cosmjs/stargate": "^0.32.3",
|
|
61
|
-
"@endo/bundle-source": "^3.2.
|
|
62
|
-
"@endo/captp": "^4.
|
|
63
|
-
"@endo/compartment-mapper": "^1.1.
|
|
64
|
-
"@endo/env-options": "^1.1.
|
|
65
|
-
"@endo/far": "^1.1.
|
|
66
|
-
"@endo/init": "^1.1.
|
|
67
|
-
"@endo/marshal": "^1.
|
|
68
|
-
"@endo/nat": "^5.0.
|
|
69
|
-
"@endo/patterns": "^1.
|
|
70
|
-
"@endo/promise-kit": "^1.1.
|
|
61
|
+
"@endo/bundle-source": "^3.2.3",
|
|
62
|
+
"@endo/captp": "^4.2.0",
|
|
63
|
+
"@endo/compartment-mapper": "^1.1.5",
|
|
64
|
+
"@endo/env-options": "^1.1.4",
|
|
65
|
+
"@endo/far": "^1.1.2",
|
|
66
|
+
"@endo/init": "^1.1.2",
|
|
67
|
+
"@endo/marshal": "^1.5.0",
|
|
68
|
+
"@endo/nat": "^5.0.7",
|
|
69
|
+
"@endo/patterns": "^1.4.0",
|
|
70
|
+
"@endo/promise-kit": "^1.1.2",
|
|
71
71
|
"@iarna/toml": "^2.2.3",
|
|
72
72
|
"anylogger": "^0.21.0",
|
|
73
73
|
"chalk": "^5.2.0",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"workerThreads": false
|
|
99
99
|
},
|
|
100
100
|
"typeCoverage": {
|
|
101
|
-
"atLeast": 76.
|
|
101
|
+
"atLeast": 76.88
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "96c9ff577fe14cebeb5a38543ba7f8598ffcd0c7"
|
|
104
104
|
}
|
package/src/lib/format.js
CHANGED
|
@@ -54,7 +54,9 @@ export const makeAmountFormatter = assets => amt => {
|
|
|
54
54
|
return [issuerName, Number(value) / 10 ** decimalPlaces];
|
|
55
55
|
case 'set':
|
|
56
56
|
assert(Array.isArray(value));
|
|
57
|
+
// @ts-expect-error narrowed
|
|
57
58
|
if (value[0]?.handle?.iface?.includes('InvitationHandle')) {
|
|
59
|
+
// @ts-expect-error narrowed
|
|
58
60
|
return [issuerName, value.map(v => v.description)];
|
|
59
61
|
}
|
|
60
62
|
return [issuerName, value];
|
package/src/lib/wallet.js
CHANGED
|
@@ -187,7 +187,7 @@ export const sendAction = async (bridgeAction, opts) => {
|
|
|
187
187
|
*/
|
|
188
188
|
export const findContinuingIds = (current, agoricNames) => {
|
|
189
189
|
// XXX should runtime type-check
|
|
190
|
-
/** @type {{ offerToUsedInvitation: [string,
|
|
190
|
+
/** @type {{ offerToUsedInvitation: [string, InvitationAmount][]}} */
|
|
191
191
|
const { offerToUsedInvitation: entries } = /** @type {any} */ (current);
|
|
192
192
|
|
|
193
193
|
Array.isArray(entries) || Fail`entries must be an array: ${entries}`;
|