@agoric/ertp 0.16.3-dev-f8abc2e.0 → 0.16.3-dev-59738aa.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/ertp",
3
- "version": "0.16.3-dev-f8abc2e.0+f8abc2e",
3
+ "version": "0.16.3-dev-59738aa.0+59738aa",
4
4
  "description": "Electronic Rights Transfer Protocol (ERTP). A smart contract framework for exchanging electronic rights",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -39,11 +39,11 @@
39
39
  },
40
40
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
41
41
  "dependencies": {
42
- "@agoric/assert": "0.6.1-dev-f8abc2e.0+f8abc2e",
43
- "@agoric/notifier": "0.6.3-dev-f8abc2e.0+f8abc2e",
44
- "@agoric/store": "0.9.3-dev-f8abc2e.0+f8abc2e",
45
- "@agoric/vat-data": "0.5.3-dev-f8abc2e.0+f8abc2e",
46
- "@agoric/zone": "0.2.3-dev-f8abc2e.0+f8abc2e",
42
+ "@agoric/assert": "0.6.1-dev-59738aa.0+59738aa",
43
+ "@agoric/notifier": "0.6.3-dev-59738aa.0+59738aa",
44
+ "@agoric/store": "0.9.3-dev-59738aa.0+59738aa",
45
+ "@agoric/vat-data": "0.5.3-dev-59738aa.0+59738aa",
46
+ "@agoric/zone": "0.2.3-dev-59738aa.0+59738aa",
47
47
  "@endo/eventual-send": "^1.2.0",
48
48
  "@endo/far": "^1.1.0",
49
49
  "@endo/marshal": "^1.4.0",
@@ -52,7 +52,7 @@
52
52
  "@endo/promise-kit": "^1.1.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@agoric/swingset-vat": "0.32.3-dev-f8abc2e.0+f8abc2e",
55
+ "@agoric/swingset-vat": "0.32.3-dev-59738aa.0+59738aa",
56
56
  "@endo/bundle-source": "^3.2.1",
57
57
  "@fast-check/ava": "^1.1.5",
58
58
  "ava": "^5.3.0",
@@ -87,5 +87,5 @@
87
87
  "typeCoverage": {
88
88
  "atLeast": 90.61
89
89
  },
90
- "gitHead": "f8abc2e75c2aa612a24abb86e982367b7ba964f8"
90
+ "gitHead": "59738aa5d0eafdb105b63400631eb49644d555cf"
91
91
  }
package/src/index.js CHANGED
@@ -8,5 +8,5 @@ export * from './typeGuards.js';
8
8
  * Importing Baggage from `@agoric/ertp` is deprecated. Import Baggage from
9
9
  * `@agoric/vat-data` instead
10
10
  *
11
- * @typedef {import('@agoric/vat-data').Baggage} Baggage
11
+ * @import {Baggage} from '@agoric/vat-data'
12
12
  */
@@ -89,8 +89,8 @@ export const preparePaymentLedger = (
89
89
  // Should be
90
90
  // at-ts-expect-error XXX callWhen
91
91
  // but ran into the usual disagreement between local lint and CI
92
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
93
- // @ts-ignore
92
+
93
+ // @ts-expect-error
94
94
  const brand = issuerZone.exo(`${name} brand`, BrandI, {
95
95
  isMyIssuer(allegedIssuer) {
96
96
  // BrandI delays calling this method until `allegedIssuer` is a Remotable
@@ -311,8 +311,8 @@ export const preparePaymentLedger = (
311
311
  // Should be
312
312
  // at-ts-expect-error cast due to callWhen discrepancy
313
313
  // but ran into the usual disagreement between local lint and CI
314
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
315
- // @ts-ignore
314
+
315
+ // @ts-expect-error
316
316
  const issuer = issuerZone.exo(`${name} issuer`, IssuerI, {
317
317
  getBrand() {
318
318
  return brand;
@@ -371,8 +371,7 @@ export const preparePaymentLedger = (
371
371
  // at-ts-expect-error checked cast
372
372
  // but ran into the usual disagreement between local lint and IDE lint.
373
373
  // Don't know yet about lint under CI.
374
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
375
- // @ts-ignore
374
+
376
375
  const mintRecoveryPurse = /** @type {Purse<K>} */ (
377
376
  issuerZone.makeOnce('mintRecoveryPurse', () => makeEmptyPurse())
378
377
  );
@@ -386,8 +385,7 @@ export const preparePaymentLedger = (
386
385
  // Should be
387
386
  // at-ts-expect-error checked cast
388
387
  // but ran into the usual disagreement between local lint and CI
389
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
390
- // @ts-ignore
388
+
391
389
  newAmount = coerce(newAmount);
392
390
  mustMatch(newAmount, amountShape, 'minted amount');
393
391
  // `rawPayment` is not associated with any recovery set, and
@@ -206,7 +206,7 @@
206
206
  * @property {AssetKind} [assetKind]
207
207
  */
208
208
 
209
- /** @typedef {import('@agoric/swingset-vat').ShutdownWithFailure} ShutdownWithFailure */
209
+ /** @import {ShutdownWithFailure} from '@agoric/swingset-vat') */
210
210
 
211
211
  /**
212
212
  * @template {AssetKind} [K=AssetKind]
package/src/types.js CHANGED
@@ -207,7 +207,7 @@ export {};
207
207
  * @property {AssetKind} [assetKind]
208
208
  */
209
209
 
210
- /** @typedef {import('@agoric/swingset-vat').ShutdownWithFailure} ShutdownWithFailure */
210
+ /** @import {ShutdownWithFailure} from '@agoric/swingset-vat') */
211
211
 
212
212
  /**
213
213
  * @template {AssetKind} [K=AssetKind]