@agoric/smart-wallet 0.5.4-dev-1321e4f.0.1321e4f → 0.5.4-dev-409d5b4.0.409d5b4

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-1321e4f.0.1321e4f",
3
+ "version": "0.5.4-dev-409d5b4.0.409d5b4",
4
4
  "description": "Wallet contract",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -18,9 +18,9 @@
18
18
  "lint:eslint": "yarn run -T eslint ."
19
19
  },
20
20
  "devDependencies": {
21
- "@agoric/casting": "0.4.3-dev-1321e4f.0.1321e4f",
22
- "@agoric/cosmic-proto": "0.4.1-dev-1321e4f.0.1321e4f",
23
- "@agoric/swingset-vat": "0.32.3-dev-1321e4f.0.1321e4f",
21
+ "@agoric/casting": "0.4.3-dev-409d5b4.0.409d5b4",
22
+ "@agoric/cosmic-proto": "0.4.1-dev-409d5b4.0.409d5b4",
23
+ "@agoric/swingset-vat": "0.32.3-dev-409d5b4.0.409d5b4",
24
24
  "@endo/bundle-source": "^4.1.2",
25
25
  "@endo/captp": "^4.4.8",
26
26
  "@endo/init": "^1.1.12",
@@ -28,15 +28,15 @@
28
28
  "import-meta-resolve": "^4.1.0"
29
29
  },
30
30
  "dependencies": {
31
- "@agoric/ertp": "0.16.3-dev-1321e4f.0.1321e4f",
32
- "@agoric/internal": "0.3.3-dev-1321e4f.0.1321e4f",
33
- "@agoric/notifier": "0.6.3-dev-1321e4f.0.1321e4f",
34
- "@agoric/store": "0.9.3-dev-1321e4f.0.1321e4f",
35
- "@agoric/vat-data": "0.5.3-dev-1321e4f.0.1321e4f",
36
- "@agoric/vats": "0.15.2-dev-1321e4f.0.1321e4f",
37
- "@agoric/vow": "0.1.1-dev-1321e4f.0.1321e4f",
38
- "@agoric/zoe": "0.26.3-dev-1321e4f.0.1321e4f",
39
- "@agoric/zone": "0.2.3-dev-1321e4f.0.1321e4f",
31
+ "@agoric/ertp": "0.16.3-dev-409d5b4.0.409d5b4",
32
+ "@agoric/internal": "0.3.3-dev-409d5b4.0.409d5b4",
33
+ "@agoric/notifier": "0.6.3-dev-409d5b4.0.409d5b4",
34
+ "@agoric/store": "0.9.3-dev-409d5b4.0.409d5b4",
35
+ "@agoric/vat-data": "0.5.3-dev-409d5b4.0.409d5b4",
36
+ "@agoric/vats": "0.15.2-dev-409d5b4.0.409d5b4",
37
+ "@agoric/vow": "0.1.1-dev-409d5b4.0.409d5b4",
38
+ "@agoric/zoe": "0.26.3-dev-409d5b4.0.409d5b4",
39
+ "@agoric/zone": "0.2.3-dev-409d5b4.0.409d5b4",
40
40
  "@endo/errors": "^1.2.13",
41
41
  "@endo/eventual-send": "^1.3.4",
42
42
  "@endo/far": "^1.1.14",
@@ -72,10 +72,10 @@
72
72
  "access": "public"
73
73
  },
74
74
  "typeCoverage": {
75
- "atLeast": 93.64
75
+ "atLeast": 93.68
76
76
  },
77
77
  "engines": {
78
78
  "node": "^20.9 || ^22.11"
79
79
  },
80
- "gitHead": "1321e4f23e1d88f8f5b35ae00273a5ba6001e46b"
80
+ "gitHead": "409d5b473e613fa67bb2fb022ee5e785f10d6b3d"
81
81
  }
package/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
- /// <reference types="@agoric/internal/exported" />
2
- /// <reference types="@agoric/ertp/exported" />
3
- /// <reference types="@agoric/zoe/exported" />
1
+ /// <reference types="@agoric/internal/exported.js" />
2
+ /// <reference types="@agoric/ertp/exported.js" />
3
+ /// <reference types="@agoric/zoe/exported.js" />
4
4
 
5
5
  // eslint-disable-next-line import/export
6
6
  export * from './types-index.js'; // no named exports
@@ -1,5 +1,5 @@
1
1
  // @ts-check
2
- /// <reference types="@agoric/vats/src/core/types-ambient" />
2
+ /// <reference types="@agoric/vats/src/core/types-ambient.js" />
3
3
 
4
4
  import { E } from '@endo/far';
5
5
  import { makeStorageNodeChild } from '@agoric/internal/src/lib-chainStorage.js';
@@ -96,7 +96,7 @@ export const publishAgoricBrandsDisplayInfo = async ({
96
96
  };
97
97
  harden(publishAgoricBrandsDisplayInfo);
98
98
 
99
- /** @type {import('@agoric/vats/src/core/lib-boot').BootstrapManifest} */
99
+ /** @type {import('@agoric/vats/src/core/lib-boot.js').BootstrapManifest} */
100
100
  const manifest = {
101
101
  [upgradeWalletFactory.name]: {
102
102
  // include rationale for closely-held, high authority capabilities
package/src/typeGuards.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
 
7
7
  /**
8
8
  * @import {TypedPattern} from '@agoric/internal';
9
- * @import {InvokeEntryMessage, ResultPlan} from './offers';
9
+ * @import {InvokeEntryMessage, ResultPlan} from './offers.js';
10
10
  */
11
11
 
12
12
  /** @type {TypedPattern<ResultPlan>} */
package/src/utils.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  export const NO_SMART_WALLET_ERROR: "no smart wallet";
3
3
  export function makeWalletStateCoalescer(invitationBrand?: Brand<"set">): {
4
4
  state: {
5
- invitationsReceived: Map<OfferId, {
5
+ invitationsReceived: Map<string, {
6
6
  acceptedIn: OfferId;
7
7
  description: string;
8
8
  instance: Instance;
@@ -13,7 +13,7 @@ export function makeWalletStateCoalescer(invitationBrand?: Brand<"set">): {
13
13
  update: (updateRecord: import("./smartWallet.js").UpdateRecord | {}) => void;
14
14
  };
15
15
  export function coalesceUpdates(updates: ERef<Subscriber<import("./smartWallet.js").UpdateRecord>>, invitationBrand?: Brand<"set">): {
16
- invitationsReceived: Map<OfferId, {
16
+ invitationsReceived: Map<string, {
17
17
  acceptedIn: OfferId;
18
18
  description: string;
19
19
  instance: Instance;
package/src/utils.js CHANGED
@@ -19,7 +19,7 @@ export const makeWalletStateCoalescer = (invitationBrand = undefined) => {
19
19
  * keyed by description; xxx assumes unique
20
20
  *
21
21
  * @type {Map<
22
- * OfferId,
22
+ * string,
23
23
  * {
24
24
  * acceptedIn: OfferId;
25
25
  * description: string;