@agoric/ertp 0.16.3-dev-1145be3.0.1145be3 → 0.16.3-dev-b084a06.0.b084a06

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-1145be3.0.1145be3",
3
+ "version": "0.16.3-dev-b084a06.0.b084a06",
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-1145be3.0.1145be3",
43
- "@agoric/store": "0.9.3-dev-1145be3.0.1145be3",
44
- "@agoric/vat-data": "0.5.3-dev-1145be3.0.1145be3",
45
- "@agoric/zone": "0.2.3-dev-1145be3.0.1145be3",
42
+ "@agoric/notifier": "0.6.3-dev-b084a06.0.b084a06",
43
+ "@agoric/store": "0.9.3-dev-b084a06.0.b084a06",
44
+ "@agoric/vat-data": "0.5.3-dev-b084a06.0.b084a06",
45
+ "@agoric/zone": "0.2.3-dev-b084a06.0.b084a06",
46
46
  "@endo/errors": "^1.2.13",
47
47
  "@endo/eventual-send": "^1.3.4",
48
48
  "@endo/far": "^1.1.14",
@@ -52,7 +52,7 @@
52
52
  "@endo/promise-kit": "^1.1.13"
53
53
  },
54
54
  "devDependencies": {
55
- "@agoric/swingset-vat": "0.32.3-dev-1145be3.0.1145be3",
55
+ "@agoric/swingset-vat": "0.32.3-dev-b084a06.0.b084a06",
56
56
  "@endo/bundle-source": "^4.1.2",
57
57
  "@fast-check/ava": "^1.1.5",
58
58
  "ava": "^6.4.1",
@@ -60,9 +60,7 @@
60
60
  },
61
61
  "files": [
62
62
  "src",
63
- "NEWS.md",
64
- "exported.js",
65
- "exported.d.ts"
63
+ "NEWS.md"
66
64
  ],
