btc-wallet 0.3.33 → 0.4.0-beta
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +7 -3
- package/dist/index.js.map +2 -2
- package/esm/index.js +7 -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
|
});
|
@@ -3951,9 +3952,12 @@ var BTCWallet = (_0) => __async(void 0, [_0], function* ({
|
|
3951
3952
|
account_id: accountId,
|
3952
3953
|
public_key: publicKey,
|
3953
3954
|
finality: "final"
|
3955
|
+
}).catch((e) => {
|
3956
|
+
console.log("view_access_key error:", e);
|
3957
|
+
return void 0;
|
3954
3958
|
});
|
3955
3959
|
const accessKey = __spreadProps(__spreadValues({}, rawAccessKey), {
|
3956
|
-
nonce: BigInt(rawAccessKey.nonce || 0)
|
3960
|
+
nonce: BigInt((rawAccessKey == null ? void 0 : rawAccessKey.nonce) || 0)
|
3957
3961
|
});
|
3958
3962
|
const nearNonceFromApi = yield getNearNonce(currentConfig.base_url, accountId);
|
3959
3963
|
let nearNonceNumber = accessKey.nonce + BigInt(1);
|
@@ -4049,7 +4053,7 @@ function setupBTCWallet({
|
|
4049
4053
|
|
4050
4054
|
// src/index.ts
|
4051
4055
|
var getVersion = () => {
|
4052
|
-
return "0.
|
4056
|
+
return "0.4.0-beta";
|
4053
4057
|
};
|
4054
4058
|
if (typeof window !== "undefined") {
|
4055
4059
|
window.__BTC_WALLET_VERSION = getVersion();
|