@chainflip/utils 2.1.2-beta.3 → 2.1.2-beta.5

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.
@@ -139,7 +139,16 @@ const anyAssetConstants = {
139
139
  decimals: 10
140
140
  }
141
141
  };
142
- const assetSymbols = Object.values(assetConstants).map((a) => a.symbol).filter((s, i, arr) => arr.indexOf(s) === i);
142
+ const assetSymbols = [
143
+ "BTC",
144
+ "DOT",
145
+ "ETH",
146
+ "FLIP",
147
+ "SOL",
148
+ "USDC",
149
+ "USDT",
150
+ "WBTC"
151
+ ];
143
152
  const chainConstants = {
144
153
  Ethereum: {
145
154
  chainflipAssets: [
@@ -224,7 +224,7 @@ declare const anyAssetConstants: {
224
224
  readonly decimals: 6;
225
225
  };
226
226
  };
227
- declare const assetSymbols: ("ETH" | "FLIP" | "USDC" | "USDT" | "WBTC" | "BTC" | "SOL" | "DOT")[];
227
+ declare const assetSymbols: readonly ["BTC", "DOT", "ETH", "FLIP", "SOL", "USDC", "USDT", "WBTC"];
228
228
  type AssetSymbol = (typeof assetSymbols)[number];
229
229
  declare const chainConstants: {
230
230
  readonly Ethereum: {
@@ -224,7 +224,7 @@ declare const anyAssetConstants: {
224
224
  readonly decimals: 6;
225
225
  };
226
226
  };
227
- declare const assetSymbols: ("ETH" | "FLIP" | "USDC" | "USDT" | "WBTC" | "BTC" | "SOL" | "DOT")[];
227
+ declare const assetSymbols: readonly ["BTC", "DOT", "ETH", "FLIP", "SOL", "USDC", "USDT", "WBTC"];
228
228
  type AssetSymbol = (typeof assetSymbols)[number];
229
229
  declare const chainConstants: {
230
230
  readonly Ethereum: {
@@ -137,7 +137,16 @@ const anyAssetConstants = {
137
137
  decimals: 10
138
138
  }
139
139
  };
140
- const assetSymbols = Object.values(assetConstants).map((a) => a.symbol).filter((s, i, arr) => arr.indexOf(s) === i);
140
+ const assetSymbols = [
141
+ "BTC",
142
+ "DOT",
143
+ "ETH",
144
+ "FLIP",
145
+ "SOL",
146
+ "USDC",
147
+ "USDT",
148
+ "WBTC"
149
+ ];
141
150
  const chainConstants = {
142
151
  Ethereum: {
143
152
  chainflipAssets: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainflip/utils",
3
- "version": "2.1.2-beta.3",
3
+ "version": "2.1.2-beta.5",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",