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/esm/index.js CHANGED
@@ -4416,10 +4416,9 @@ function createFloatingButtonWithIframe({
4416
4416
  closeImageUrl,
4417
4417
  iframe
4418
4418
  }) {
4419
- var _a;
4420
4419
  const button = document.createElement("img");
4421
4420
  button.id = "satoshi-wallet-button";
4422
- const isIframeVisible = (_a = storage4 == null ? void 0 : storage4.get("visible")) != null ? _a : !isMobile();
4421
+ const isIframeVisible = storage4 == null ? void 0 : storage4.get("visible");
4423
4422
  button.src = isIframeVisible ? closeImageUrl : openImageUrl;
4424
4423
  iframe.style.display = isIframeVisible ? "block" : "none";
4425
4424
  const windowWidth = window.innerWidth;
@@ -4612,12 +4611,11 @@ function createIframe({
4612
4611
  iframeUrl,
4613
4612
  iframeStyle = {}
4614
4613
  }) {
4615
- var _a;
4616
4614
  const iframe = document.createElement("iframe");
4617
4615
  iframe.id = "satoshi-wallet-iframe";
4618
4616
  iframe.allow = "clipboard-read; clipboard-write";
4619
4617
  iframe.src = iframeUrl;
4620
- const isVisible = (_a = storage4 == null ? void 0 : storage4.get("visible")) != null ? _a : !isMobile();
4618
+ const isVisible = storage4 == null ? void 0 : storage4.get("visible");
4621
4619
  Object.assign(iframe.style, __spreadValues({
4622
4620
  position: "fixed",
4623
4621
  bottom: "90px",
@@ -5161,7 +5159,7 @@ function getGroup(state) {
5161
5159
 
5162
5160
  // src/index.ts
5163
5161
  var getVersion = () => {
5164
- return "0.5.62-beta";
5162
+ return "0.5.63-beta";
5165
5163
  };
5166
5164
  if (typeof window !== "undefined") {
5167
5165
  window.__BTC_WALLET_VERSION = getVersion();