btc-wallet 0.3.34 → 0.4.1-beta
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +5 -3
- package/dist/index.js.map +2 -2
- package/esm/index.js +5 -3
- package/esm/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -3584,7 +3584,8 @@ function checkSatoshiWhitelist(btcAccountId, env = "mainnet") {
|
|
3584
3584
|
if (!isWhitelisted) {
|
3585
3585
|
Dialog.alert({
|
3586
3586
|
title: "Account is not whitelisted",
|
3587
|
-
message: `
|
3587
|
+
message: `We're live on beta mainnet! Join the whitelist to on-ramp your BTC in just 24 hours.
|
3588
|
+
Sign up now: <a style="color: #ff7a00; text-decoration: underline;" href="https://forms.gle/rrTP1ZbGU5mRZpHdA" target="_blank">https://forms.gle/rrTP1ZbGU5mRZpHdA</a>`,
|
3588
3589
|
dangerouslyUseHTML: true,
|
3589
3590
|
closable: false
|
3590
3591
|
});
|
@@ -3837,7 +3838,8 @@ var BTCWallet = (_0) => __async(void 0, [_0], function* ({
|
|
3837
3838
|
trans.map((transaction, index) => convertTransactionToTxHex(transaction, index))
|
3838
3839
|
);
|
3839
3840
|
const nonceFromApi = yield getNonce(currentConfig.base_url, accountId);
|
3840
|
-
const
|
3841
|
+
const nonceFromContract = (accountInfo == null ? void 0 : accountInfo.nonce) || 0;
|
3842
|
+
const nonce = Number(nonceFromApi) > Number(nonceFromContract) ? String(nonceFromApi) : String(nonceFromContract);
|
3841
3843
|
const intention = {
|
3842
3844
|
chain_id: "397",
|
3843
3845
|
csna: accountId,
|
@@ -4052,7 +4054,7 @@ function setupBTCWallet({
|
|
4052
4054
|
|
4053
4055
|
// src/index.ts
|
4054
4056
|
var getVersion = () => {
|
4055
|
-
return "0.
|
4057
|
+
return "0.4.1-beta";
|
4056
4058
|
};
|
4057
4059
|
if (typeof window !== "undefined") {
|
4058
4060
|
window.__BTC_WALLET_VERSION = getVersion();
|