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/esm/index.js CHANGED
@@ -3606,12 +3606,12 @@ function calculateGasStrategy(_0) {
3606
3606
  { near: new Big(0), btc: new Big(0) }
3607
3607
  );
3608
3608
  const nearAvailableBalance = new Big(nearBalance).minus(transferAmount.near).toNumber();
3609
- if (nearAvailableBalance < 0.25) {
3610
- throw new Error("NEAR balance is insufficient, please deposit more NEAR");
3611
- }
3612
3609
  console.log("available near balance:", nearAvailableBalance);
3613
3610
  console.log("available gas token balance:", gasTokenBalance);
3614
3611
  console.log("gas strategy:", gasStrategy);
3612
+ if (nearAvailableBalance < 0.25) {
3613
+ throw new Error("NEAR balance is insufficient, please deposit more NEAR");
3614
+ }
3615
3615
  const convertTx = yield Promise.all(
3616
3616
  transactions2.map(
3617
3617
  (transaction, index) => convertTransactionToTxHex({
@@ -4301,7 +4301,7 @@ function calculateWithdraw(_0) {
4301
4301
  amount: "100",
4302
4302
  msg: ""
4303
4303
  },
4304
- gas: "300000000000000",
4304
+ gas: "30000000000000",
4305
4305
  deposit: "1"
4306
4306
  }
4307
4307
  }
@@ -5343,7 +5343,7 @@ function getGroup(state) {
5343
5343
 
5344
5344
  // src/index.ts
5345
5345
  var getVersion = () => {
5346
- return "0.5.92-beta";
5346
+ return "0.5.93-beta";
5347
5347
  };
5348
5348
  if (typeof window !== "undefined") {
5349
5349
  window.__BTC_WALLET_VERSION = getVersion();