@xchainjs/xchain-thorchain-amm 0.3.10 → 0.3.12

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/README.md CHANGED
@@ -14,26 +14,25 @@ Following peer dependencies have to be installed into your project. These are no
14
14
 
15
15
  ```bash
16
16
  "dependencies": {
17
- "@binance-chain/javascript-sdk": "^4.2.0",
18
- "@cosmos-client/core": "0.45.13",
17
+ "@binance-chain/javascript-sdk": "^4.2.0",
18
+ "@cosmos-client/core": "0.46.1",
19
19
  "@psf/bitcoincashjs-lib": "^4.0.2",
20
- "@terra-money/terra.js": "^3.0.2",
21
- "@xchainjs/xchain-binance": "^5.6.0",
22
- "@xchainjs/xchain-bitcoin": "^0.20.0",
23
- "@xchainjs/xchain-bitcoincash": "^0.15.0",
24
- "@xchainjs/xchain-client": "^0.13.2",
25
- "@xchainjs/xchain-cosmos": "^0.20.0",
20
+ "@xchainjs/xchain-binance": "^5.6.6",
21
+ "@xchainjs/xchain-bitcoin": "^0.20.7",
22
+ "@xchainjs/xchain-bitcoincash": "^0.15.6",
23
+ "@xchainjs/xchain-client": "^0.13.5",
24
+ "@xchainjs/xchain-cosmos": "^0.20.6",
26
25
  "@xchainjs/xchain-crypto": "^0.2.6",
27
- "@xchainjs/xchain-doge": "^0.5.0",
28
- "@xchainjs/xchain-ethereum": "^0.27.0",
29
- "@xchainjs/xchain-evm": "^0.1.0",
30
- "@xchainjs/xchain-avax": "^0.1.0",
31
- "@xchainjs/xchain-litecoin": "^0.10.5",
32
- "@xchainjs/xchain-midgard": "0.3.0",
33
- "@xchainjs/xchain-thorchain": "^0.27.2",
34
- "@xchainjs/xchain-thorchain-query": "^0.1.8",
35
- "@xchainjs/xchain-thornode": "^0.1.2",
36
- "@xchainjs/xchain-util": "^0.11.0",
26
+ "@xchainjs/xchain-doge": "^0.5.6",
27
+ "@xchainjs/xchain-ethereum": "^0.27.6",
28
+ "@xchainjs/xchain-evm": "^0.1.3",
29
+ "@xchainjs/xchain-avax": "^0.1.3",
30
+ "@xchainjs/xchain-litecoin": "^0.10.8",
31
+ "@xchainjs/xchain-midgard": "0.4.1",
32
+ "@xchainjs/xchain-thorchain": "^0.27.7",
33
+ "@xchainjs/xchain-thorchain-query": "^0.1.12",
34
+ "@xchainjs/xchain-thornode": "^0.1.5",
35
+ "@xchainjs/xchain-util": "^0.12.0",
37
36
  "axios": "^0.25.0",
38
37
  "axios-retry": "^3.2.5",
39
38
  "bchaddrjs": "^0.5.2",
@@ -41,7 +40,6 @@ Following peer dependencies have to be installed into your project. These are no
41
40
  "bech32-buffer": "^0.2.0",
42
41
  "bignumber.js": "^9.0.0",
43
42
  "bitcoinjs-lib": "^5.2.0",
44
- "dotenv": "^16.0.0",
45
43
  "coininfo": "^5.1.0",
46
44
  "coinselect": "^3.1.12",
47
45
  "ethers": "^5.6.6",
@@ -79,3 +77,24 @@ tsconfig compiler options
79
77
  }
80
78
  }
81
79
  ```
