@agoric/smart-wallet 0.5.4-dev-8943c95.0 → 0.5.4-dev-ed76c8b.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/smart-wallet",
3
- "version": "0.5.4-dev-8943c95.0+8943c95",
3
+ "version": "0.5.4-dev-ed76c8b.0+ed76c8b",
4
4
  "description": "Wallet contract",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -17,8 +17,9 @@
17
17
  "lint:eslint": "eslint ."
18
18
  },
19
19
  "devDependencies": {
20
- "@agoric/cosmic-proto": "0.4.1-dev-8943c95.0+8943c95",
21
- "@agoric/swingset-vat": "0.32.3-dev-8943c95.0+8943c95",
20
+ "@agoric/casting": "0.4.3-dev-ed76c8b.0+ed76c8b",
21
+ "@agoric/cosmic-proto": "0.4.1-dev-ed76c8b.0+ed76c8b",
22
+ "@agoric/swingset-vat": "0.32.3-dev-ed76c8b.0+ed76c8b",
22
23
  "@endo/bundle-source": "^3.4.2",
23
24
  "@endo/captp": "^4.4.2",
24
25
  "@endo/init": "^1.1.6",
@@ -26,16 +27,15 @@
26
27
  "import-meta-resolve": "^2.2.1"
27
28
  },
28
29
  "dependencies": {
29
- "@agoric/casting": "0.4.3-dev-8943c95.0+8943c95",
30
- "@agoric/ertp": "0.16.3-dev-8943c95.0+8943c95",
31
- "@agoric/internal": "0.3.3-dev-8943c95.0+8943c95",
32
- "@agoric/notifier": "0.6.3-dev-8943c95.0+8943c95",
33
- "@agoric/store": "0.9.3-dev-8943c95.0+8943c95",
34
- "@agoric/vat-data": "0.5.3-dev-8943c95.0+8943c95",
35
- "@agoric/vats": "0.15.2-dev-8943c95.0+8943c95",
36
- "@agoric/vow": "0.1.1-dev-8943c95.0+8943c95",
37
- "@agoric/zoe": "0.26.3-dev-8943c95.0+8943c95",
38
- "@agoric/zone": "0.2.3-dev-8943c95.0+8943c95",
30
+ "@agoric/ertp": "0.16.3-dev-ed76c8b.0+ed76c8b",
31
+ "@agoric/internal": "0.3.3-dev-ed76c8b.0+ed76c8b",
32
+ "@agoric/notifier": "0.6.3-dev-ed76c8b.0+ed76c8b",
33
+ "@agoric/store": "0.9.3-dev-ed76c8b.0+ed76c8b",
34
+ "@agoric/vat-data": "0.5.3-dev-ed76c8b.0+ed76c8b",
35
+ "@agoric/vats": "0.15.2-dev-ed76c8b.0+ed76c8b",
36
+ "@agoric/vow": "0.1.1-dev-ed76c8b.0+ed76c8b",
37
+ "@agoric/zoe": "0.26.3-dev-ed76c8b.0+ed76c8b",
38
+ "@agoric/zone": "0.2.3-dev-ed76c8b.0+ed76c8b",
39
39
  "@endo/errors": "^1.2.7",
40
40
  "@endo/eventual-send": "^1.2.7",
41
41
  "@endo/far": "^1.1.8",
@@ -72,5 +72,5 @@
72
72
  "typeCoverage": {
73
73
  "atLeast": 94.51
74
74
  },
75
- "gitHead": "8943c95a902b5c99b1ebb64247cf173d2409e299"
75
+ "gitHead": "ed76c8bfcb09a9c8675bea4524b7b994b9c74f41"
76
76
  }
package/src/types.d.ts CHANGED
@@ -6,7 +6,9 @@
6
6
  */
7
7
  import type { AgoricNamesRemotes } from '@agoric/vats/tools/board-utils.js';
8
8
  import type { PublicTopic } from '@agoric/zoe/src/contractSupport/topics.js';
9
+ import type { Payment } from '@agoric/ertp';
9
10
  import type { OfferSpec } from './offers.js';
11
+ type Invitation = Payment<'set'>;
10
12
  /**
11
13
  * A petname can either be a plain string or a path for which the first element
12
14
  * is a petname for the origin, and the rest of the elements are a snapshot of
@@ -64,4 +66,5 @@ export type WalletBridgeMsg = WalletActionMsg | WalletSpendActionMsg;
64
66
  * Used for clientSupport helpers
65
67
  */
66
68
  export type OfferMaker = (agoricNames: AgoricNamesRemotes, ...rest: any[]) => OfferSpec;
69
+ export {};
67
70
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot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,CAAC;IACd,sCAAsC;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,qBAAqB,CAAC;IAC5B,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,GAAG,eAAe,GAAG,oBAAoB,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,CACvB,WAAW,EAAE,kBAAkB,EAC/B,GAAG,IAAI,EAAE,GAAG,EAAE,KACX,SAAS,CAAC"}
package/src/types.ts CHANGED
@@ -8,10 +8,15 @@
8
8
  import type { agoric } from '@agoric/cosmic-proto/agoric/bundle.js';
9
9
  import type { AgoricNamesRemotes } from '@agoric/vats/tools/board-utils.js';
10
10
  import type { PublicTopic } from '@agoric/zoe/src/contractSupport/topics.js';
11
+ import type { Payment } from '@agoric/ertp';
11
12
  import type { OfferSpec } from './offers.js';
12
13
 
13
14
  declare const CapDataShape: unique symbol;
14
15
 
16
+ // Match the type in Zoe, which can't be imported because it's ambient.
17
+ // This omits the parameters that aren't used in this module.
18
+ type Invitation = Payment<'set'>;
19
+
15
20
  /**
16
21
  * A petname can either be a plain string or a path for which the first element
17
22
  * is a petname for the origin, and the rest of the elements are a snapshot of