@tonconnect/ui 2.0.3-beta.4 → 2.0.4

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
@@ -8329,11 +8329,11 @@ function redirectToTelegram(universalLink, options) {
8329
8329
  directLinkUrl.searchParams.append("startapp", "tonconnect");
8330
8330
  }
8331
8331
  if (isInTMA()) {
8332
- if (isTmaPlatform("ios", "android")) {
8332
+ if (isTmaPlatform("ios", "android", "macos")) {
8333
8333
  options.returnStrategy = "back";
8334
8334
  options.twaReturnUrl = void 0;
8335
8335
  sendOpenTelegramLink(addReturnStrategy(directLinkUrl.toString(), options));
8336
- } else if (isTmaPlatform("macos", "tdesktop")) {
8336
+ } else if (isTmaPlatform("tdesktop")) {
8337
8337
  sendOpenTelegramLink(addReturnStrategy(directLinkUrl.toString(), options));
8338
8338
  } else if (isTmaPlatform("weba")) {
8339
8339
  sendOpenTelegramLink(addReturnStrategy(directLinkUrl.toString(), options));
@@ -10899,7 +10899,7 @@ class TonConnectUITracker {
10899
10899
  }
10900
10900
  }
10901
10901
  }
10902
- const tonConnectUiVersion = "2.0.3-beta.4";
10902
+ const tonConnectUiVersion = "2.0.4";
10903
10903
  class TonConnectUI {
10904
10904
  constructor(options) {
10905
10905
  __publicField(this, "walletInfoStorage", new WalletInfoStorage());