@agoric/internal 0.3.3-dev-c19f1b5.0 → 0.3.3-dev-27cc9b8.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/internal",
3
- "version": "0.3.3-dev-c19f1b5.0+c19f1b5",
3
+ "version": "0.3.3-dev-27cc9b8.0+27cc9b8",
4
4
  "description": "Externally unsupported utilities internal to agoric-sdk",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -20,8 +20,8 @@
20
20
  "lint:types": "tsc"
21
21
  },
22
22
  "dependencies": {
23
- "@agoric/assert": "0.6.1-dev-c19f1b5.0+c19f1b5",
24
- "@agoric/base-zone": "0.1.1-dev-c19f1b5.0+c19f1b5",
23
+ "@agoric/assert": "0.6.1-dev-27cc9b8.0+27cc9b8",
24
+ "@agoric/base-zone": "0.1.1-dev-27cc9b8.0+27cc9b8",
25
25
  "@endo/common": "^1.2.2",
26
26
  "@endo/far": "^1.1.2",
27
27
  "@endo/init": "^1.1.2",
@@ -58,5 +58,5 @@
58
58
  "typeCoverage": {
59
59
  "atLeast": 93.89
60
60
  },
61
- "gitHead": "c19f1b5b918e83f8f45c05c0683ee0f97ed0e415"
61
+ "gitHead": "27cc9b8be59abb048f1ea226b96697c3dccc4d0f"
62
62
  }
package/src/config.d.ts CHANGED
@@ -9,6 +9,8 @@ export namespace BridgeId {
9
9
  let VTRANSFER: "vtransfer";
10
10
  let WALLET: "wallet";
11
11
  }
12
+ /** @typedef {(typeof BridgeId)[keyof typeof BridgeId]} BridgeIdValue */
13
+ export const VTRANSFER_IBC_EVENT: "VTRANSFER_IBC_EVENT";
12
14
  export namespace CosmosInitKeyToBridgeId {
13
15
  import vbankPort = BANK;
14
16
  export { vbankPort };
@@ -16,17 +18,17 @@ export namespace CosmosInitKeyToBridgeId {
16
18
  export { vibcPort };
17
19
  }
18
20
  export namespace WalletName {
19
- let depositFacet: string;
21
+ let depositFacet: "depositFacet";
20
22
  }
21
23
  export namespace VBankAccount {
22
24
  namespace reserve {
23
- let module: string;
24
- let address: string;
25
+ let module: "vbank/reserve";
26
+ let address: "agoric1ae0lmtzlgrcnla9xjkpaarq5d5dfez63h3nucl";
25
27
  }
26
28
  namespace provision {
27
- let module_1: string;
29
+ let module_1: "vbank/provision";
28
30
  export { module_1 as module };
29
- let address_1: string;
31
+ let address_1: "agoric1megzytg65cyrgzs6fvzxgrcqvwwl7ugpt62346";
30
32
  export { address_1 as address };
31
33
  }
32
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["config.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA8Bc,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["config.js"],"names":[],"mappings":";;;;;;;;;;;AA8BA,wEAAwE;AAExE,wDAAyD;;;;;;;;;;;;;;;;;;;;;;4BAF3C,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC"}
package/src/config.js CHANGED
@@ -30,18 +30,20 @@ export const BridgeId = /** @type {const} */ ({
30
30
  harden(BridgeId);
31
31
  /** @typedef {(typeof BridgeId)[keyof typeof BridgeId]} BridgeIdValue */
32
32
 
33
+ export const VTRANSFER_IBC_EVENT = 'VTRANSFER_IBC_EVENT';
34
+
33
35
  export const CosmosInitKeyToBridgeId = {
34
36
  vbankPort: BridgeId.BANK,
35
37
  vibcPort: BridgeId.DIBC,
36
38
  };
37
39
 
38
- export const WalletName = {
40
+ export const WalletName = /** @type {const} */ ({
39
41
  depositFacet: 'depositFacet',
40
- };
42
+ });
41
43
  harden(WalletName);
42
44
 
43
45
  // defined in golang/cosmos/x/vbank
44
- export const VBankAccount = {
46
+ export const VBankAccount = /** @type {const} */ ({
45
47
  reserve: {
46
48
  module: 'vbank/reserve',
47
49
  address: 'agoric1ae0lmtzlgrcnla9xjkpaarq5d5dfez63h3nucl',
@@ -50,5 +52,5 @@ export const VBankAccount = {
50
52
  module: 'vbank/provision',
51
53
  address: 'agoric1megzytg65cyrgzs6fvzxgrcqvwwl7ugpt62346',
52
54
  },
53
- };
55
+ });
54
56
  harden(VBankAccount);