80
+
81
+ ### Setting Headers for Nine Realms endpoints
82
+
83
+ If you plan on using the publically accessible endpoints provided by Nine Realms(listed below), ensure that you add a valid 'x-client-id' to all requests
84
+
85
+ - https://midgard.ninerealms.com
86
+ - https://haskoin.ninerealms.com (BTC/BCH/LTC)
87
+ - https://thornode.ninerealms.com
88
+
89
+ Example
90
+
91
+ ```typescript
92
+ import cosmosclient from '@cosmos-client/core'
93
+ import axios from 'axios'
94
+ import { register9Rheader } from '@xchainjs/xchain-util'
95
+
96
+ register9Rheader(axios)
97
+ register9Rheader(cosmosclient.config.globalAxios)
98
+ ```
99
+
100
+ For a complete example please see this [test](https://github.com/xchainjs/xchainjs-lib/blob/master/packages/xchain-thorchain-amm/__e2e__/wallet.e2e.ts)
package/lib/index.esm.js CHANGED
@@ -1,14 +1,14 @@
1
- import { Client as Client$8, defaultAvaxParams } from '@xchainjs/xchain-avax';
1
+ import { Client as Client$8, defaultAvaxParams, AVAXChain } from '@xchainjs/xchain-avax';
2
2
  import { Client as Client$6 } from '@xchainjs/xchain-binance';
3
3
  import { Client as Client$1 } from '@xchainjs/xchain-bitcoin';
4
4
  import { Client } from '@xchainjs/xchain-bitcoincash';
5
5
  import { FeeOption } from '@xchainjs/xchain-client';
6
6
  import { Client as Client$7 } from '@xchainjs/xchain-cosmos';
7
7
  import { Client as Client$2 } from '@xchainjs/xchain-doge';
8
- import { abi, MAX_APPROVAL, ETH_DECIMAL, Client as Client$3 } from '@xchainjs/xchain-ethereum';
8
+ import { AssetETH, abi, MAX_APPROVAL, ETH_DECIMAL, Client as Client$3, ETHChain } from '@xchainjs/xchain-ethereum';
9
9
  import { Client as Client$5 } from '@xchainjs/xchain-litecoin';
10
- import { Client as Client$4 } from '@xchainjs/xchain-thorchain';
11
- import { eqAsset, AssetETH, getContractAddressFromAsset, baseAmount, Chain } from '@xchainjs/xchain-util';
10
+ import { Client as Client$4, THORChain } from '@xchainjs/xchain-thorchain';
11
+ import { eqAsset, getContractAddressFromAsset, baseAmount } from '@xchainjs/xchain-util';
12
12
  import { ethers } from 'ethers';
13
13
  import { abi as abi$1, MAX_APPROVAL as MAX_APPROVAL$1 } from '@xchainjs/xchain-evm';
14
14
  import { ThorchainQuery } from '@xchainjs/xchain-thorchain-query';
@@ -293,7 +293,7 @@ class Wallet {
293
293
  executeSwap(swap) {
294
294
  return __awaiter(this, void 0, void 0, function* () {
295
295
  this.validateSwap(swap);
296
- if (swap.input.asset.chain === Chain.THORChain || swap.input.asset.synth) {
296
+ if (swap.input.asset.chain === THORChain || swap.input.asset.synth) {
297
297
  return yield this.swapRuneTo(swap);
298
298
  }
299
299
  else {
@@ -307,8 +307,8 @@ class Wallet {
307
307
  */
308
308
  validateSwap(swap) {
309
309
  const errors = [];
310
- const isThorchainDestinationAsset = swap.destinationAsset.synth || swap.destinationAsset.chain === Chain.THORChain;
311
- const chain = isThorchainDestinationAsset ? Chain.THORChain : swap.destinationAsset.chain;
310
+ const isThorchainDestinationAsset = swap.destinationAsset.synth || swap.destinationAsset.chain === THORChain;
311
+ const chain = isThorchainDestinationAsset ? THORChain : swap.destinationAsset.chain;
312
312
  if (!this.clients[chain].validateAddress(swap.destinationAddress)) {
313
313
  errors.push(`destinationAddress ${swap.destinationAddress} is not a valid address`);
314
314
  }
@@ -317,7 +317,7 @@ class Wallet {
317
317
  if (checkAffiliateAddress.length > 4) {
318
318
  const affiliateAddress = checkAffiliateAddress[4];
319
319
  if (affiliateAddress.length > 0) {
320
- const isValidThorchainAddress = this.clients[Chain.THORChain].validateAddress(affiliateAddress);
320
+ const isValidThorchainAddress = this.clients[THORChain].validateAddress(affiliateAddress);
321
321
  const isValidThorname = this.isThorname(affiliateAddress);
322
322
  if (!(isValidThorchainAddress || isValidThorname))
323
323
  errors.push(`affiliateAddress ${affiliateAddress} is not a valid THOR address`);
@@ -361,7 +361,7 @@ class Wallet {
361
361
  const inbound = (yield this.thorchainQuery.thorchainCache.getInboundDetails())[swap.input.asset.chain];
362
362
  if (!(inbound === null || inbound === void 0 ? void 0 : inbound.address))
363
363
  throw Error(`no asgard address found for ${swap.input.asset.chain}`);
364
- if (swap.input.asset.chain === Chain.Ethereum) {
364
+ if (swap.input.asset.chain === ETHChain) {
365
365
  const params = {
366
366
  walletIndex: 0,
367
367
  asset: swap.input.asset,
@@ -372,7 +372,7 @@ class Wallet {
372
372
  const hash = yield this.ethHelper.sendDeposit(params);
373
373
  return { hash, url: client.getExplorerTxUrl(hash), waitTimeSeconds };
374
374
  }
375
- else if (swap.input.asset.chain === Chain.Avalanche) {
375
+ else if (swap.input.asset.chain === AVAXChain) {
376
376
  const params = {
377
377
  walletIndex: 0,
378
378
  asset: swap.input.asset,
@@ -481,7 +481,7 @@ class Wallet {
481
481
  addSavers(assetAmount, memo, toAddress, waitTimeSeconds) {
482
482
  return __awaiter(this, void 0, void 0, function* () {
483
483
  const assetClient = this.clients[assetAmount.asset.chain];
484
- if (assetAmount.asset.chain === Chain.Ethereum) {
484
+ if (assetAmount.asset.chain === ETHChain) {
485
485
  const addParams = {
486
486
  wallIndex: 0,
487
487
  asset: assetAmount.asset,
@@ -492,7 +492,7 @@ class Wallet {
492
492
  const hash = yield this.ethHelper.sendDeposit(addParams);
493
493
  return { hash, url: assetClient.getExplorerTxUrl(hash), waitTimeSeconds };
494
494
  }
495
- else if (assetAmount.asset.chain === Chain.Avalanche) {
495
+ else if (assetAmount.asset.chain === AVAXChain) {
496
496
  const addParams = {
497
497
  wallIndex: 0,
498
498
  asset: assetAmount.asset,
@@ -533,7 +533,7 @@ class Wallet {
533
533
  withdrawSavers(dustAssetAmount, memo, toAddress, waitTimeSeconds) {
534
534
  return __awaiter(this, void 0, void 0, function* () {
535
535
  const assetClient = this.clients[dustAssetAmount.asset.chain];
536
- if (dustAssetAmount.asset.chain === Chain.Ethereum) {
536
+ if (dustAssetAmount.asset.chain === ETHChain) {
537
537
  const addParams = {
538
538
  wallIndex: 0,
539
539
  asset: dustAssetAmount.asset,
@@ -544,7 +544,7 @@ class Wallet {
544
544
  const hash = yield this.ethHelper.sendDeposit(addParams);
545
545
  return { hash, url: assetClient.getExplorerTxUrl(hash), waitTimeSeconds };
546
546
  }
547
- else if (dustAssetAmount.asset.chain === Chain.Avalanche) {
547
+ else if (dustAssetAmount.asset.chain === AVAXChain) {
548
548
  const addParams = {
549
549
  wallIndex: 0,
550
550
  asset: dustAssetAmount.asset,
@@ -586,7 +586,7 @@ class Wallet {
586
586
  */
587
587
  addAssetLP(params, constructedMemo, assetClient, waitTimeSeconds, inboundAsgard) {
588
588
  return __awaiter(this, void 0, void 0, function* () {
589
- if (params.asset.asset.chain === Chain.Ethereum) {
589
+ if (params.asset.asset.chain === ETHChain) {
590
590
  const addParams = {
591
591
  wallIndex: 0,
592
592
  asset: params.asset.asset,
@@ -597,7 +597,7 @@ class Wallet {
597
597
  const hash = yield this.ethHelper.sendDeposit(addParams);
598
598
  return { hash, url: assetClient.getExplorerTxUrl(hash), waitTimeSeconds };
599
599
  }
600
- else if (params.asset.asset.chain === Chain.Avalanche) {
600
+ else if (params.asset.asset.chain === AVAXChain) {
601
601
  const addParams = {
602
602
  wallIndex: 0,
603
603
  asset: params.asset.asset,
@@ -639,7 +639,7 @@ class Wallet {
639
639
  */
640
640
  withdrawAssetLP(params, constructedMemo, assetClient, waitTimeSeconds, inboundAsgard) {
641
641
  return __awaiter(this, void 0, void 0, function* () {
642
- if (params.assetFee.asset.chain === Chain.Ethereum) {
642
+ if (params.assetFee.asset.chain === ETHChain) {
643
643
  const withdrawParams = {
644
644
  wallIndex: 0,
645
645
  asset: params.assetFee.asset,
@@ -651,7 +651,7 @@ class Wallet {
651
651
  const hash = yield this.ethHelper.sendDeposit(withdrawParams);
652
652
  return { hash, url: assetClient.getExplorerTxUrl(hash), waitTimeSeconds };
653
653
  }
654
- else if (params.assetFee.asset.chain === Chain.Avalanche) {
654
+ else if (params.assetFee.asset.chain === AVAXChain) {
655
655
  const withdrawParams = {
656
656
  wallIndex: 0,
657
657
  asset: params.assetFee.asset,
package/lib/index.js CHANGED
@@ -72,7 +72,7 @@ class EthHelper {
72
72
  }
73
73
  const address = this.client.getAddress(params.walletIndex);
74
74
  const gasPrice = yield this.ethClient.estimateGasPrices();
75
- if (xchainUtil.eqAsset(params.asset, xchainUtil.AssetETH)) {
75
+ if (xchainUtil.eqAsset(params.asset, xchainEthereum.AssetETH)) {
76
76
  //ETH is a simple transfer
77
77
  return yield this.client.transfer({
78
78
  walletIndex: params.walletIndex || 0,
@@ -297,7 +297,7 @@ class Wallet {
297
297
  executeSwap(swap) {
298
298
  return __awaiter(this, void 0, void 0, function* () {
299
299
  this.validateSwap(swap);
300
- if (swap.input.asset.chain === xchainUtil.Chain.THORChain || swap.input.asset.synth) {
300
+ if (swap.input.asset.chain === xchainThorchain.THORChain || swap.input.asset.synth) {
301
301
  return yield this.swapRuneTo(swap);
302
302
  }
303
303
  else {
@@ -311,8 +311,8 @@ class Wallet {
311
311
  */
312
312
  validateSwap(swap) {
313
313
  const errors = [];
314
- const isThorchainDestinationAsset = swap.destinationAsset.synth || swap.destinationAsset.chain === xchainUtil.Chain.THORChain;
315
- const chain = isThorchainDestinationAsset ? xchainUtil.Chain.THORChain : swap.destinationAsset.chain;
314
+ const isThorchainDestinationAsset = swap.destinationAsset.synth || swap.destinationAsset.chain === xchainThorchain.THORChain;
315
+ const chain = isThorchainDestinationAsset ? xchainThorchain.THORChain : swap.destinationAsset.chain;
316
316
  if (!this.clients[chain].validateAddress(swap.destinationAddress)) {
317
317
  errors.push(`destinationAddress ${swap.destinationAddress} is not a valid address`);
318
318
  }
@@ -321,7 +321,7 @@ class Wallet {
321
321
  if (checkAffiliateAddress.length > 4) {
322
322
  const affiliateAddress = checkAffiliateAddress[4];
323
323
  if (affiliateAddress.length > 0) {
324
- const isValidThorchainAddress = this.clients[xchainUtil.Chain.THORChain].validateAddress(affiliateAddress);
324
+ const isValidThorchainAddress = this.clients[xchainThorchain.THORChain].validateAddress(affiliateAddress);
325
325
  const isValidThorname = this.isThorname(affiliateAddress);
326
326
  if (!(isValidThorchainAddress || isValidThorname))
327
327
  errors.push(`affiliateAddress ${affiliateAddress} is not a valid THOR address`);
@@ -365,7 +365,7 @@ class Wallet {
365
365
  const inbound = (yield this.thorchainQuery.thorchainCache.getInboundDetails())[swap.input.asset.chain];
366
366
  if (!(inbound === null || inbound === void 0 ? void 0 : inbound.address))
367
367
  throw Error(`no asgard address found for ${swap.input.asset.chain}`);
368
- if (swap.input.asset.chain === xchainUtil.Chain.Ethereum) {
368
+ if (swap.input.asset.chain === xchainEthereum.ETHChain) {
369
369
  const params = {
370
370
  walletIndex: 0,
371
371
  asset: swap.input.asset,
@@ -376,7 +376,7 @@ class Wallet {
376
376
  const hash = yield this.ethHelper.sendDeposit(params);
377
377
  return { hash, url: client.getExplorerTxUrl(hash), waitTimeSeconds };
378
378
  }
379
- else if (swap.input.asset.chain === xchainUtil.Chain.Avalanche) {
379
+ else if (swap.input.asset.chain === xchainAvax.AVAXChain) {
380
380
  const params = {
381
381
  walletIndex: 0,
382
382
  asset: swap.input.asset,
@@ -485,7 +485,7 @@ class Wallet {
485
485
  addSavers(assetAmount, memo, toAddress, waitTimeSeconds) {
486
486
  return __awaiter(this, void 0, void 0, function* () {
487
487
  const assetClient = this.clients[assetAmount.asset.chain];
488
- if (assetAmount.asset.chain === xchainUtil.Chain.Ethereum) {
488
+ if (assetAmount.asset.chain === xchainEthereum.ETHChain) {
489
489
  const addParams = {
490
490
  wallIndex: 0,
491
491
  asset: assetAmount.asset,
@@ -496,7 +496,7 @@ class Wallet {
496
496
  const hash = yield this.ethHelper.sendDeposit(addParams);
497
497
  return { hash, url: assetClient.getExplorerTxUrl(hash), waitTimeSeconds };
498
498
  }
499
- else if (assetAmount.asset.chain === xchainUtil.Chain.Avalanche) {
499
+ else if (assetAmount.asset.chain === xchainAvax.AVAXChain) {
500
500
  const addParams = {
501
501
  wallIndex: 0,
502
502
  asset: assetAmount.asset,
@@ -537,7 +537,7 @@ class Wallet {
537
537
  withdrawSavers(dustAssetAmount, memo, toAddress, waitTimeSeconds) {
538
538
  return __awaiter(this, void 0, void 0, function* () {
539
539
  const assetClient = this.clients[dustAssetAmount.asset.chain];
540
- if (dustAssetAmount.asset.chain === xchainUtil.Chain.Ethereum) {
540
+ if (dustAssetAmount.asset.chain === xchainEthereum.ETHChain) {
541
541
  const addParams = {
542
542
  wallIndex: 0,
543
543
  asset: dustAssetAmount.asset,
@@ -548,7 +548,7 @@ class Wallet {
548
548
  const hash = yield this.ethHelper.sendDeposit(addParams);
549
549
  return { hash, url: assetClient.getExplorerTxUrl(hash), waitTimeSeconds };
550
550
  }
551
- else if (dustAssetAmount.asset.chain === xchainUtil.Chain.Avalanche) {
551
+ else if (dustAssetAmount.asset.chain === xchainAvax.AVAXChain) {
552
552
  const addParams = {
553
553
  wallIndex: 0,
554
554
  asset: dustAssetAmount.asset,
@@ -590,7 +590,7 @@ class Wallet {
590
590
  */
591
591
  addAssetLP(params, constructedMemo, assetClient, waitTimeSeconds, inboundAsgard) {
592
592
  return __awaiter(this, void 0, void 0, function* () {
593
- if (params.asset.asset.chain === xchainUtil.Chain.Ethereum) {
593
+ if (params.asset.asset.chain === xchainEthereum.ETHChain) {
594
594
  const addParams = {
595
595
  wallIndex: 0,
596
596
  asset: params.asset.asset,
@@ -601,7 +601,7 @@ class Wallet {
601
601
  const hash = yield this.ethHelper.sendDeposit(addParams);
602
602
  return { hash, url: assetClient.getExplorerTxUrl(hash), waitTimeSeconds };
603
603
  }
604
- else if (params.asset.asset.chain === xchainUtil.Chain.Avalanche) {
604
+ else if (params.asset.asset.chain === xchainAvax.AVAXChain) {
605
605
  const addParams = {
606
606
  wallIndex: 0,
607
607
  asset: params.asset.asset,
@@ -643,7 +643,7 @@ class Wallet {
643
643
  */
644
644
  withdrawAssetLP(params, constructedMemo, assetClient, waitTimeSeconds, inboundAsgard) {
645
645
  return __awaiter(this, void 0, void 0, function* () {
646
- if (params.assetFee.asset.chain === xchainUtil.Chain.Ethereum) {
646
+ if (params.assetFee.asset.chain === xchainEthereum.ETHChain) {
647
647
  const withdrawParams = {
648
648
  wallIndex: 0,
649
649
  asset: params.assetFee.asset,
@@ -655,7 +655,7 @@ class Wallet {
655
655
  const hash = yield this.ethHelper.sendDeposit(withdrawParams);
656
656
  return { hash, url: assetClient.getExplorerTxUrl(hash), waitTimeSeconds };
657
657
  }
658
- else if (params.assetFee.asset.chain === xchainUtil.Chain.Avalanche) {
658
+ else if (params.assetFee.asset.chain === xchainAvax.AVAXChain) {
659
659
  const withdrawParams = {
660
660
  wallIndex: 0,
661
661
  asset: params.assetFee.asset,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xchainjs/xchain-thorchain-amm",
3
- "version": "0.3.10",
3
+ "version": "0.3.12",
4
4
  "description": "module that exposes estimating & swappping cryptocurrency assets on thorchain",
5
5
  "keywords": [
6
6
  "THORChain",
@@ -37,24 +37,24 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@binance-chain/javascript-sdk": "^4.2.0",
40
- "@cosmos-client/core": "0.45.13",
40
+ "@cosmos-client/core": "0.46.1",
41
41
  "@psf/bitcoincashjs-lib": "^4.0.2",
42
- "@xchainjs/xchain-binance": "^5.6.5",
43
- "@xchainjs/xchain-bitcoin": "^0.20.5",
44
- "@xchainjs/xchain-bitcoincash": "^0.15.4",
45
- "@xchainjs/xchain-client": "^0.13.3",
46
- "@xchainjs/xchain-cosmos": "^0.20.4",
42
+ "@xchainjs/xchain-avax": "^0.1.3",
43
+ "@xchainjs/xchain-binance": "^5.6.6",
44
+ "@xchainjs/xchain-bitcoin": "^0.20.7",
45
+ "@xchainjs/xchain-bitcoincash": "^0.15.6",
46
+ "@xchainjs/xchain-client": "^0.13.5",
47
+ "@xchainjs/xchain-cosmos": "^0.20.6",
47
48
  "@xchainjs/xchain-crypto": "^0.2.6",
48
- "@xchainjs/xchain-doge": "^0.5.5",
49
- "@xchainjs/xchain-ethereum": "^0.27.4",
50
- "@xchainjs/xchain-evm": "^0.1.1",
51
- "@xchainjs/xchain-avax": "^0.1.1",
52
- "@xchainjs/xchain-litecoin": "^0.10.6",
49
+ "@xchainjs/xchain-doge": "^0.5.6",
50
+ "@xchainjs/xchain-ethereum": "^0.27.6",
51
+ "@xchainjs/xchain-evm": "^0.1.3",
52
+ "@xchainjs/xchain-litecoin": "^0.10.8",
53
53
  "@xchainjs/xchain-midgard": "0.3.0",
54
- "@xchainjs/xchain-thorchain": "^0.27.4",
55
- "@xchainjs/xchain-thorchain-query": "^0.1.9",
56
- "@xchainjs/xchain-thornode": "^0.1.2",
57
- "@xchainjs/xchain-util": "^0.11.0",
54
+ "@xchainjs/xchain-thorchain": "^0.27.7",
55
+ "@xchainjs/xchain-thorchain-query": "^0.1.12",
56
+ "@xchainjs/xchain-thornode": "^0.2.0",
57
+ "@xchainjs/xchain-util": "^0.12.0",
58
58
  "axios": "^0.25.0",
59
59
  "axios-retry": "^3.2.5",
60
60
  "bchaddrjs": "^0.5.2",
@@ -70,24 +70,24 @@
70
70
  },
71
71
  "peerDependencies": {
72
72
  "@binance-chain/javascript-sdk": "^4.2.0",
73
- "@cosmos-client/core": "0.45.13",
73
+ "@cosmos-client/core": "0.46.1",
74
74
  "@psf/bitcoincashjs-lib": "^4.0.2",
75
- "@xchainjs/xchain-binance": "^5.6.5",
76
- "@xchainjs/xchain-bitcoin": "^0.20.5",
77
- "@xchainjs/xchain-bitcoincash": "^0.15.4",
78
- "@xchainjs/xchain-client": "^0.13.3",
79
- "@xchainjs/xchain-cosmos": "^0.20.4",
75
+ "@xchainjs/xchain-avax": "^0.1.3",
76
+ "@xchainjs/xchain-binance": "^5.6.6",
77
+ "@xchainjs/xchain-bitcoin": "^0.20.7",
78
+ "@xchainjs/xchain-bitcoincash": "^0.15.6",
79
+ "@xchainjs/xchain-client": "^0.13.5",
80
+ "@xchainjs/xchain-cosmos": "^0.20.6",
80
81
  "@xchainjs/xchain-crypto": "^0.2.6",
81
- "@xchainjs/xchain-doge": "^0.5.5",
82
- "@xchainjs/xchain-ethereum": "^0.27.4",
83
- "@xchainjs/xchain-evm": "^0.1.1",
84
- "@xchainjs/xchain-avax": "^0.1.1",
85
- "@xchainjs/xchain-litecoin": "^0.10.6",
86
- "@xchainjs/xchain-midgard": "0.3.0",
87
- "@xchainjs/xchain-thorchain": "^0.27.4",
88
- "@xchainjs/xchain-thorchain-query": "^0.1.9",
89
- "@xchainjs/xchain-thornode": "^0.1.2",
90
- "@xchainjs/xchain-util": "^0.11.0",
82
+ "@xchainjs/xchain-doge": "^0.5.6",
83
+ "@xchainjs/xchain-ethereum": "^0.27.6",
84
+ "@xchainjs/xchain-evm": "^0.1.3",
85
+ "@xchainjs/xchain-litecoin": "^0.10.8",
86
+ "@xchainjs/xchain-midgard": "0.4.1",
87
+ "@xchainjs/xchain-thorchain": "^0.27.7",
88
+ "@xchainjs/xchain-thorchain-query": "^0.1.12",
89
+ "@xchainjs/xchain-thornode": "^0.2.0",
90
+ "@xchainjs/xchain-util": "^0.12.1",
91
91
  "axios": "^0.25.0",
92
92
  "axios-retry": "^3.2.5",
93
93
  "bchaddrjs": "^0.5.2",