btc-wallet 0.5.61-beta → 0.5.63-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 +3 -6
- package/dist/index.js.map +2 -2
- package/esm/index.js +3 -6
- package/esm/index.js.map +2 -2
- package/package.json +1 -1
package/esm/index.js
CHANGED
@@ -4385,7 +4385,6 @@ function setupWalletButton({
|
|
4385
4385
|
btcWallet,
|
4386
4386
|
walletUrl
|
4387
4387
|
}) {
|
4388
|
-
console.log(`setupWalletButton ${walletUrl || ""}`);
|
4389
4388
|
if (document.getElementById("satoshi-wallet-button")) {
|
4390
4389
|
return;
|
4391
4390
|
}
|
@@ -4417,10 +4416,9 @@ function createFloatingButtonWithIframe({
|
|
4417
4416
|
closeImageUrl,
|
4418
4417
|
iframe
|
4419
4418
|
}) {
|
4420
|
-
var _a;
|
4421
4419
|
const button = document.createElement("img");
|
4422
4420
|
button.id = "satoshi-wallet-button";
|
4423
|
-
const isIframeVisible =
|
4421
|
+
const isIframeVisible = storage4 == null ? void 0 : storage4.get("visible");
|
4424
4422
|
button.src = isIframeVisible ? closeImageUrl : openImageUrl;
|
4425
4423
|
iframe.style.display = isIframeVisible ? "block" : "none";
|
4426
4424
|
const windowWidth = window.innerWidth;
|
@@ -4613,12 +4611,11 @@ function createIframe({
|
|
4613
4611
|
iframeUrl,
|
4614
4612
|
iframeStyle = {}
|
4615
4613
|
}) {
|
4616
|
-
var _a;
|
4617
4614
|
const iframe = document.createElement("iframe");
|
4618
4615
|
iframe.id = "satoshi-wallet-iframe";
|
4619
4616
|
iframe.allow = "clipboard-read; clipboard-write";
|
4620
4617
|
iframe.src = iframeUrl;
|
4621
|
-
const isVisible =
|
4618
|
+
const isVisible = storage4 == null ? void 0 : storage4.get("visible");
|
4622
4619
|
Object.assign(iframe.style, __spreadValues({
|
4623
4620
|
position: "fixed",
|
4624
4621
|
bottom: "90px",
|
@@ -5162,7 +5159,7 @@ function getGroup(state) {
|
|
5162
5159
|
|
5163
5160
|
// src/index.ts
|
5164
5161
|
var getVersion = () => {
|
5165
|
-
return "0.5.
|
5162
|
+
return "0.5.63-beta";
|
5166
5163
|
};
|
5167
5164
|
if (typeof window !== "undefined") {
|
5168
5165
|
window.__BTC_WALLET_VERSION = getVersion();
|