btc-wallet 0.5.73-beta → 0.5.74-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
@@ -3799,8 +3799,8 @@ function getBtcGasPrice() {
3799
3799
  try {
3800
3800
  const btcRpcUrl = yield getBtcRpcUrl();
3801
3801
  const res = yield fetch(`${btcRpcUrl}/v1/fees/recommended`).then((res2) => res2.json());
3802
- const feeRate = res.fastestFee;
3803
- return feeRate || defaultFeeRate;
3802
+ const feeRate = res.fastestFee ? Number(res.fastestFee) + 1 : defaultFeeRate;
3803
+ return feeRate;
3804
3804
  } catch (error) {
3805
3805
  return defaultFeeRate;
3806
3806
  }
@@ -5241,7 +5241,7 @@ function getGroup(state) {
5241
5241
 
5242
5242
  // src/index.ts
5243
5243
  var getVersion = () => {
5244
- return "0.5.73-beta";
5244
+ return "0.5.74-beta";
5245
5245
  };
5246
5246
  if (typeof window !== "undefined") {
5247
5247
  window.__BTC_WALLET_VERSION = getVersion();