@koine/browser 2.0.0-beta.17 → 2.0.0-beta.19

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.
File without changes
package/createStorage.js CHANGED
File without changes
package/getZonedDate.d.ts CHANGED
File without changes
package/getZonedDate.js CHANGED
File without changes
package/gtagPageview.d.ts CHANGED
File without changes
package/gtagPageview.js CHANGED
File without changes
package/index.d.ts CHANGED
File without changes
package/index.js CHANGED
File without changes
package/isIE.d.ts CHANGED
File without changes
package/isIE.js CHANGED
File without changes
package/isMobile.d.ts CHANGED
File without changes
package/isMobile.js CHANGED
File without changes
File without changes
@@ -1,4 +1,5 @@
1
1
  import { __values } from "tslib";
2
+ import { isBrowser } from "@koine/utils";
2
3
  import { on } from "@koine/dom";
3
4
  function extendHistoryMethod(fn, runHandlers, before) {
4
5
  return function interceptor() {
@@ -15,7 +16,7 @@ function extendHistoryMethod(fn, runHandlers, before) {
15
16
  return result;
16
17
  };
17
18
  }
18
- var prevSearch = location.search;
19
+ var prevSearch = isBrowser ? location.search : "";
19
20
  function runHandlers() {
20
21
  var e_1, _a;
21
22
  var newSearch = location.search;
File without changes
File without changes
File without changes
package/navigateToHash.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/navigateToUrl.js CHANGED
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -2,8 +2,8 @@
2
2
  "name": "@koine/browser",
3
3
  "sideEffects": false,
4
4
  "dependencies": {
5
- "@koine/dom": "2.0.0-beta.17",
6
- "@koine/utils": "2.0.0-beta.17"
5
+ "@koine/dom": "2.0.0-beta.19",
6
+ "@koine/utils": "2.0.0-beta.19"
7
7
  },
8
8
  "types": "./index.d.ts",
9
9
  "type": "module",
@@ -65,5 +65,5 @@
65
65
  }
66
66
  },
67
67
  "peerDependencies": {},
68
- "version": "2.0.0-beta.17"
68
+ "version": "2.0.0-beta.19"
69
69
  }
package/redirectTo.d.ts CHANGED
File without changes
package/redirectTo.js CHANGED
File without changes
package/storage.d.ts CHANGED
File without changes
package/storage.js CHANGED
File without changes
File without changes
package/storageClient.js CHANGED
File without changes