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/esm/index.js
CHANGED
@@ -4850,6 +4850,13 @@ function setupWalletSelectorModal(selector, options) {
|
|
4850
4850
|
throw new Error("selector is required");
|
4851
4851
|
const state = selector.store.getState();
|
4852
4852
|
const group = getGroup(state);
|
4853
|
+
if (group.includes("btc")) {
|
4854
|
+
document.head.appendChild(document.createElement("style")).textContent = `
|
4855
|
+
#near-wallet-selector-modal .options-list .btc-wallet {
|
4856
|
+
display: none;
|
4857
|
+
}
|
4858
|
+
`;
|
4859
|
+
}
|
4853
4860
|
const modal = _setupModal(selector, options);
|
4854
4861
|
const originalShow = modal.show.bind(modal);
|
4855
4862
|
modal.show = () => __async(this, null, function* () {
|
@@ -4910,7 +4917,7 @@ function getGroup(state) {
|
|
4910
4917
|
|
4911
4918
|
// src/index.ts
|
4912
4919
|
var getVersion = () => {
|
4913
|
-
return "0.5.
|
4920
|
+
return "0.5.26-beta";
|
4914
4921
|
};
|
4915
4922
|
if (typeof window !== "undefined") {
|
4916
4923
|
window.__BTC_WALLET_VERSION = getVersion();
|