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