67
65
  "ava": {
68
66
  "files": [
@@ -79,5 +77,5 @@
79
77
  "typeCoverage": {
80
78
  "atLeast": 92.99
81
79
  },
82
- "gitHead": "1145be333a0554d3bae3c35a227347441ddf5b5e"
80
+ "gitHead": "b084a067b866127f7d05c66e6865750132c4a7d8"
83
81
  }
package/src/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  // @jessie-check
2
- /// <reference types="@agoric/internal/exported.js" />
3
2
 
4
3
  export * from './amountMath.js';
5
4
  export * from './issuerKit.js';
@@ -1 +1 @@
1
- {"version":3,"file":"paymentLedger.d.ts","sourceRoot":"","sources":["paymentLedger.js"],"names":[],"mappings":"AAuFO,qCAVkB,CAAC,SAAb,SAAW,cACb,IAAI,QACJ,MAAM,aACN,CAAC,eACD,YAAY,CAAC,CAAC,gBACd,OAAO,qBACP,kBAAkB,2BAClB,mBAAmB,GACjB,cAAc,CAAC,CAAC,CAyT5B;+BA5XwH,YAAY;0BAJ9G,mBAAmB;iCAI+E,YAAY;6BALtG,gBAAgB;wCAK0E,YAAY;yCAF/F,sBAAsB;mCAE6D,YAAY"}
1
+ {"version":3,"file":"paymentLedger.d.ts","sourceRoot":"","sources":["paymentLedger.js"],"names":[],"mappings":"AAuFO,qCAVkB,CAAC,SAAb,SAAW,cACb,IAAI,QACJ,MAAM,aACN,CAAC,eACD,YAAY,CAAC,CAAC,gBACd,OAAO,qBACP,kBAAkB,2BAClB,mBAAmB,GACjB,cAAc,CAAC,CAAC,CAyT5B;+BA9XwH,YAAY;0BAJ9G,mBAAmB;iCAI+E,YAAY;6BALtG,gBAAgB;wCAK0E,YAAY;yCAF/F,sBAAsB;mCAE6D,YAAY"}
@@ -1,7 +1,5 @@
1
1
  // @jessie-check
2
2
 
3
- /// <reference types="@agoric/store/exported.js" />
4
-
5
3
  import { q, Fail, annotateError, X } from '@endo/errors';
6
4
  import { isPromise } from '@endo/promise-kit';
7
5
  import { mustMatch, M, keyEQ } from '@endo/patterns';
@@ -17,6 +15,8 @@ import { BrandI, makeIssuerInterfaces } from './typeGuards.js';
17
15
  * @import {ShutdownWithFailure} from '@agoric/swingset-vat';
18
16
  * @import {AmountStore} from './amountStore.js';
19
17
  * @import {Amount, AssetKind, DisplayInfo, PaymentLedger, Payment, Brand, RecoverySetsOption, Purse, Issuer, Mint} from './types.js';
18
+ * @import {WeakMapStore} from '@agoric/store';
19
+ * @import {SetStore} from '@agoric/store';
20
20
  */
21
21
 
22
22
  /**
package/src/purse.d.ts CHANGED
@@ -22,4 +22,6 @@ import type { Brand } from './types.js';
22
22
  import type { InterfaceGuard } from '@endo/patterns';
23
23
  import type { RecoverySetsOption } from './types.js';
24
24
  import type { Payment } from './types.js';
25
+ import type { SetStore } from '@agoric/store';
26
+ import type { WeakMapStore } from '@agoric/store';
25
27
  //# sourceMappingURL=purse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"purse.d.ts","sourceRoot":"","sources":["purse.js"],"names":[],"mappings":"AA+BO,6CAfI,IAAI,QACJ,MAAM,aACN,SAAS,SACT,KAAK,aACL;IACN,KAAK,EAAE,eAAe,GAAG,CAAC,CAAC;IAC3B,YAAY,EAAE,eAAe,GAAG,CAAC,CAAC;CACnC,gBACO;IACN,eAAe,EAAE,GAAG,CAAC;IACrB,gBAAgB,EAAE,GAAG,CAAC;CACvB,qBACO,kBAAkB,uBAClB,YAAY,CAAC,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;;;;;;;;;;;GA4JlD;0BAjLsB,cAAc;+BAD2B,YAAY;2BAAZ,YAAY;oCAE3C,gBAAgB;wCAFe,YAAY;6BAAZ,YAAY"}
1
+ {"version":3,"file":"purse.d.ts","sourceRoot":"","sources":["purse.js"],"names":[],"mappings":"AAiCO,6CAfI,IAAI,QACJ,MAAM,aACN,SAAS,SACT,KAAK,aACL;IACN,KAAK,EAAE,eAAe,GAAG,CAAC,CAAC;IAC3B,YAAY,EAAE,eAAe,GAAG,CAAC,CAAC;CACnC,gBACO;IACN,eAAe,EAAE,GAAG,CAAC;IACrB,gBAAgB,EAAE,GAAG,CAAC;CACvB,qBACO,kBAAkB,uBAClB,aAAa,OAAO,EAAE,SAAS,OAAO,CAAC,CAAC;;;;;;;;;;;GA4JlD;0BAnLsB,cAAc;+BAD2B,YAAY;2BAAZ,YAAY;oCAE3C,gBAAgB;wCAFe,YAAY;6BAAZ,YAAY;8BAIjD,eAAe;kCADX,eAAe"}
package/src/purse.js CHANGED
@@ -8,6 +8,8 @@ import { makeAmountStore } from './amountStore.js';
8
8
  * @import {AssetKind, RecoverySetsOption, Brand, Payment} from './types.js'
9
9
  * @import {Zone} from '@agoric/zone';
10
10
  * @import {InterfaceGuard} from '@endo/patterns';
11
+ * @import {WeakMapStore} from '@agoric/store';
12
+ * @import {SetStore} from '@agoric/store';
11
13
  */
12
14
 
13
15
  const EMPTY_COPY_SET = makeCopySet([]);
@@ -1 +1 @@
1
- {"version":3,"file":"transientNotifier.d.ts","sourceRoot":"","sources":["transientNotifier.js"],"names":[],"mappings":"AAaO;;;EAoBN"}
1
+ {"version":3,"file":"transientNotifier.d.ts","sourceRoot":"","sources":["transientNotifier.js"],"names":[],"mappings":"AAcO;;;EAoBN"}
@@ -7,6 +7,7 @@ import { makeNotifierKit } from '@agoric/notifier';
7
7
  /**
8
8
  * @import {Purse} from './types.js';
9
9
  * @import {NotifierRecord} from '@agoric/notifier';
10
+ * @import {WeakMapStore} from '@agoric/store';
10
11
  */
11
12
 
12
13
  // Note: Virtual for high cardinality, but *not* durable, and so
@@ -2,7 +2,7 @@
2
2
  * @import {AmountValue, Ratio} from './types.js'
3
3
  * @import {TypedPattern} from '@agoric/internal'
4
4
  * @import {CopyBag, CopySet, Pattern} from '@endo/patterns';
5
- * @import {NatValue} from './types.js';
5
+ * @import {NatValue, SetValue} from './types.js';
6
6
  */
7
7
  export const BrandShape: import("@endo/patterns").Matcher;
8
8
  export const IssuerShape: import("@endo/patterns").Matcher;
@@ -89,6 +89,7 @@ import type { TypedPattern } from '@agoric/internal';
89
89
  import type { AmountValue } from './types.js';
90
90
  import type { NatValue } from './types.js';
91
91
  import type { CopySet } from '@endo/patterns';
92
+ import type { SetValue } from './types.js';
92
93
  import type { CopyBag } from '@endo/patterns';
93
94
  import type { Pattern } from '@endo/patterns';
94
95
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"typeGuards.d.ts","sourceRoot":"","sources":["typeGuards.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AAEH,0DAA+C;AAC/C,2DAAiD;AACjD,4DAAmD;AACnD,0DAA+C;AAC/C,iEAA6D;AAC7D,6DAAqD;AACrD,yDAA6C;;;;;AAkE7C;;;;;;;;;;GAUG;AACH,kEAA8C;AAE9C,kCAAkC;AAClC,yBADW,aAAa,KAAK,CAAC,CACiD;AASxE,kCAHI,WAAW,GACT,KAAK,IAAI,QAAQ,CAEkC;AASzD,sCAHI,WAAW,GACT,KAAK,IAAI,OAAO,CAE2C;AAYjE,kCAHI,WAAW,GACT,KAAK,IAAI,QAAQ,CAEkC;AASzD,sCAHI,WAAW,GACT,KAAK,IAAI,OAAO,CAE2C;AAIxE,0CAA2C,GAAG,CAAC;AAE/C,8DAAuE;AAEvE,gEAaE;;;;;;;;AAaF;;;;;GAKG;AAOI,kDAJI,OAAO,mBACP,OAAO,gBACP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqEjB;AAhLD,iEAKE;2BAzEmC,YAAY;kCAClB,kBAAkB;iCADZ,YAAY;8BAGtB,YAAY;6BADK,gBAAgB;6BAAhB,gBAAgB;6BAAhB,gBAAgB"}
1
+ {"version":3,"file":"typeGuards.d.ts","sourceRoot":"","sources":["typeGuards.js"],"names":[],"mappings":"AAGA;;;;;GAKG;AAEH,0DAA+C;AAC/C,2DAAiD;AACjD,4DAAmD;AACnD,0DAA+C;AAC/C,iEAA6D;AAC7D,6DAAqD;AACrD,yDAA6C;;;;;AAkE7C;;;;;;;;;;GAUG;AACH,kEAA8C;AAE9C,kCAAkC;AAClC,yBADW,aAAa,KAAK,CAAC,CACiD;AASxE,kCAHI,WAAW,GACT,KAAK,IAAI,QAAQ,CAEkC;AASzD,sCAHI,WAAW,GACT,KAAK,IAAI,OAAO,CAE2C;AAYjE,kCAHI,WAAW,GACT,KAAK,IAAI,QAAQ,CAEkC;AASzD,sCAHI,WAAW,GACT,KAAK,IAAI,OAAO,CAE2C;AAIxE,0CAA2C,GAAG,CAAC;AAE/C,8DAAuE;AAEvE,gEAaE;;;;;;;;AAaF;;;;;GAKG;AAOI,kDAJI,OAAO,mBACP,OAAO,gBACP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqEjB;AAhLD,iEAKE;2BAzEmC,YAAY;kCAClB,kBAAkB;iCADZ,YAAY;8BAGZ,YAAY;6BADL,gBAAgB;8BACvB,YAAY;6BADL,gBAAgB;6BAAhB,gBAAgB"}
package/src/typeGuards.js CHANGED
@@ -5,7 +5,7 @@ import { M, matches, getInterfaceGuardPayload } from '@endo/patterns';
5
5
  * @import {AmountValue, Ratio} from './types.js'
6
6
  * @import {TypedPattern} from '@agoric/internal'
7
7
  * @import {CopyBag, CopySet, Pattern} from '@endo/patterns';
8
- * @import {NatValue} from './types.js';
8
+ * @import {NatValue, SetValue} from './types.js';
9
9
  */
10
10
 
11
11
  export const BrandShape = M.remotable('Brand');
package/exported.d.ts DELETED
@@ -1,37 +0,0 @@
1
- /** @file Ambient exports until https://github.com/Agoric/agoric-sdk/issues/6512 */
2
- /** @see {@link /docs/typescript.md} */
3
- /* eslint-disable -- doesn't understand .d.ts */
4
-
5
- import '@agoric/notifier/exported.js';
6
-
7
- import {
8
- Amount as _Amount,
9
- Brand as _Brand,
10
- Issuer as _Issuer,
11
- IssuerKit as _IssuerKit,
12
- Mint as _Mint,
13
- AssetKind as _AssetKind,
14
- SetValue as _SetValue,
15
- NatValue as _NatValue,
16
- DisplayInfo as _DisplayInfo,
17
- AdditionalDisplayInfo as _AdditionalDisplayInfo,
18
- Payment as _Payment,
19
- Purse as _Purse,
20
- } from './src/types.js';
21
- declare global {
22
- // @ts-ignore TS2666: Exports and export assignments are not permitted in module augmentations.
23
- export {
24
- _Amount as Amount,
25
- _Brand as Brand,
26
- _Issuer as Issuer,
27
- _IssuerKit as IssuerKit,
28
- _Mint as Mint,
29
- _AssetKind as AssetKind,
30
- _SetValue as SetValue,
31
- _NatValue as NatValue,
32
- _DisplayInfo as DisplayInfo,
33
- _AdditionalDisplayInfo as AdditionalDisplayInfo,
34
- _Payment as Payment,
35
- _Purse as Purse,
36
- };
37
- }
package/exported.js DELETED
@@ -1,2 +0,0 @@
1
- // Dummy file for .d.ts twin to declare ambients
2
- export {};