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