@magmaprotocol/magma-clmm-sdk 0.5.72 → 0.5.74

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.mjs CHANGED
@@ -6679,7 +6679,7 @@ var RewarderModule = class {
6679
6679
  coinAInput = {
6680
6680
  targetCoin: inputCoinA,
6681
6681
  remainCoins: [],
6682
- isMintZeroCoin: false,
6682
+ isMintZeroCoin: true,
6683
6683
  tragetCoinAmount: "0"
6684
6684
  };
6685
6685
  coinIdMaps.push({ coin: coinAInput, coin_addr: coinTypeA });
@@ -6692,7 +6692,7 @@ var RewarderModule = class {
6692
6692
  coinBInput = {
6693
6693
  targetCoin: inputCoinB,
6694
6694
  remainCoins: [],
6695
- isMintZeroCoin: false,
6695
+ isMintZeroCoin: true,
6696
6696
  tragetCoinAmount: "0"
6697
6697
  };
6698
6698
  }
@@ -6723,9 +6723,7 @@ var RewarderModule = class {
6723
6723
  tx = this.createCollectRewarderNoSendPaylod(item, tx, primaryCoinInputs);
6724
6724
  });
6725
6725
  coinIdMaps.forEach((item) => {
6726
- if (item.coin.isMintZeroCoin) {
6727
- TransactionUtil.buildTransferCoin(this._sdk, tx, item.coin.targetCoin, item.coin_addr, this._sdk.senderAddress);
6728
- }
6726
+ TransactionUtil.buildTransferCoin(this._sdk, tx, item.coin.targetCoin, item.coin_addr, this._sdk.senderAddress);
6729
6727
  });
6730
6728
  return tx;
6731
6729
  }