carbon-js-sdk 0.3.57 → 0.3.58

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.
@@ -118,6 +118,7 @@ exports.ibcWhitelist = [
118
118
  ChainIds.Canto,
119
119
  ChainIds.OmniFlixHub,
120
120
  ChainIds.Agoric,
121
+ ChainIds.Sommelier,
121
122
  ];
122
123
  exports.EmbedChainInfosInit = {
123
124
  [ChainIds.Osmosis]: {
@@ -2106,6 +2107,12 @@ exports.swthChannels = {
2106
2107
  dstChannel: "channel-12",
2107
2108
  },
2108
2109
  },
2110
+ [ChainIds.Sommelier]: {
2111
+ ibc: {
2112
+ sourceChannel: "channel-23",
2113
+ dstChannel: "channel-3",
2114
+ },
2115
+ },
2109
2116
  };
2110
2117
  exports.cibtIbcTokenRegex = RegExp(`^${token_1.DenomPrefix.CDPToken}/ibc/([a-f\\d]+)$`, "i");
2111
2118
  exports.ibcTokenRegex = /^ibc\/([a-f\d]+)$/i;
@@ -32,7 +32,8 @@ export declare enum Blockchain {
32
32
  Stargaze = "stargaze",
33
33
  Canto = "canto",
34
34
  OmniFlixHub = "omniflixhub",
35
- Agoric = "agoric"
35
+ Agoric = "agoric",
36
+ Sommelier = "sommelier"
36
37
  }
37
38
  export declare const BRIDGE_IDS: {
38
39
  polynetwork: number;
@@ -36,6 +36,7 @@ var Blockchain;
36
36
  Blockchain["Canto"] = "canto";
37
37
  Blockchain["OmniFlixHub"] = "omniflixhub";
38
38
  Blockchain["Agoric"] = "agoric";
39
+ Blockchain["Sommelier"] = "sommelier";
39
40
  })(Blockchain = exports.Blockchain || (exports.Blockchain = {}));
40
41
  exports.BRIDGE_IDS = {
41
42
  polynetwork: 1,
package/lib/util/ibc.js CHANGED
@@ -64,6 +64,7 @@ exports.ChainIdBlockchainMap = {
64
64
  [constant_1.ChainIds.Canto]: blockchain_1.Blockchain.Canto,
65
65
  [constant_1.ChainIds.OmniFlixHub]: blockchain_1.Blockchain.OmniFlixHub,
66
66
  [constant_1.ChainIds.Agoric]: blockchain_1.Blockchain.Agoric,
67
+ [constant_1.ChainIds.Sommelier]: blockchain_1.Blockchain.Sommelier,
67
68
  };
68
69
  const getIbcChainFromBlockchain = (blockchain) => {
69
70
  let ibcChain = undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-js-sdk",
3
- "version": "0.3.57",
3
+ "version": "0.3.58",
4
4
  "description": "TypeScript SDK for Carbon blockchain",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",