btc-wallet 0.5.92-beta → 0.5.93-beta

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.js CHANGED
@@ -3679,12 +3679,12 @@ function calculateGasStrategy(_0) {
3679
3679
  { near: new import_big.default(0), btc: new import_big.default(0) }
3680
3680
  );
3681
3681
  const nearAvailableBalance = new import_big.default(nearBalance).minus(transferAmount.near).toNumber();
3682
- if (nearAvailableBalance < 0.25) {
3683
- throw new Error("NEAR balance is insufficient, please deposit more NEAR");
3684
- }
3685
3682
  console.log("available near balance:", nearAvailableBalance);
3686
3683
  console.log("available gas token balance:", gasTokenBalance);
3687
3684
  console.log("gas strategy:", gasStrategy);
3685
+ if (nearAvailableBalance < 0.25) {
3686
+ throw new Error("NEAR balance is insufficient, please deposit more NEAR");
3687
+ }
3688
3688
  const convertTx = yield Promise.all(
3689
3689
  transactions2.map(
3690
3690
  (transaction, index) => convertTransactionToTxHex({
@@ -4374,7 +4374,7 @@ function calculateWithdraw(_0) {
4374
4374
  amount: "100",
4375
4375
  msg: ""
4376
4376
  },
4377
- gas: "300000000000000",
4377
+ gas: "30000000000000",
4378
4378
  deposit: "1"
4379
4379
  }
4380
4380
  }
@@ -5414,7 +5414,7 @@ function getGroup(state) {
5414
5414
 
5415
5415
  // src/index.ts
5416
5416
  var getVersion = () => {
5417
- return "0.5.92-beta";
5417
+ return "0.5.93-beta";
5418
5418
  };
5419
5419
  if (typeof window !== "undefined") {
5420
5420
  window.__BTC_WALLET_VERSION = getVersion();