@agoric/internal 0.3.3-dev-a29afed.0.a29afed → 0.3.3-dev-27d1c7b.0.27d1c7b
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 +4 -4
- package/src/chain-utils.d.ts +2 -1
- package/src/chain-utils.d.ts.map +1 -1
- package/src/chain-utils.js +5 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/internal",
|
|
3
|
-
"version": "0.3.3-dev-
|
|
3
|
+
"version": "0.3.3-dev-27d1c7b.0.27d1c7b",
|
|
4
4
|
"description": "Externally unsupported utilities internal to agoric-sdk",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"lint:types": "yarn run -T tsc"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@agoric/base-zone": "0.1.1-dev-
|
|
23
|
+
"@agoric/base-zone": "0.1.1-dev-27d1c7b.0.27d1c7b",
|
|
24
24
|
"@endo/cache-map": "^1.1.0",
|
|
25
25
|
"@endo/common": "^1.2.13",
|
|
26
26
|
"@endo/compartment-mapper": "^1.6.3",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"jessie.js": "^0.3.4"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
41
|
+
"@agoric/cosmic-proto": "0.4.1-dev-27d1c7b.0.27d1c7b",
|
|
42
42
|
"@endo/exo": "^1.5.12",
|
|
43
43
|
"@endo/init": "^1.1.12",
|
|
44
44
|
"@endo/ses-ava": "^1.3.2",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"typeCoverage": {
|
|
67
67
|
"atLeast": 92.84
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "27d1c7b3d3d340835c9e6f778c053e9be341bf9a"
|
|
70
70
|
}
|
package/src/chain-utils.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export type BlockInfo = {
|
|
|
6
6
|
* POSIX Seconds Since the Epoch
|
|
7
7
|
*/
|
|
8
8
|
blockTime: number;
|
|
9
|
-
params: ParamsSDKType
|
|
9
|
+
params: JsonSafe<ParamsSDKType>;
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* cosmosInitAction fields that are subject to consensus. See cosmosInitAction
|
|
@@ -22,5 +22,6 @@ export type InitMsg = BlockInfo & {
|
|
|
22
22
|
}[];
|
|
23
23
|
};
|
|
24
24
|
import type { ParamsSDKType } from '@agoric/cosmic-proto/swingset/swingset.js';
|
|
25
|
+
import type { JsonSafe } from '@agoric/cosmic-proto/json-safe';
|
|
25
26
|
import * as _ActionType from './action-types.js';
|
|
26
27
|
//# sourceMappingURL=chain-utils.d.ts.map
|
package/src/chain-utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain-utils.d.ts","sourceRoot":"","sources":["chain-utils.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chain-utils.d.ts","sourceRoot":"","sources":["chain-utils.js"],"names":[],"mappings":"AA2CO,wCAHI,GAAG,GACD,OAAO,CAoBnB;wBA/Ca,GAAG,MAAM,EAAE;;iBASX,MAAM;;;;eACN,MAAM;YACN,SAAS,aAAa,CAAC;;;;;;sBAIxB,SAAS,GAAG;IACpB,IAAI,EAAE,OAAO,WAAW,CAAC,cAAc,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,SAAS,CAAA;KAAE,EAAE,CAAC;CACrD;mCAjB4B,2CAA2C;8BAChD,gCAAgC;6BAN9B,mBAAmB"}
|
package/src/chain-utils.js
CHANGED
|
@@ -12,17 +12,18 @@
|
|
|
12
12
|
|
|
13
13
|
import * as _ActionType from './action-types.js';
|
|
14
14
|
|
|
15
|
+
/** @typedef {`${bigint}`} NatString */
|
|
16
|
+
|
|
15
17
|
/**
|
|
16
|
-
* @import {ParamsSDKType} from '@agoric/cosmic-proto/swingset/swingset.js'
|
|
18
|
+
* @import {ParamsSDKType} from '@agoric/cosmic-proto/swingset/swingset.js'
|
|
19
|
+
* @import {JsonSafe} from '@agoric/cosmic-proto/json-safe'
|
|
17
20
|
*/
|
|
18
21
|
|
|
19
|
-
/** @typedef {`${bigint}`} NatString */
|
|
20
|
-
|
|
21
22
|
/**
|
|
22
23
|
* @typedef {object} BlockInfo
|
|
23
24
|
* @property {number} blockHeight
|
|
24
25
|
* @property {number} blockTime POSIX Seconds Since the Epoch
|
|
25
|
-
* @property {ParamsSDKType} params
|
|
26
|
+
* @property {JsonSafe<ParamsSDKType>} params
|
|
26
27
|
*/
|
|
27
28
|
|
|
28
29
|
/**
|