agoric 0.21.2-dev-7153535.0 → 0.21.2-dev-813e29e.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 +20 -20
- package/src/commands/auction.js +1 -1
- package/src/commands/inter.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agoric",
|
|
3
|
-
"version": "0.21.2-dev-
|
|
3
|
+
"version": "0.21.2-dev-813e29e.0+813e29e",
|
|
4
4
|
"description": "Manage the Agoric Javascript smart contract platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/main.js",
|
|
@@ -28,29 +28,29 @@
|
|
|
28
28
|
"lint:eslint": "eslint ."
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@agoric/cosmic-swingset": "0.41.4-dev-
|
|
32
|
-
"@agoric/deploy-script-support": "0.10.4-dev-
|
|
31
|
+
"@agoric/cosmic-swingset": "0.41.4-dev-813e29e.0+813e29e",
|
|
32
|
+
"@agoric/deploy-script-support": "0.10.4-dev-813e29e.0+813e29e",
|
|
33
33
|
"ava": "^5.3.0",
|
|
34
34
|
"c8": "^7.13.0",
|
|
35
35
|
"dd-trace": "^4.11.1"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@agoric/access-token": "0.4.22-dev-
|
|
39
|
-
"@agoric/assert": "0.6.1-dev-
|
|
40
|
-
"@agoric/cache": "0.3.3-dev-
|
|
41
|
-
"@agoric/casting": "0.4.3-dev-
|
|
42
|
-
"@agoric/cosmic-proto": "0.3.1-dev-
|
|
43
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
44
|
-
"@agoric/governance": "0.10.4-dev-
|
|
45
|
-
"@agoric/inter-protocol": "0.16.2-dev-
|
|
46
|
-
"@agoric/internal": "0.3.3-dev-
|
|
47
|
-
"@agoric/network": "0.1.1-dev-
|
|
48
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
49
|
-
"@agoric/store": "0.9.3-dev-
|
|
50
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
51
|
-
"@agoric/vats": "0.15.2-dev-
|
|
52
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
53
|
-
"@agoric/zone": "0.2.3-dev-
|
|
38
|
+
"@agoric/access-token": "0.4.22-dev-813e29e.0+813e29e",
|
|
39
|
+
"@agoric/assert": "0.6.1-dev-813e29e.0+813e29e",
|
|
40
|
+
"@agoric/cache": "0.3.3-dev-813e29e.0+813e29e",
|
|
41
|
+
"@agoric/casting": "0.4.3-dev-813e29e.0+813e29e",
|
|
42
|
+
"@agoric/cosmic-proto": "0.3.1-dev-813e29e.0+813e29e",
|
|
43
|
+
"@agoric/ertp": "0.16.3-dev-813e29e.0+813e29e",
|
|
44
|
+
"@agoric/governance": "0.10.4-dev-813e29e.0+813e29e",
|
|
45
|
+
"@agoric/inter-protocol": "0.16.2-dev-813e29e.0+813e29e",
|
|
46
|
+
"@agoric/internal": "0.3.3-dev-813e29e.0+813e29e",
|
|
47
|
+
"@agoric/network": "0.1.1-dev-813e29e.0+813e29e",
|
|
48
|
+
"@agoric/smart-wallet": "0.5.4-dev-813e29e.0+813e29e",
|
|
49
|
+
"@agoric/store": "0.9.3-dev-813e29e.0+813e29e",
|
|
50
|
+
"@agoric/swingset-vat": "0.32.3-dev-813e29e.0+813e29e",
|
|
51
|
+
"@agoric/vats": "0.15.2-dev-813e29e.0+813e29e",
|
|
52
|
+
"@agoric/zoe": "0.26.3-dev-813e29e.0+813e29e",
|
|
53
|
+
"@agoric/zone": "0.2.3-dev-813e29e.0+813e29e",
|
|
54
54
|
"@confio/relayer": "^0.9.0",
|
|
55
55
|
"@cosmjs/crypto": "^0.30.1",
|
|
56
56
|
"@cosmjs/encoding": "^0.30.1",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"typeCoverage": {
|
|
99
99
|
"atLeast": 77.53
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "813e29e088f8fda82916bc9fc2b36502805158ec"
|
|
102
102
|
}
|
package/src/commands/auction.js
CHANGED
|
@@ -114,7 +114,7 @@ export const makeAuctionCommand = (
|
|
|
114
114
|
* but TimeMath.toRel prodocues a RelativeTime (which may be a bare bigint).
|
|
115
115
|
*
|
|
116
116
|
* @param {bigint} relValue
|
|
117
|
-
* @returns {import('@agoric/time
|
|
117
|
+
* @returns {import('@agoric/time').RelativeTimeRecord}
|
|
118
118
|
*/
|
|
119
119
|
const toRel = relValue => ({ timerBrand, relValue });
|
|
120
120
|
|
package/src/commands/inter.js
CHANGED
|
@@ -65,12 +65,12 @@ const makeFormatters = assets => {
|
|
|
65
65
|
r4(100 - (Number(r.numerator.value) / Number(r.denominator.value)) * 100);
|
|
66
66
|
|
|
67
67
|
// XXX real TimeMath.absValue requires real Remotable timerBrand
|
|
68
|
-
/** @param {import('@agoric/time
|
|
68
|
+
/** @param {import('@agoric/time').Timestamp} ts */
|
|
69
69
|
const absValue = ts => (typeof ts === 'bigint' ? ts : ts.absValue);
|
|
70
70
|
|
|
71
|
-
/** @param {import('@agoric/time
|
|
71
|
+
/** @param {import('@agoric/time').Timestamp} tr */
|
|
72
72
|
const absTime = tr => new Date(Number(absValue(tr)) * 1000).toISOString();
|
|
73
|
-
/** @param {import('@agoric/time
|
|
73
|
+
/** @param {import('@agoric/time').RelativeTimeRecord} tr */
|
|
74
74
|
const relTime = tr =>
|
|
75
75
|
new Date(Number(tr.relValue) * 1000).toISOString().slice(11, 19);
|
|
76
76
|
|