@snack-uikit/utils 3.8.1 → 3.8.2-preview-845a4e8b.0

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.
@@ -17,7 +17,7 @@ class QueryParamSource extends baseSource_1.BaseSource {
17
17
  if ((0, utils_1.isBrowser)()) {
18
18
  const url = new URL(window.location.href);
19
19
  url.searchParams.set(this.filterKey, value);
20
- history.pushState({}, '', url);
20
+ history.replaceState({}, '', url);
21
21
  }
22
22
  }
23
23
  }
@@ -11,7 +11,7 @@ export class QueryParamSource extends BaseSource {
11
11
  if (isBrowser()) {
12
12
  const url = new URL(window.location.href);
13
13
  url.searchParams.set(this.filterKey, value);
14
- history.pushState({}, '', url);
14
+ history.replaceState({}, '', url);
15
15
  }
16
16
  }
17
17
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Utils",
7
- "version": "3.8.1",
7
+ "version": "3.8.2-preview-845a4e8b.0",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -39,5 +39,5 @@
39
39
  "react-swipeable": "7.0.2",
40
40
  "uncontrollable": "8.0.4"
41
41
  },
42
- "gitHead": "d12776ae6b32233f12df33facc32de6a8758706a"
42
+ "gitHead": "84992c2beb4db1a6bddcb3209c0ffbd26df23185"
43
43
  }
@@ -13,7 +13,7 @@ export class QueryParamSource<TFilter> extends BaseSource<TFilter> {
13
13
  if (isBrowser()) {
14
14
  const url = new URL(window.location.href);
15
15
  url.searchParams.set(this.filterKey, value);
16
- history.pushState({}, '', url);
16
+ history.replaceState({}, '', url);
17
17
  }
18
18
  }
19
19
  }