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/dist/index.js +3 -3
- package/dist/index.js.map +2 -2
- package/esm/index.js +3 -3
- package/esm/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -3871,8 +3871,8 @@ function getBtcGasPrice() {
|
|
3871
3871
|
try {
|
3872
3872
|
const btcRpcUrl = yield getBtcRpcUrl();
|
3873
3873
|
const res = yield fetch(`${btcRpcUrl}/v1/fees/recommended`).then((res2) => res2.json());
|
3874
|
-
const feeRate = res.fastestFee;
|
3875
|
-
return feeRate
|
3874
|
+
const feeRate = res.fastestFee ? Number(res.fastestFee) + 1 : defaultFeeRate;
|
3875
|
+
return feeRate;
|
3876
3876
|
} catch (error) {
|
3877
3877
|
return defaultFeeRate;
|
3878
3878
|
}
|
@@ -5311,7 +5311,7 @@ function getGroup(state) {
|
|
5311
5311
|
|
5312
5312
|
// src/index.ts
|
5313
5313
|
var getVersion = () => {
|
5314
|
-
return "0.5.
|
5314
|
+
return "0.5.74-beta";
|
5315
5315
|
};
|
5316
5316
|
if (typeof window !== "undefined") {
|
5317
5317
|
window.__BTC_WALLET_VERSION = getVersion();
|