@xchainjs/xchain-thorchain-amm 0.3.4 → 0.3.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.
package/lib/index.esm.js CHANGED
@@ -1100,8 +1100,8 @@ class ThorchainAMM {
1100
1100
  // Caution Dust Limits: BTC,BCH,LTC chains 10k sats; DOGE 1m Sats; ETH 0 wei; THOR 0 RUNE.
1101
1101
  const withdrawParams = yield this.thorchainQuery.estimateWithdrawLP(params);
1102
1102
  return wallet.withdrawLiquidity({
1103
- assetFee: withdrawParams.transactionFee.assetFee,
1104
- runeFee: withdrawParams.transactionFee.runeFee,
1103
+ assetFee: withdrawParams.inbound.fees.asset,
1104
+ runeFee: withdrawParams.inbound.fees.rune,
1105
1105
  waitTimeSeconds: withdrawParams.estimatedWaitSeconds,
1106
1106
  percentage: params.percentage,
1107
1107
  assetPool: withdrawParams.assetPool,
package/lib/index.js CHANGED
@@ -1104,8 +1104,8 @@ class ThorchainAMM {
1104
1104
  // Caution Dust Limits: BTC,BCH,LTC chains 10k sats; DOGE 1m Sats; ETH 0 wei; THOR 0 RUNE.
1105
1105
  const withdrawParams = yield this.thorchainQuery.estimateWithdrawLP(params);
1106
1106
  return wallet.withdrawLiquidity({
1107
- assetFee: withdrawParams.transactionFee.assetFee,
1108
- runeFee: withdrawParams.transactionFee.runeFee,
1107
+ assetFee: withdrawParams.inbound.fees.asset,
1108
+ runeFee: withdrawParams.inbound.fees.rune,
1109
1109
  waitTimeSeconds: withdrawParams.estimatedWaitSeconds,
1110
1110
  percentage: params.percentage,
1111
1111
  assetPool: withdrawParams.assetPool,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xchainjs/xchain-thorchain-amm",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "module that exposes estimating & swappping cryptocurrency assets on thorchain",
5
5
  "keywords": [
6
6
  "THORChain",
@@ -50,10 +50,10 @@
50
50
  "@xchainjs/xchain-ethereum": "^0.27.0",
51
51
  "@xchainjs/xchain-evm": "^0.1.0",
52
52
  "@xchainjs/xchain-avax": "^0.1.0",
53
- "@xchainjs/xchain-litecoin": "^0.10.3",
53
+ "@xchainjs/xchain-litecoin": "^0.10.5",
54
54
  "@xchainjs/xchain-midgard": "0.2.0",
55
55
  "@xchainjs/xchain-thorchain": "^0.27.0",
56
- "@xchainjs/xchain-thorchain-query": "^0.1.5",
56
+ "@xchainjs/xchain-thorchain-query": "^0.1.6",
57
57
  "@xchainjs/xchain-thornode": "^0.1.1",
58
58
  "@xchainjs/xchain-util": "^0.11.0",
59
59
  "axios": "^0.25.0",