btc-wallet 0.3.28 → 0.3.29

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/esm/index.js CHANGED
@@ -3373,6 +3373,7 @@ function executeBTCDepositAndAction(_0) {
3373
3373
  feeRate,
3374
3374
  fixedAmount = true,
3375
3375
  pollResult = true,
3376
+ registerDeposit,
3376
3377
  env = "mainnet"
3377
3378
  }) {
3378
3379
  var _a;
@@ -3422,7 +3423,7 @@ function executeBTCDepositAndAction(_0) {
3422
3423
  if (!(registerRes == null ? void 0 : registerRes.available)) {
3423
3424
  storageDepositMsg.storage_deposit_msg = {
3424
3425
  contract_id: (action == null ? void 0 : action.receiver_id) || config.token,
3425
- deposit: NEAR_STORAGE_DEPOSIT_AMOUNT,
3426
+ deposit: registerDeposit || NEAR_STORAGE_DEPOSIT_AMOUNT,
3426
3427
  registration_only: true
3427
3428
  };
3428
3429
  }
@@ -3954,7 +3955,7 @@ function setupBTCWallet({
3954
3955
 
3955
3956
  // src/index.ts
3956
3957
  var getVersion = () => {
3957
- return "0.3.28";
3958
+ return "0.3.29";
3958
3959
  };
3959
3960
  if (typeof window !== "undefined") {
3960
3961
  window.__BTC_WALLET_VERSION = getVersion();