@tonconnect/ui 2.0.9-beta.1 → 2.0.9-beta.2

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/lib/index.mjs CHANGED
@@ -8410,7 +8410,7 @@ function redirectToTelegram(universalLink, options) {
8410
8410
  openLinkBlank(linkWithStrategy);
8411
8411
  }
8412
8412
  } else if (isOS("android")) {
8413
- options.returnStrategy = "none";
8413
+ options.returnStrategy = "back";
8414
8414
  const isChrome = isBrowser("chrome");
8415
8415
  const isFirefox = isBrowser("firefox");
8416
8416
  const useDeepLink = (isChrome || isFirefox) && !options.forceRedirect;
@@ -8460,7 +8460,7 @@ function redirectToTelegram(universalLink, options) {
8460
8460
  openLinkBlank(linkWithStrategy);
8461
8461
  }
8462
8462
  } else if (isOS("macos", "windows", "linux")) {
8463
- options.returnStrategy = "none";
8463
+ options.returnStrategy = "back";
8464
8464
  options.twaReturnUrl = void 0;
8465
8465
  if (options.forceRedirect) {
8466
8466
  openLinkBlank(addReturnStrategy(directLinkUrl.toString(), options));
@@ -10960,7 +10960,7 @@ class TonConnectUITracker {
10960
10960
  }
10961
10961
  }
10962
10962
  }
10963
- const tonConnectUiVersion = "2.0.9-beta.1";
10963
+ const tonConnectUiVersion = "2.0.9-beta.2";
10964
10964
  class TonConnectUI {
10965
10965
  constructor(options) {
10966
10966
  __publicField(this, "walletInfoStorage", new WalletInfoStorage());