@agoric/internal 0.3.3-dev-353daca.0 → 0.3.3-dev-dd37e03.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 +3 -3
- package/src/config.d.ts +4 -1
- package/src/config.d.ts.map +1 -1
- package/src/config.js +2 -1
- package/src/types-index.d.ts +1 -1
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-dd37e03.0+dd37e03",
|
|
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": "tsc"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@agoric/base-zone": "0.1.1-dev-
|
|
23
|
+
"@agoric/base-zone": "0.1.1-dev-dd37e03.0+dd37e03",
|
|
24
24
|
"@endo/common": "^1.2.6",
|
|
25
25
|
"@endo/errors": "^1.2.6",
|
|
26
26
|
"@endo/far": "^1.1.6",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"typeCoverage": {
|
|
60
60
|
"atLeast": 93.42
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "dd37e031ae967a86d806c32849e8878890b47dfc"
|
|
63
63
|
}
|
package/src/config.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Event source ids used by the bridge device.
|
|
3
|
+
*/
|
|
4
|
+
export type BridgeId = (typeof BridgeId)[keyof typeof BridgeId];
|
|
1
5
|
export namespace BridgeId {
|
|
2
6
|
let BANK: "bank";
|
|
3
7
|
let CORE: "core";
|
|
@@ -30,5 +34,4 @@ export namespace VBankAccount {
|
|
|
30
34
|
export { address_1 as address };
|
|
31
35
|
}
|
|
32
36
|
}
|
|
33
|
-
export type BridgeIdValue = (typeof BridgeId)[keyof typeof BridgeId];
|
|
34
37
|
//# sourceMappingURL=config.d.ts.map
|
package/src/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["config.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["config.js"],"names":[],"mappings":";;;uBAkBU,CAAC,OAAO,QAAQ,EAAE,MAAM,OAAO,QAAQ,CAAC"}
|
package/src/config.js
CHANGED
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Event source ids used by the bridge device.
|
|
18
|
+
*
|
|
19
|
+
* @enum {(typeof BridgeId)[keyof typeof BridgeId]}
|
|
18
20
|
*/
|
|
19
21
|
export const BridgeId = /** @type {const} */ ({
|
|
20
22
|
BANK: 'bank',
|
|
@@ -28,7 +30,6 @@ export const BridgeId = /** @type {const} */ ({
|
|
|
28
30
|
WALLET: 'wallet',
|
|
29
31
|
});
|
|
30
32
|
harden(BridgeId);
|
|
31
|
-
/** @typedef {(typeof BridgeId)[keyof typeof BridgeId]} BridgeIdValue */
|
|
32
33
|
|
|
33
34
|
export const CosmosInitKeyToBridgeId = {
|
|
34
35
|
vbankPort: BridgeId.BANK,
|
package/src/types-index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './types.js';
|
|
1
|
+
export type * from './types.js';
|