idmission-web-sdk 2.2.28 → 2.2.29

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.
@@ -211,7 +211,7 @@
211
211
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
212
212
  };
213
213
 
214
- var webSdkVersion = '2.2.28';
214
+ var webSdkVersion = '2.2.29';
215
215
 
216
216
  function getPlatform() {
217
217
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -10104,7 +10104,13 @@
10104
10104
  function _isNavigatorDefined() {
10105
10105
  return typeof navigator !== 'undefined' && navigator != null;
10106
10106
  }
10107
- function isMobile(nav) {
10107
+ var isMobileCache;
10108
+ function isMobile() {
10109
+ if (isMobileCache !== undefined) return isMobileCache;
10110
+ isMobileCache = evaluateIsMobile();
10111
+ return isMobileCache;
10112
+ }
10113
+ function evaluateIsMobile(nav) {
10108
10114
  if (nav || _isNavigatorDefined()) {
10109
10115
  if (!nav) {
10110
10116
  nav = navigator;