@regulaforensics/idv-capture-web 3.6.434-nightly → 3.6.436-nightly

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/main.js CHANGED
@@ -6562,7 +6562,7 @@ var Yi = () => {
6562
6562
  osVersion: `${$r.osVersion}`,
6563
6563
  hostAppId: Yi(),
6564
6564
  host: Yi(),
6565
- sdkVersion: (t = "3.6.434-nightly") == null ? void 0 : t.trim(),
6565
+ sdkVersion: (t = "3.6.436-nightly") == null ? void 0 : t.trim(),
6566
6566
  name: navigator.userAgent,
6567
6567
  deviceModel: `${$r.osName}/${$r.osVersion} ${$r.browserName}/${$r.fullBrowserVersion}`,
6568
6568
  hostAppVersion: `${$r.browserName}/${$r.fullBrowserVersion}`,
@@ -16041,12 +16041,12 @@ var jf = (e, t) => ({
16041
16041
  };
16042
16042
  }();
16043
16043
  B.clearSubscriptions(), B.onMessage((e) => {
16044
- var i;
16044
+ var i, s;
16045
16045
  if (a) return;
16046
- let s = t()._decodeMessageFromWebSocket(e);
16047
- if (s && (s == null ? void 0 : s.eventType) === "SESSION_STARTED") {
16048
- if (s.error) {
16049
- let e = s.error.message;
16046
+ let c = t()._decodeMessageFromWebSocket(e);
16047
+ if (c && (c == null ? void 0 : c.eventType) === "SESSION_STARTED") {
16048
+ if (c.error) {
16049
+ let e = c.error.message;
16050
16050
  R.logSessionEvent({
16051
16051
  module: "IDV",
16052
16052
  logLevel: I.ERROR,
@@ -16054,7 +16054,7 @@ var jf = (e, t) => ({
16054
16054
  });
16055
16055
  let t = new Ra(k({
16056
16056
  errorCode: fi.PROVIDER_ERROR,
16057
- underlyingError: JSON.stringify(s.error)
16057
+ underlyingError: JSON.stringify(c.error)
16058
16058
  }, L(e) && { message: e }));
16059
16059
  r = new z({
16060
16060
  errorCode: ci.START_SESSION_FAILED,
@@ -16062,11 +16062,11 @@ var jf = (e, t) => ({
16062
16062
  }), o();
16063
16063
  return;
16064
16064
  }
16065
- R.logSessionEvent({
16065
+ (i = c.options) != null && i.session && (R.logSessionEvent({
16066
16066
  module: "IDV",
16067
16067
  logLevel: I.DEBUG,
16068
16068
  message: "Start session: session data successfully received (from WebSocket)."
16069
- }), n = (i = s.options) == null ? void 0 : i.session, o();
16069
+ }), n = (s = c.options) == null ? void 0 : s.session, o());
16070
16070
  }
16071
16071
  }), s();
16072
16072
  }), r) return { error: r };
@@ -16123,12 +16123,12 @@ var jf = (e, t) => ({
16123
16123
  };
16124
16124
  }();
16125
16125
  B.clearSubscriptions(), B.onMessage((e) => {
16126
- var n;
16126
+ var n, a;
16127
16127
  if (o) return;
16128
- let a = t()._decodeMessageFromWebSocket(e);
16129
- if (a && ["SESSION_STATE", "SESSION_UPDATED"].includes(a == null ? void 0 : a.eventType)) {
16130
- if (a.error) {
16131
- let e = a.error.message;
16128
+ let c = t()._decodeMessageFromWebSocket(e);
16129
+ if (c && ["SESSION_STATE", "SESSION_UPDATED"].includes(c == null ? void 0 : c.eventType)) {
16130
+ if (c.error) {
16131
+ let e = c.error.message;
16132
16132
  R.logSessionEvent({
16133
16133
  module: "IDV",
16134
16134
  logLevel: I.ERROR,
@@ -16136,7 +16136,7 @@ var jf = (e, t) => ({
16136
16136
  });
16137
16137
  let t = new Ra(k({
16138
16138
  errorCode: fi.PROVIDER_ERROR,
16139
- underlyingError: JSON.stringify(a.error)
16139
+ underlyingError: JSON.stringify(c.error)
16140
16140
  }, L(e) && { message: e }));
16141
16141
  i = new z({
16142
16142
  errorCode: ci.START_SESSION_FAILED,
@@ -16144,11 +16144,11 @@ var jf = (e, t) => ({
16144
16144
  }), s();
16145
16145
  return;
16146
16146
  }
16147
- R.logSessionEvent({
16147
+ (n = c.options) != null && n.session && (R.logSessionEvent({
16148
16148
  module: "IDV",
16149
16149
  logLevel: I.DEBUG,
16150
16150
  message: "Continue session: session data successfully received (from WebSocket)."
16151
- }), r = (n = a.options) == null ? void 0 : n.session, s();
16151
+ }), r = (a = c.options) == null ? void 0 : a.session, s());
16152
16152
  }
16153
16153
  }), B.onReconnect(() => {
16154
16154
  B.sendSessionGetMessage({
@@ -17857,7 +17857,7 @@ var Pf = Wr((...e) => k(k(k({}, ua(...e)), Tf(...e)), jf(...e))), Ff = (e) => /^
17857
17857
  return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = If(e.id, t), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
17858
17858
  }
17859
17859
  get version() {
17860
- return "3.6.434-nightly";
17860
+ return "3.6.436-nightly";
17861
17861
  }
17862
17862
  disconnectedCallback() {
17863
17863
  var e;
@@ -17975,7 +17975,7 @@ var Uf = class {
17975
17975
  }
17976
17976
  get version() {
17977
17977
  var e;
17978
- return (e = "3.6.434-nightly") == null ? "Version unavailable. Something went wrong" : e;
17978
+ return (e = "3.6.436-nightly") == null ? "Version unavailable. Something went wrong" : e;
17979
17979
  }
17980
17980
  get currentSessionId() {
17981
17981
  return Pf.getState().getCurrentSessionId();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/idv-capture-web",
3
- "version": "3.6.434-nightly",
3
+ "version": "3.6.436-nightly",
4
4
  "description": "Regula framework agnostic web components to work with webcamera",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/main.js",