btc-wallet 0.5.25-beta → 0.5.26-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 +8 -1
- package/dist/index.js.map +2 -2
- package/esm/index.js +8 -1
- package/esm/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -4903,6 +4903,13 @@ function setupWalletSelectorModal(selector, options) {
|
|
4903
4903
|
throw new Error("selector is required");
|
4904
4904
|
const state = selector.store.getState();
|
4905
4905
|
const group = getGroup(state);
|
4906
|
+
if (group.includes("btc")) {
|
4907
|
+
document.head.appendChild(document.createElement("style")).textContent = `
|
4908
|
+
#near-wallet-selector-modal .options-list .btc-wallet {
|
4909
|
+
display: none;
|
4910
|
+
}
|
4911
|
+
`;
|
4912
|
+
}
|
4906
4913
|
const modal = (0, import_ref_modal_ui.setupModal)(selector, options);
|
4907
4914
|
const originalShow = modal.show.bind(modal);
|
4908
4915
|
modal.show = () => __async(this, null, function* () {
|
@@ -4963,7 +4970,7 @@ function getGroup(state) {
|
|
4963
4970
|
|
4964
4971
|
// src/index.ts
|
4965
4972
|
var getVersion = () => {
|
4966
|
-
return "0.5.
|
4973
|
+
return "0.5.26-beta";
|
4967
4974
|
};
|
4968
4975
|
if (typeof window !== "undefined") {
|
4969
4976
|
window.__BTC_WALLET_VERSION = getVersion();
|