web-manager 3.2.36 → 3.2.37

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.
Files changed (2) hide show
  1. package/index.js +4 -4
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -37,14 +37,14 @@ var store;
37
37
  /**
38
38
  * MODULE
39
39
  */
40
- function ieVersion() {
40
+ function getIEVersion() {
41
41
  // https://makandracards.com/makandra/53475-minimal-javascript-function-to-detect-version-of-internet-explorer-or-edge
42
42
  var match = /\b(MSIE |Trident.*?rv:|Edge\/)(\d+)/.exec(navigator.userAgent);
43
43
  if (match) {return parseInt(match[2])};
44
44
  }
45
45
 
46
- function _isSupportedBrowser() {
47
- var ieVersion = ieVersion();
46
+ function isSupportedBrowser() {
47
+ var ieVersion = getIEVersion();
48
48
 
49
49
  // IE 10 and below
50
50
  if (ieVersion && ieVersion <= 11) {
@@ -77,7 +77,7 @@ function Manager() {
77
77
  // initSecondaryReady: false,
78
78
  queryString: {},
79
79
  // libErrors: [],
80
- isSupportedBrowser: _isSupportedBrowser(),
80
+ isSupportedBrowser: isSupportedBrowser(),
81
81
  startTime: new Date(),
82
82
  // auth: {
83
83
  // status: undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "3.2.36",
3
+ "version": "3.2.37",
4
4
  "description": "Easily access important variables such as the query string, current domain, and current page in a single object.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -36,4 +36,4 @@
36
36
  "firebase": "^9.23.0",
37
37
  "lazysizes": "^5.3.2"
38
38
  }
39
- }
39
+ }