btc-wallet 0.3.28 → 0.3.29
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +3 -1
- package/dist/core/btcUtils.d.ts +3 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +2 -2
- package/esm/index.js +3 -2
- package/esm/index.js.map +2 -2
- package/package.json +1 -1
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.
|
3958
|
+
return "0.3.29";
|
3958
3959
|
};
|
3959
3960
|
if (typeof window !== "undefined") {
|
3960
3961
|
window.__BTC_WALLET_VERSION = getVersion();
|