btc-wallet 0.5.23-beta → 0.5.24-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 +4 -4
- package/dist/index.js.map +2 -2
- package/dist/utils/satoshi.d.ts +1 -1
- package/esm/index.js +4 -4
- package/esm/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -3343,7 +3343,8 @@ function getAccountInfo(_0) {
|
|
3343
3343
|
},
|
3344
3344
|
{ network: config.network }
|
3345
3345
|
).catch((error) => {
|
3346
|
-
|
3346
|
+
console.log(`get_account error, please try again later`, error);
|
3347
|
+
throw error;
|
3347
3348
|
});
|
3348
3349
|
return accountInfo;
|
3349
3350
|
});
|
@@ -3703,7 +3704,7 @@ function calculateWithdraw(_0) {
|
|
3703
3704
|
return {
|
3704
3705
|
withdrawFee: 0,
|
3705
3706
|
isError: true,
|
3706
|
-
errorMsg:
|
3707
|
+
errorMsg: `Mini withdraw amount is ${Number(brgConfig.min_withdraw_amount) + Number(gasLimit)} sats`
|
3707
3708
|
};
|
3708
3709
|
}
|
3709
3710
|
}
|
@@ -4324,7 +4325,6 @@ function createFloatingButtonWithIframe({
|
|
4324
4325
|
zIndex: "100000",
|
4325
4326
|
width: "60px",
|
4326
4327
|
height: "60px",
|
4327
|
-
borderRadius: "50%",
|
4328
4328
|
cursor: "grab",
|
4329
4329
|
transition: "transform 0.15s ease",
|
4330
4330
|
userSelect: "none"
|
@@ -4832,7 +4832,7 @@ function setupBTCWallet({
|
|
4832
4832
|
|
4833
4833
|
// src/index.ts
|
4834
4834
|
var getVersion = () => {
|
4835
|
-
return "0.5.
|
4835
|
+
return "0.5.24-beta";
|
4836
4836
|
};
|
4837
4837
|
if (typeof window !== "undefined") {
|
4838
4838
|
window.__BTC_WALLET_VERSION = getVersion();
|