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/dist/index.js
CHANGED
@@ -4455,7 +4455,6 @@ function setupWalletButton({
|
|
4455
4455
|
btcWallet,
|
4456
4456
|
walletUrl
|
4457
4457
|
}) {
|
4458
|
-
console.log(`setupWalletButton ${walletUrl || ""}`);
|
4459
4458
|
if (document.getElementById("satoshi-wallet-button")) {
|
4460
4459
|
return;
|
4461
4460
|
}
|
@@ -4487,10 +4486,9 @@ function createFloatingButtonWithIframe({
|
|
4487
4486
|
closeImageUrl,
|
4488
4487
|
iframe
|
4489
4488
|
}) {
|
4490
|
-
var _a;
|
4491
4489
|
const button = document.createElement("img");
|
4492
4490
|
button.id = "satoshi-wallet-button";
|
4493
|
-
const isIframeVisible =
|
4491
|
+
const isIframeVisible = storage4 == null ? void 0 : storage4.get("visible");
|
4494
4492
|
button.src = isIframeVisible ? closeImageUrl : openImageUrl;
|
4495
4493
|
iframe.style.display = isIframeVisible ? "block" : "none";
|
4496
4494
|
const windowWidth = window.innerWidth;
|
@@ -4683,12 +4681,11 @@ function createIframe({
|
|
4683
4681
|
iframeUrl,
|
4684
4682
|
iframeStyle = {}
|
4685
4683
|
}) {
|
4686
|
-
var _a;
|
4687
4684
|
const iframe = document.createElement("iframe");
|
4688
4685
|
iframe.id = "satoshi-wallet-iframe";
|
4689
4686
|
iframe.allow = "clipboard-read; clipboard-write";
|
4690
4687
|
iframe.src = iframeUrl;
|
4691
|
-
const isVisible =
|
4688
|
+
const isVisible = storage4 == null ? void 0 : storage4.get("visible");
|
4692
4689
|
Object.assign(iframe.style, __spreadValues({
|
4693
4690
|
position: "fixed",
|
4694
4691
|
bottom: "90px",
|
@@ -5230,7 +5227,7 @@ function getGroup(state) {
|
|
5230
5227
|
|
5231
5228
|
// src/index.ts
|
5232
5229
|
var getVersion = () => {
|
5233
|
-
return "0.5.
|
5230
|
+
return "0.5.63-beta";
|
5234
5231
|
};
|
5235
5232
|
if (typeof window !== "undefined") {
|
5236
5233
|
window.__BTC_WALLET_VERSION = getVersion();
|