@agoric/ertp 0.16.3-dev-5d18974.0 → 0.16.3-dev-17608dc.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-5d18974.0+5d18974",
3
+ "version": "0.16.3-dev-17608dc.0+17608dc",
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,10 +39,10 @@
39
39
  },
40
40
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
41
41
  "dependencies": {
42
- "@agoric/notifier": "0.6.3-dev-5d18974.0+5d18974",
43
- "@agoric/store": "0.9.3-dev-5d18974.0+5d18974",
44
- "@agoric/vat-data": "0.5.3-dev-5d18974.0+5d18974",
45
- "@agoric/zone": "0.2.3-dev-5d18974.0+5d18974",
42
+ "@agoric/notifier": "0.6.3-dev-17608dc.0+17608dc",
43
+ "@agoric/store": "0.9.3-dev-17608dc.0+17608dc",
44
+ "@agoric/vat-data": "0.5.3-dev-17608dc.0+17608dc",
45
+ "@agoric/zone": "0.2.3-dev-17608dc.0+17608dc",
46
46
  "@endo/errors": "^1.2.2",
47
47
  "@endo/eventual-send": "^1.2.2",
48
48
  "@endo/far": "^1.1.2",
@@ -52,7 +52,7 @@
52
52
  "@endo/promise-kit": "^1.1.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@agoric/swingset-vat": "0.32.3-dev-5d18974.0+5d18974",
55
+ "@agoric/swingset-vat": "0.32.3-dev-17608dc.0+17608dc",
56
56
  "@endo/bundle-source": "^3.2.3",
57
57
  "@fast-check/ava": "^1.1.5",
58
58
  "ava": "^5.3.0",
@@ -86,7 +86,7 @@
86
86
  "access": "public"
87
87
  },
88
88
  "typeCoverage": {
89
- "atLeast": 91.22
89
+ "atLeast": 91.23
90
90
  },
91
- "gitHead": "5d18974dc0f204abf085a9ef1f95c8b7e890335f"
91
+ "gitHead": "17608dca6002fac10b4c07de4684fb18a8ef5be5"
92
92
  }
@@ -1 +1 @@
1
- {"version":3,"file":"paymentLedger.d.ts","sourceRoot":"","sources":["paymentLedger.js"],"names":[],"mappings":"AAoFO,qCAVkB,CAAC,SAAb,SAAW,cACb,OAAO,cAAc,EAAE,IAAI,QAC3B,MAAM,aACN,CAAC,eACD,YAAY,CAAC,CAAC,gBACd,OAAO,qBACP,kBAAkB,6DAEhB,cAAc,CAAC,CAAC,CAyT5B;+BA5XwH,YAAY;iCAAZ,YAAY;wCAAZ,YAAY;yCAC/F,sBAAsB;mCAD6D,YAAY"}
1
+ {"version":3,"file":"paymentLedger.d.ts","sourceRoot":"","sources":["paymentLedger.js"],"names":[],"mappings":"AAsFO,qCAVkB,CAAC,SAAb,SAAW,cACb,OAAO,cAAc,EAAE,IAAI,QAC3B,MAAM,aACN,CAAC,eACD,YAAY,CAAC,CAAC,gBACd,OAAO,qBACP,kBAAkB,6DAEhB,cAAc,CAAC,CAAC,CAyT5B;+BA9XwH,YAAY;iCAAZ,YAAY;wCAAZ,YAAY;yCAC/F,sBAAsB;mCAD6D,YAAY"}
@@ -15,13 +15,15 @@ import { BrandI, makeIssuerInterfaces } from './typeGuards.js';
15
15
  /**
16
16
  * @import {Amount, AssetKind, DisplayInfo, PaymentLedger, Payment, Brand, RecoverySetsOption, Purse, Issuer, Mint} from './types.js'
17
17
  * @import {ShutdownWithFailure} from '@agoric/swingset-vat'
18
- * @import {Key} from '@endo/patterns';
18
+ * @import {TypedPattern} from '@agoric/internal';
19
19
  */
20
20
 
21
21
  /**
22
+ * @template {AssetKind} K
22
23
  * @param {Brand} brand
23
- * @param {AssetKind} assetKind
24
+ * @param {K} assetKind
24
25
  * @param {Pattern} elementShape
26
+ * @returns {TypedPattern<Amount<K>>}
25
27
  */
26
28
  const amountShapeFromElementShape = (brand, assetKind, elementShape) => {
27
29
  let valueShape;