@agoric/smart-wallet 0.5.4-dev-24528f1.0 → 0.5.4-dev-3f2cb5c.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 +15 -15
- package/src/invitations.js +4 -4
- package/src/offerWatcher.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/smart-wallet",
|
|
3
|
-
"version": "0.5.4-dev-
|
|
3
|
+
"version": "0.5.4-dev-3f2cb5c.0+3f2cb5c",
|
|
4
4
|
"description": "Wallet contract",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"lint:eslint": "eslint ."
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
20
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
19
|
+
"@agoric/cosmic-proto": "0.4.1-dev-3f2cb5c.0+3f2cb5c",
|
|
20
|
+
"@agoric/swingset-vat": "0.32.3-dev-3f2cb5c.0+3f2cb5c",
|
|
21
21
|
"@endo/bundle-source": "^3.2.3",
|
|
22
22
|
"@endo/captp": "^4.2.0",
|
|
23
23
|
"@endo/init": "^1.1.2",
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
"import-meta-resolve": "^2.2.1"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@agoric/casting": "0.4.3-dev-
|
|
29
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
30
|
-
"@agoric/internal": "0.3.3-dev-
|
|
31
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
32
|
-
"@agoric/store": "0.9.3-dev-
|
|
33
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
34
|
-
"@agoric/vats": "0.15.2-dev-
|
|
35
|
-
"@agoric/vow": "0.1.1-dev-
|
|
36
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
37
|
-
"@agoric/zone": "0.2.3-dev-
|
|
28
|
+
"@agoric/casting": "0.4.3-dev-3f2cb5c.0+3f2cb5c",
|
|
29
|
+
"@agoric/ertp": "0.16.3-dev-3f2cb5c.0+3f2cb5c",
|
|
30
|
+
"@agoric/internal": "0.3.3-dev-3f2cb5c.0+3f2cb5c",
|
|
31
|
+
"@agoric/notifier": "0.6.3-dev-3f2cb5c.0+3f2cb5c",
|
|
32
|
+
"@agoric/store": "0.9.3-dev-3f2cb5c.0+3f2cb5c",
|
|
33
|
+
"@agoric/vat-data": "0.5.3-dev-3f2cb5c.0+3f2cb5c",
|
|
34
|
+
"@agoric/vats": "0.15.2-dev-3f2cb5c.0+3f2cb5c",
|
|
35
|
+
"@agoric/vow": "0.1.1-dev-3f2cb5c.0+3f2cb5c",
|
|
36
|
+
"@agoric/zoe": "0.26.3-dev-3f2cb5c.0+3f2cb5c",
|
|
37
|
+
"@agoric/zone": "0.2.3-dev-3f2cb5c.0+3f2cb5c",
|
|
38
38
|
"@endo/errors": "^1.2.2",
|
|
39
39
|
"@endo/eventual-send": "^1.2.2",
|
|
40
40
|
"@endo/far": "^1.1.2",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
71
|
"typeCoverage": {
|
|
72
|
-
"atLeast": 94.
|
|
72
|
+
"atLeast": 94.51
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "3f2cb5ca05d2514ceef73764618536263ef7a835"
|
|
75
75
|
}
|
package/src/invitations.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Fail } from '@endo/errors';
|
|
2
|
-
import { E } from '@endo/far';
|
|
3
1
|
import { AmountMath } from '@agoric/ertp';
|
|
4
2
|
import { mustMatch } from '@agoric/store';
|
|
5
|
-
import {
|
|
3
|
+
import { InvitationShape } from '@agoric/zoe/src/typeGuards.js';
|
|
4
|
+
import { Fail } from '@endo/errors';
|
|
5
|
+
import { E } from '@endo/far';
|
|
6
6
|
import { shape } from './typeGuards.js';
|
|
7
7
|
|
|
8
8
|
// A safety limit
|
|
@@ -92,7 +92,7 @@ export const makeInvitationsHelper = (
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
const invitation = await eref;
|
|
95
|
-
mustMatch(invitation,
|
|
95
|
+
mustMatch(invitation, InvitationShape);
|
|
96
96
|
return invitation;
|
|
97
97
|
},
|
|
98
98
|
/** @type {(spec: ContractInvitationSpec) => Promise<Invitation>} */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offerWatcher.d.ts","sourceRoot":"","sources":["offerWatcher.js"],"names":[],"mappings":"AAwEO,iDADK,QAAQ,cAKP,eAAe,QACf,QAAQ,kBAYpB;AAmCM,6CAHI,OAAO,YACP,QAAQ;aAWO,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,MAAM,CAAC;+
|
|
1
|
+
{"version":3,"file":"offerWatcher.d.ts","sourceRoot":"","sources":["offerWatcher.js"],"names":[],"mappings":"AAwEO,iDADK,QAAQ,cAKP,eAAe,QACf,QAAQ,kBAYpB;AAmCM,6CAHI,OAAO,YACP,QAAQ;aAWO,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,MAAM,CAAC;+KA4FrD,WAAM;;QA5ER;;WAEG;yCADQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;QAQlC;;;;;WAKG;sCAJQ,MAAM,oBACN,MAAM,CAAC,KAAK,CAAC,oBACb,OAAO,YAAY,EAAE,gBAAgB,qBACrC,OAAO,YAAY,EAAE,iBAAiB;QAkBjD,uDAAuD;8BAA3C,QAAQ,GAAG,qBAAqB;QAoC5C;;;;;;WAMG;yBADQ,KAAK;;IAclB,gDAAgD;oBAArC,eAAe,CAAC,gBAAgB,CAAC;IA+B5C,+CAA+C;mBAApC,eAAe,CAAC,eAAe,CAAC;IA0B3C,iDAAiD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