@agoric/ertp 0.16.3-dev-03b6420.0 → 0.16.3-dev-f1638f9.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-03b6420.0+03b6420",
3
+ "version": "0.16.3-dev-f1638f9.0+f1638f9",
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-03b6420.0+03b6420",
43
- "@agoric/notifier": "0.6.3-dev-03b6420.0+03b6420",
44
- "@agoric/store": "0.9.3-dev-03b6420.0+03b6420",
45
- "@agoric/vat-data": "0.5.3-dev-03b6420.0+03b6420",
46
- "@agoric/zone": "0.2.3-dev-03b6420.0+03b6420",
42
+ "@agoric/assert": "0.6.1-dev-f1638f9.0+f1638f9",
43
+ "@agoric/notifier": "0.6.3-dev-f1638f9.0+f1638f9",
44
+ "@agoric/store": "0.9.3-dev-f1638f9.0+f1638f9",
45
+ "@agoric/vat-data": "0.5.3-dev-f1638f9.0+f1638f9",
46
+ "@agoric/zone": "0.2.3-dev-f1638f9.0+f1638f9",
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-03b6420.0+03b6420",
55
+ "@agoric/swingset-vat": "0.32.3-dev-f1638f9.0+f1638f9",
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": "03b6420649be77d010bc783efc5aaee5c7ed45e7"
90
+ "gitHead": "f1638f95424a0f3851e6e1d880c2a38dd14eca3d"
91
91
  }
package/src/amountMath.js CHANGED
@@ -349,8 +349,8 @@ const AmountMath = {
349
349
  isGTE(x, y, brand)
350
350
  ? y
351
351
  : isGTE(y, x, brand)
352
- ? x
353
- : Fail`${x} and ${y} are incomparable`,
352
+ ? x
353
+ : Fail`${x} and ${y} are incomparable`,
354
354
  /**
355
355
  * Returns the max value between x and y using isGTE
356
356
  *
@@ -365,8 +365,8 @@ const AmountMath = {
365
365
  isGTE(x, y, brand)
366
366
  ? x
367
367
  : isGTE(y, x)
368
- ? y
369
- : Fail`${x} and ${y} are incomparable`,
368
+ ? y
369
+ : Fail`${x} and ${y} are incomparable`,
370
370
  };
371
371
  harden(AmountMath);
372
372
 
@@ -1,6 +1,10 @@
1
1
  // @jessie-check
2
2
 
3
3
  /// <reference types="ses"/>
4
+ /**
5
+ * @import {Passable} from '@endo/pass-style')
6
+ * @import {CopySet, Key} from '@endo/patterns')
7
+ */
4
8
 
5
9
  /**
6
10
  * @template {AssetKind} [K=AssetKind]
@@ -49,12 +53,12 @@
49
53
  * @typedef {K extends 'nat'
50
54
  * ? NatValue
51
55
  * : K extends 'set'
52
- * ? SetValue
53
- * : K extends 'copySet'
54
- * ? CopySet
55
- * : K extends 'copyBag'
56
- * ? import('@endo/patterns').CopyBag
57
- * : never} AssetValueForKind
56
+ * ? SetValue
57
+ * : K extends 'copySet'
58
+ * ? CopySet
59
+ * : K extends 'copyBag'
60
+ * ? import('@endo/patterns').CopyBag
61
+ * : never} AssetValueForKind
58
62
  */
59
63
 
60
64
  /**
@@ -62,12 +66,12 @@
62
66
  * @typedef {V extends NatValue
63
67
  * ? 'nat'
64
68
  * : V extends SetValue
65
- * ? 'set'
66
- * : V extends CopySet
67
- * ? 'copySet'
68
- * : V extends import('@endo/patterns').CopyBag
69
- * ? 'copyBag'
70
- * : never} AssetKindForValue
69
+ * ? 'set'
70
+ * : V extends CopySet
71
+ * ? 'copySet'
72
+ * : V extends import('@endo/patterns').CopyBag
73
+ * ? 'copyBag'
74
+ * : never} AssetKindForValue
71
75
  */
72
76
 
73
77
  /**
package/src/types.js CHANGED
@@ -2,6 +2,10 @@ export {};
2
2
  // @jessie-check
3
3
 
4
4
  /// <reference types="ses"/>
5
+ /**
6
+ * @import {Passable} from '@endo/pass-style')
7
+ * @import {CopySet, Key} from '@endo/patterns')
8
+ */
5
9
 
6
10
  /**
7
11
  * @template {AssetKind} [K=AssetKind]
@@ -50,12 +54,12 @@ export {};
50
54
  * @typedef {K extends 'nat'
51
55
  * ? NatValue
52
56
  * : K extends 'set'
53
- * ? SetValue
54
- * : K extends 'copySet'
55
- * ? CopySet
56
- * : K extends 'copyBag'
57
- * ? import('@endo/patterns').CopyBag
58
- * : never} AssetValueForKind
57
+ * ? SetValue
58
+ * : K extends 'copySet'
59
+ * ? CopySet
60
+ * : K extends 'copyBag'
61
+ * ? import('@endo/patterns').CopyBag
62
+ * : never} AssetValueForKind
59
63
  */
60
64
 
61
65
  /**
@@ -63,12 +67,12 @@ export {};
63
67
  * @typedef {V extends NatValue
64
68
  * ? 'nat'
65
69
  * : V extends SetValue
66
- * ? 'set'
67
- * : V extends CopySet
68
- * ? 'copySet'
69
- * : V extends import('@endo/patterns').CopyBag
70
- * ? 'copyBag'
71
- * : never} AssetKindForValue
70
+ * ? 'set'
71
+ * : V extends CopySet
72
+ * ? 'copySet'
73
+ * : V extends import('@endo/patterns').CopyBag
74
+ * ? 'copyBag'
75
+ * : never} AssetKindForValue
72
76
  */
73
77
 
74
78
  /**