@agoric/ertp 0.16.3-dev-f8abc2e.0 → 0.16.3-dev-860d051.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 +8 -8
- package/src/index.js +1 -1
- package/src/paymentLedger.js +6 -8
- package/src/types-ambient.js +1 -1
- package/src/types.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/ertp",
|
|
3
|
-
"version": "0.16.3-dev-
|
|
3
|
+
"version": "0.16.3-dev-860d051.0+860d051",
|
|
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-
|
|
43
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
44
|
-
"@agoric/store": "0.9.3-dev-
|
|
45
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
46
|
-
"@agoric/zone": "0.2.3-dev-
|
|
42
|
+
"@agoric/assert": "0.6.1-dev-860d051.0+860d051",
|
|
43
|
+
"@agoric/notifier": "0.6.3-dev-860d051.0+860d051",
|
|
44
|
+
"@agoric/store": "0.9.3-dev-860d051.0+860d051",
|
|
45
|
+
"@agoric/vat-data": "0.5.3-dev-860d051.0+860d051",
|
|
46
|
+
"@agoric/zone": "0.2.3-dev-860d051.0+860d051",
|
|
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-
|
|
55
|
+
"@agoric/swingset-vat": "0.32.3-dev-860d051.0+860d051",
|
|
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": "
|
|
90
|
+
"gitHead": "860d051e8c26975d244c211b061a8189f1718cab"
|
|
91
91
|
}
|
package/src/index.js
CHANGED
package/src/paymentLedger.js
CHANGED
|
@@ -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
|
-
|
|
93
|
-
// @ts-
|
|
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
|
-
|
|
315
|
-
// @ts-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
package/src/types-ambient.js
CHANGED
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
* @property {AssetKind} [assetKind]
|
|
207
207
|
*/
|
|
208
208
|
|
|
209
|
-
/** @
|
|
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
|
-
/** @
|
|
210
|
+
/** @import {ShutdownWithFailure} from '@agoric/swingset-vat') */
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
213
|
* @template {AssetKind} [K=AssetKind]
|