@agoric/smart-wallet 0.5.4-dev-b5a2ed1.0 → 0.5.4-dev-376236d.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-b5a2ed1.0+b5a2ed1",
3
+ "version": "0.5.4-dev-376236d.0+376236d",
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.3.1-dev-b5a2ed1.0+b5a2ed1",
20
- "@agoric/swingset-vat": "0.32.3-dev-b5a2ed1.0+b5a2ed1",
19
+ "@agoric/cosmic-proto": "0.3.1-dev-376236d.0+376236d",
20
+ "@agoric/swingset-vat": "0.32.3-dev-376236d.0+376236d",
21
21
  "@endo/bundle-source": "^2.7.0",
22
22
  "@endo/captp": "^3.1.4",
23
23
  "@endo/init": "^0.5.59",
@@ -25,15 +25,15 @@
25
25
  "import-meta-resolve": "^2.2.1"
26
26
  },
27
27
  "dependencies": {
28
- "@agoric/assert": "0.6.1-dev-b5a2ed1.0+b5a2ed1",
29
- "@agoric/casting": "0.4.3-dev-b5a2ed1.0+b5a2ed1",
30
- "@agoric/ertp": "0.16.3-dev-b5a2ed1.0+b5a2ed1",
31
- "@agoric/internal": "0.3.3-dev-b5a2ed1.0+b5a2ed1",
32
- "@agoric/notifier": "0.6.3-dev-b5a2ed1.0+b5a2ed1",
33
- "@agoric/store": "0.9.3-dev-b5a2ed1.0+b5a2ed1",
34
- "@agoric/vat-data": "0.5.3-dev-b5a2ed1.0+b5a2ed1",
35
- "@agoric/vats": "0.15.2-dev-b5a2ed1.0+b5a2ed1",
36
- "@agoric/zoe": "0.26.3-dev-b5a2ed1.0+b5a2ed1",
28
+ "@agoric/assert": "0.6.1-dev-376236d.0+376236d",
29
+ "@agoric/casting": "0.4.3-dev-376236d.0+376236d",
30
+ "@agoric/ertp": "0.16.3-dev-376236d.0+376236d",
31
+ "@agoric/internal": "0.3.3-dev-376236d.0+376236d",
32
+ "@agoric/notifier": "0.6.3-dev-376236d.0+376236d",
33
+ "@agoric/store": "0.9.3-dev-376236d.0+376236d",
34
+ "@agoric/vat-data": "0.5.3-dev-376236d.0+376236d",
35
+ "@agoric/vats": "0.15.2-dev-376236d.0+376236d",
36
+ "@agoric/zoe": "0.26.3-dev-376236d.0+376236d",
37
37
  "@endo/eventual-send": "^0.17.5",
38
38
  "@endo/far": "^0.2.21",
39
39
  "@endo/marshal": "^0.8.8",
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "b5a2ed18430b717a67e97ffea8a2bb457e3b3516"
69
+ "gitHead": "376236d3b2a6db628a20e320a1a84dd9e2249fc6"
70
70
  }
@@ -1,4 +1,4 @@
1
- export function makeInvitationsHelper(zoe: ERef<ZoeService>, agoricNames: ERef<NameHub>, invitationBrand: Brand<'set'>, invitationsPurse: Purse<'set'>, getInvitationContinuation: (fromOfferId: string) => import('./types').InvitationMakers): (spec: InvitationSpec) => ERef<Invitation>;
1
+ export function makeInvitationsHelper(zoe: ERef<ZoeService>, agoricNames: ERef<import('@agoric/vats').NameHub>, invitationBrand: Brand<'set'>, invitationsPurse: Purse<'set'>, getInvitationContinuation: (fromOfferId: string) => import('./types').InvitationMakers): (spec: InvitationSpec) => ERef<Invitation>;
2
2
  /**
3
3
  * Specify how to produce an invitation. See each type in the union for details.
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"invitations.d.ts","sourceRoot":"","sources":["invitations.js"],"names":[],"mappings":"AAkEO,2CANI,KAAK,UAAU,CAAC,eAChB,KAAK,OAAO,CAAC,mBACb,MAAM,KAAK,CAAC,oBACZ,MAAM,KAAK,CAAC,2CACE,MAAM,KAAK,OAAO,SAAS,EAAE,gB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AAC;IACzB,QAAU,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC;CACzD;;;;qCAMS;IACZ,MAAQ,EAAE,UAAU,CAAC;IACrB,QAAU,EAAE,QAAQ,CAAC;IACrB,qBAAuB,EAAE,MAAM,CAAC;IAChC,cAAgB,CAAC,EAAE,GAAG,EAAE,CAAC;CACtB;;;;;kCAGS;IACZ,MAAQ,EAAE,OAAO,CAAC;IAClB,QAAU,EAAE,QAAQ,CAAC;IACrB,WAAa,EAAE,MAAM,CAAC;CACnB;;;;uCAIS;IACZ,MAAQ,EAAE,YAAY,CAAC;IACvB,aAAe,EAAE,OAAO,aAAa,EAAE,OAAO,CAAC;IAC/C,mBAAqB,EAAE,MAAM,CAAC;IAC9B,cAAgB,CAAC,EAAE,GAAG,EAAE,CAAC;CACtB;oCAKS,KAAK,iBAAiB,EAAE,aAAa,GAAG,UAAU,CAAC"}
@@ -59,7 +59,7 @@ const MAX_PIPE_LENGTH = 2;
59
59
 
60
60
  /**
61
61
  * @param {ERef<ZoeService>} zoe
62
- * @param {ERef<NameHub>} agoricNames
62
+ * @param {ERef<import('@agoric/vats').NameHub>} agoricNames
63
63
  * @param {Brand<'set'>} invitationBrand
64
64
  * @param {Purse<'set'>} invitationsPurse
65
65
  * @param {(fromOfferId: string) => import('./types').InvitationMakers} getInvitationContinuation
@@ -90,7 +90,7 @@ export const publishAgoricBrandsDisplayInfo = async ({
90
90
  await E(node).setValue(JSON.stringify(aux));
91
91
  };
92
92
 
93
- /** @type {ERef<NameHub>} */
93
+ /** @type {ERef<import('@agoric/vats').NameHub>} */
94
94
  const brandHub = E(agoricNames).lookup('brand');
95
95
  const brands = await E(brandHub).values();
96
96
  // tolerate failure; in particular, for the timer brand
@@ -160,7 +160,7 @@ const trace = makeTracer('SmrtWlt');
160
160
  * TODO: consider moving to nameHub.js?
161
161
  *
162
162
  * @param {unknown} target - passable Key
163
- * @param {ERef<NameHub>} nameHub
163
+ * @param {ERef<import('@agoric/vats').NameHub>} nameHub
164
164
  */
165
165
  const namesOf = async (target, nameHub) => {
166
166
  const entries = await E(nameHub).entries();
@@ -447,7 +447,7 @@ export const prepareSmartWallet = (baggage, shared) => {
447
447
  * to facilitate a transition to decentralized introductions.
448
448
  *
449
449
  * @param {Brand} brand
450
- * @param {ERef<NameHub>} known - namehub with brand, issuer branches
450
+ * @param {ERef<import('@agoric/vats').NameHub>} known - namehub with brand, issuer branches
451
451
  * @returns {Promise<Purse | undefined>} undefined if brand is not known
452
452
  */
453
453
  async getPurseIfKnownBrand(brand, known) {