btc-wallet 0.5.74-beta → 0.5.75-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/core/setupModal.d.ts +1 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +2 -2
- package/esm/index.js +4 -2
- package/esm/index.js.map +2 -2
- package/package.json +1 -1
package/esm/index.js
CHANGED
@@ -5123,6 +5123,7 @@ function setupWalletSelectorModal(selector, options) {
|
|
5123
5123
|
const {
|
5124
5124
|
showChainGroups = true,
|
5125
5125
|
showWalletUIForNearAccount = true,
|
5126
|
+
hideWalletUIForNearWallets = ["meteor-wallet-app"],
|
5126
5127
|
env = "mainnet",
|
5127
5128
|
walletUrl,
|
5128
5129
|
draggable = true,
|
@@ -5137,8 +5138,9 @@ function setupWalletSelectorModal(selector, options) {
|
|
5137
5138
|
const walletId = state2.selectedWalletId;
|
5138
5139
|
window.enableCustomWalletSelectorModal = true;
|
5139
5140
|
console.log("setupWalletSelectorModal walletId", walletId);
|
5141
|
+
const showWalletUI = walletId && (walletId === "btc-wallet" || showWalletUIForNearAccount && !hideWalletUIForNearWallets.includes(walletId));
|
5140
5142
|
removeWalletButton();
|
5141
|
-
if (
|
5143
|
+
if (showWalletUI) {
|
5142
5144
|
selector.wallet().then((wallet) => {
|
5143
5145
|
setupWalletButton({
|
5144
5146
|
env,
|
@@ -5241,7 +5243,7 @@ function getGroup(state) {
|
|
5241
5243
|
|
5242
5244
|
// src/index.ts
|
5243
5245
|
var getVersion = () => {
|
5244
|
-
return "0.5.
|
5246
|
+
return "0.5.75-beta";
|
5245
5247
|
};
|
5246
5248
|
if (typeof window !== "undefined") {
|
5247
5249
|
window.__BTC_WALLET_VERSION = getVersion();
|