@proton/wrap-constants 0.2.108 → 0.2.110

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/dist/index.d.ts CHANGED
@@ -11251,6 +11251,7 @@ declare const initializeConstants: (chain: string) => {
11251
11251
  METAL_DEX_WS_ENDPOINT: string;
11252
11252
  PROTON_ENDPOINTS: string[];
11253
11253
  CHAIN_ID: string;
11254
+ COINS_URL: string;
11254
11255
  DEX_PROCESS_SIZE: number;
11255
11256
  DEX_SLTPPROCESS_SIZE: number;
11256
11257
  MAX_PRICE: string;
package/dist/index.js CHANGED
@@ -1385,7 +1385,7 @@ var initializeCoins = (protonChain) => {
1385
1385
  },
1386
1386
  {
1387
1387
  allowSwap: false,
1388
- allowBridge: IS_TESTNET,
1388
+ allowBridge: true,
1389
1389
  allowLend: false,
1390
1390
  allowBorrow: false,
1391
1391
  name: "Hedera",
@@ -1405,7 +1405,18 @@ var initializeCoins = (protonChain) => {
1405
1405
  provider: "fireblocks" /* FIREBLOCKS */,
1406
1406
  hasWithdrawMemo: true
1407
1407
  }
1408
- ] : []
1408
+ ] : [
1409
+ {
1410
+ wallet: "HBAR",
1411
+ symbol: "HBAR",
1412
+ chain: "Hedera (Mainnet)" /* HederaMainnet */,
1413
+ network: "mainnet" /* Mainnet */,
1414
+ precision: 8,
1415
+ contract: void 0,
1416
+ provider: "fireblocks" /* FIREBLOCKS */,
1417
+ hasWithdrawMemo: true
1418
+ }
1419
+ ]
1409
1420
  ],
1410
1421
  image: "https://www.proton.org/images/tokens/xtokensXHBAR.png",
1411
1422
  coingeckoId: "hedera-hashgraph",
@@ -1598,6 +1609,7 @@ var initializeConstants = (chain) => {
1598
1609
  "https://testnet.protonchain.com"
1599
1610
  ],
1600
1611
  CHAIN_ID: chain === "proton" ? "384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0" : "71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd",
1612
+ COINS_URL: chain === "proton" ? "https://protonswap.com/mainnet-coins.json" : "https://protonswap.com/testnet-coins.json",
1601
1613
  DEX_PROCESS_SIZE: 30,
1602
1614
  DEX_SLTPPROCESS_SIZE: 10,
1603
1615
  MAX_PRICE: "9223372036854775806",
package/dist/index.mjs CHANGED
@@ -1243,7 +1243,7 @@ var initializeCoins = (protonChain) => {
1243
1243
  },
1244
1244
  {
1245
1245
  allowSwap: false,
1246
- allowBridge: IS_TESTNET,
1246
+ allowBridge: true,
1247
1247
  allowLend: false,
1248
1248
  allowBorrow: false,
1249
1249
  name: "Hedera",
@@ -1263,7 +1263,18 @@ var initializeCoins = (protonChain) => {
1263
1263
  provider: "fireblocks" /* FIREBLOCKS */,
1264
1264
  hasWithdrawMemo: true
1265
1265
  }
1266
- ] : []
1266
+ ] : [
1267
+ {
1268
+ wallet: "HBAR",
1269
+ symbol: "HBAR",
1270
+ chain: "Hedera (Mainnet)" /* HederaMainnet */,
1271
+ network: "mainnet" /* Mainnet */,
1272
+ precision: 8,
1273
+ contract: void 0,
1274
+ provider: "fireblocks" /* FIREBLOCKS */,
1275
+ hasWithdrawMemo: true
1276
+ }
1277
+ ]
1267
1278
  ],
1268
1279
  image: "https://www.proton.org/images/tokens/xtokensXHBAR.png",
1269
1280
  coingeckoId: "hedera-hashgraph",
@@ -1456,6 +1467,7 @@ var initializeConstants = (chain) => {
1456
1467
  "https://testnet.protonchain.com"
1457
1468
  ],
1458
1469
  CHAIN_ID: chain === "proton" ? "384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0" : "71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd",
1470
+ COINS_URL: chain === "proton" ? "https://protonswap.com/mainnet-coins.json" : "https://protonswap.com/testnet-coins.json",
1459
1471
  DEX_PROCESS_SIZE: 30,
1460
1472
  DEX_SLTPPROCESS_SIZE: 10,
1461
1473
  MAX_PRICE: "9223372036854775806",
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.108",
8
+ "version": "0.2.110",
9
9
  "license": "MIT",
10
10
  "main": "dist/index.js",
11
11
  "typings": "dist/index.d.ts",
@@ -40,5 +40,5 @@
40
40
  "resolutions": {
41
41
  "typescript": "4.5"
42
42
  },
43
- "gitHead": "afa8ee52e06ee2759cfc3654e8e9b07bd579cee5"
43
+ "gitHead": "03c477b84e29989be6e24091655c9d8e25b15d61"
44
44
  }
package/src/coins.ts CHANGED
@@ -1418,7 +1418,7 @@ export const initializeCoins = (
1418
1418
  },
1419
1419
  {
1420
1420
  allowSwap: false,
1421
- allowBridge: IS_TESTNET,
1421
+ allowBridge: true,
1422
1422
  allowLend: false,
1423
1423
  allowBorrow: false,
1424
1424
  name: "Hedera",
@@ -1440,7 +1440,18 @@ export const initializeCoins = (
1440
1440
  hasWithdrawMemo: true,
1441
1441
  },
1442
1442
  ]
1443
- : []),
1443
+ : [
1444
+ {
1445
+ wallet: "HBAR",
1446
+ symbol: "HBAR",
1447
+ chain: Chains.HederaMainnet,
1448
+ network: Networks.Mainnet,
1449
+ precision: 8,
1450
+ contract: undefined,
1451
+ provider: Providers.FIREBLOCKS,
1452
+ hasWithdrawMemo: true,
1453
+ },
1454
+ ]),
1444
1455
  ],
1445
1456
  image: "https://www.proton.org/images/tokens/xtokensXHBAR.png",
1446
1457
  coingeckoId: "hedera-hashgraph",
package/src/constants.ts CHANGED
@@ -98,6 +98,11 @@ export const initializeConstants = (chain: string) => {
98
98
  ? "384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0"
99
99
  : "71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd",
100
100
 
101
+ COINS_URL:
102
+ chain === "proton"
103
+ ? "https://protonswap.com/mainnet-coins.json"
104
+ : "https://protonswap.com/testnet-coins.json",
105
+
101
106
  DEX_PROCESS_SIZE: 30,
102
107
  DEX_SLTPPROCESS_SIZE: 10,
103
108
  MAX_PRICE: "9223372036854775806",