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.
package/dist/sdk2.esm.js CHANGED
@@ -201,7 +201,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
201
201
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
202
202
  };
203
203
 
204
- var webSdkVersion = '2.2.28';
204
+ var webSdkVersion = '2.2.29';
205
205
 
206
206
  function getPlatform() {
207
207
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -4029,7 +4029,13 @@ function FocusModelProvider(_a) {
4029
4029
  function _isNavigatorDefined() {
4030
4030
  return typeof navigator !== 'undefined' && navigator != null;
4031
4031
  }
4032
- function isMobile(nav) {
4032
+ var isMobileCache;
4033
+ function isMobile() {
4034
+ if (isMobileCache !== undefined) return isMobileCache;
4035
+ isMobileCache = evaluateIsMobile();
4036
+ return isMobileCache;
4037
+ }
4038
+ function evaluateIsMobile(nav) {
4033
4039
  if (nav || _isNavigatorDefined()) {
4034
4040
  if (!nav) {
4035
4041
  nav = navigator;