@tonconnect/ui 2.4.0 → 2.4.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
@@ -9339,7 +9339,9 @@ function enrichUniversalLink(universalLink, params) {
9339
9339
  const sessionId = (_b2 = params.sessionId) != null ? _b2 : searchParams.get("id");
9340
9340
  const traceId = params.traceId;
9341
9341
  const orderedKeys = ["tonconnect", "v", "id", "trace_id"];
9342
- const unorderedParams = searchParams.entries().filter(([key]) => !orderedKeys.includes(key));
9342
+ const unorderedParams = Array.from(searchParams.entries()).filter(
9343
+ ([key]) => !orderedKeys.includes(key)
9344
+ );
9343
9345
  const startApp = buildQueryParams(__spreadProps(__spreadValues({
9344
9346
  tonconnect: "",
9345
9347
  v: "2",
@@ -12783,7 +12785,7 @@ class TonConnectUITracker {
12783
12785
  }
12784
12786
  }
12785
12787
  }
12786
- const tonConnectUiVersion = "2.4.0";
12788
+ const tonConnectUiVersion = "2.4.2";
12787
12789
  class TonConnectEnvironment {
12788
12790
  constructor() {
12789
12791
  this.userAgent = getUserAgent();