@incodetech/core 0.0.0-dev-20260529-bbc34b14 → 0.0.0-dev-20260529-2e406f03

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 (60) hide show
  1. package/dist/{MotionSensorProvider-DAFArfKO.esm.js → MotionSensorProvider-D1JWpMLJ.esm.js} +9 -0
  2. package/dist/{WasmUtilProvider-Va_i-eMT.esm.js → WasmUtilProvider-CeyOvhU2.esm.js} +16 -0
  3. package/dist/ae-signature.d.ts +1 -1
  4. package/dist/authentication.d.ts +3 -3
  5. package/dist/authentication.esm.js +10 -10
  6. package/dist/{authenticationManager-BCa2KJ3W.d.ts → authenticationManager-2SaJ7Utr.d.ts} +1 -1
  7. package/dist/{authenticationManager-BjpnO88T.esm.js → authenticationManager-DBAgrHM4.esm.js} +3 -3
  8. package/dist/{authenticationStateMachine-CB_FVKRQ.esm.js → authenticationStateMachine-BeC9dwb2.esm.js} +2 -2
  9. package/dist/{browserSimulation-DCzZRn_y.esm.js → browserSimulation-CHpyEI-W.esm.js} +1217 -24
  10. package/dist/camera.esm.js +3 -3
  11. package/dist/consent.d.ts +50 -50
  12. package/dist/cpf-ocr.d.ts +23 -23
  13. package/dist/{deepsightLoader-D2ZhUfMt.esm.js → deepsightLoader-BzmwKcAY.esm.js} +4 -4
  14. package/dist/{deepsightService-BxIcYEvD.esm.js → deepsightService-Dh9EiWze.esm.js} +14 -6
  15. package/dist/{deepsightService-X2FAWn_3.d.ts → deepsightService-DnPLubLz.d.ts} +2 -0
  16. package/dist/document-capture.d.ts +77 -77
  17. package/dist/document-upload.d.ts +46 -46
  18. package/dist/ekyb.esm.js +4 -4
  19. package/dist/{ekybStateMachine-DVGWZhWe.esm.js → ekybStateMachine-QlPb8Pmd.esm.js} +1 -1
  20. package/dist/electronic-signature.d.ts +1 -1
  21. package/dist/extensibility.d.ts +8 -6
  22. package/dist/extensibility.esm.js +15 -15
  23. package/dist/{faceCaptureManagerFactory-BNTr8hCe.d.ts → faceCaptureManagerFactory-B1gwCVQS.d.ts} +1 -1
  24. package/dist/{faceCaptureManagerFactory-qc68qvPB.esm.js → faceCaptureManagerFactory-CuIu05bt.esm.js} +1 -1
  25. package/dist/{faceCaptureSetup-CCmBB4Yj.esm.js → faceCaptureSetup--lytJ6nf.esm.js} +2 -2
  26. package/dist/flow.d.ts +2 -2
  27. package/dist/flow.esm.js +3 -3
  28. package/dist/{flowServices-wrL7bJ8u.esm.js → flowServices-C8Wby7eU.esm.js} +1 -1
  29. package/dist/geolocation.d.ts +2 -2
  30. package/dist/geolocation.esm.js +2 -2
  31. package/dist/{geolocationStateMachine-DW_g556o.esm.js → geolocationStateMachine-DWIlVTDs.esm.js} +2 -2
  32. package/dist/home.d.ts +10 -10
  33. package/dist/id-ocr.d.ts +55 -55
  34. package/dist/id-verification.d.ts +25 -25
  35. package/dist/id.d.ts +2 -2
  36. package/dist/id.esm.js +9 -9
  37. package/dist/{idCaptureManager-wjb9Go10.d.ts → idCaptureManager-BTg-zmxS.d.ts} +1 -1
  38. package/dist/{idCaptureManager-HnxOCRmz.esm.js → idCaptureManager-Bs4UGw4U.esm.js} +2 -2
  39. package/dist/{idCaptureStateMachine-DfqPf7d-.esm.js → idCaptureStateMachine-BVmdGGah.esm.js} +6 -6
  40. package/dist/identity-reuse.d.ts +1 -1
  41. package/dist/{identityReuseManager-DuNFMYHK.d.ts → identityReuseManager-EMt0uj9N.d.ts} +31 -31
  42. package/dist/{index-haoJUu5U.d.ts → index-9Zeyq2CH.d.ts} +126 -126
  43. package/dist/index.esm.js +4 -4
  44. package/dist/mandatory-consent.d.ts +47 -47
  45. package/dist/{permissionServices-CYSReeaA.esm.js → permissionServices-BjXAT5OT.esm.js} +2 -2
  46. package/dist/qe-signature.d.ts +1 -1
  47. package/dist/{recordingService-5juvEHjh.esm.js → recordingService-D_VuGVdv.esm.js} +7 -4
  48. package/dist/selfie.d.ts +3 -3
  49. package/dist/selfie.esm.js +10 -10
  50. package/dist/{selfieManager-DWDfY17n.d.ts → selfieManager-BaY5P0wW.d.ts} +1 -1
  51. package/dist/{selfieManager-DHxLF4ja.esm.js → selfieManager-Cy_WPFoy.esm.js} +3 -3
  52. package/dist/{selfieStateMachine-DoXEHqqT.esm.js → selfieStateMachine-CJw2vkzA.esm.js} +2 -2
  53. package/dist/session.esm.js +2 -2
  54. package/dist/sessionInitializer-DTm9HXE-.esm.js +366 -0
  55. package/dist/{setup-Bh2cJh2O.esm.js → setup-B5h-pRkY.esm.js} +2 -2
  56. package/dist/wasm.esm.js +4 -4
  57. package/dist/workflow.d.ts +123 -123
  58. package/dist/workflow.esm.js +14 -14
  59. package/package.json +1 -1
  60. package/dist/sessionInitializer-CG8cTttf.esm.js +0 -1559
@@ -124,6 +124,14 @@ var MotionSensorProvider = class MotionSensorProvider {
124
124
  sessionStorage.setItem(MOTION_PERMISSION_DENIED_KEY, String(true));
125
125
  sessionStorage.removeItem(MOTION_PERMISSION_GRANTED_KEY);
126
126
  }
127
+ syncSessionPermission() {
128
+ if (!MotionSensorProvider.isIosMotionPermissionRequired()) {
129
+ this._hasPermission = true;
130
+ return;
131
+ }
132
+ if (MotionSensorProvider.hasMotionPermissionGrantedInSession()) this._hasPermission = true;
133
+ else if (MotionSensorProvider.hasMotionPermissionDeniedInSession()) this._hasPermission = false;
134
+ }
127
135
  async requestPermission() {
128
136
  if (!MotionSensorProvider.isIosMotionPermissionRequired()) return "not-required";
129
137
  if (MotionSensorProvider.hasMotionPermissionGrantedInSession()) {
@@ -170,6 +178,7 @@ var MotionSensorProvider = class MotionSensorProvider {
170
178
  } catch {}
171
179
  }
172
180
  async start() {
181
+ this.syncSessionPermission();
173
182
  if (this._isRunning || !this._hasPermission) return;
174
183
  try {
175
184
  this.initializeAccelerometer();
@@ -791,6 +791,14 @@ var MlWasmJSApi = class MlWasmJSApi {
791
791
  this.checkWasmInitialization("Unable to stl, cpp API hasn't been initialized");
792
792
  this.utilityApi.stl();
793
793
  }
794
+ osv() {
795
+ this.checkWasmInitialization("Unable to set sensor beginning timestamp, cpp API hasn't been initialized");
796
+ this.utilityApi.osv();
797
+ }
798
+ oev() {
799
+ this.checkWasmInitialization("Unable to set sensor ending timestamp, cpp API hasn't been initialized");
800
+ this.utilityApi.oev();
801
+ }
794
802
  ckvcks(data) {
795
803
  this.checkWasmInitialization("Unable to ckvcks, cpp API hasn't been initialized");
796
804
  this.utilityApi.ckvcks(data);
@@ -1260,6 +1268,14 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
1260
1268
  this.ensureInitialized();
1261
1269
  mlWasmJSApi_default.stl();
1262
1270
  }
1271
+ osv() {
1272
+ this.ensureInitialized();
1273
+ mlWasmJSApi_default.osv();
1274
+ }
1275
+ oev() {
1276
+ this.ensureInitialized();
1277
+ mlWasmJSApi_default.oev();
1278
+ }
1263
1279
  ckvcks(data) {
1264
1280
  this.ensureInitialized();
1265
1281
  mlWasmJSApi_default.ckvcks(data);
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-Li1pXOFC.js";
2
2
  import "./Actor-LDyqfWZV.js";
3
- import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-haoJUu5U.js";
3
+ import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-9Zeyq2CH.js";
4
4
 
5
5
  //#region src/modules/ae-signature/index.d.ts
6
6
 
@@ -2,12 +2,12 @@ import "./warmup-BXBDbhKe.js";
2
2
  import "./Manager-Li1pXOFC.js";
3
3
  import "./Actor-LDyqfWZV.js";
4
4
  import "./StateMachine-Nl-Jtl1w.js";
5
- import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-BNTr8hCe.js";
5
+ import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-B1gwCVQS.js";
6
6
  import "./camera-BgyHeDdc.js";
7
7
  import "./types-D4ZTL8-s.js";
8
8
  import "./types-CA1a_172.js";
9
9
  import "./types-f4D2sn3g.js";
10
- import "./deepsightService-X2FAWn_3.js";
10
+ import "./deepsightService-DnPLubLz.js";
11
11
  import "./types-B9hcs5GV.js";
12
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BCa2KJ3W.js";
12
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-2SaJ7Utr.js";
13
13
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,25 +1,25 @@
1
- import "./WasmUtilProvider-Va_i-eMT.esm.js";
1
+ import "./WasmUtilProvider-CeyOvhU2.esm.js";
2
2
  import "./api-YxPMtty2.esm.js";
3
3
  import "./events-Bsw1l0pH.esm.js";
4
4
  import "./endpoints-BPHddOTi.esm.js";
5
5
  import "./stats-AwLva7-C.esm.js";
6
- import "./browserSimulation-DCzZRn_y.esm.js";
6
+ import "./browserSimulation-CHpyEI-W.esm.js";
7
7
  import "./platform-D871crJL.esm.js";
8
8
  import "./getBrowser-CMJJeBF8.esm.js";
9
9
  import "./xstate.esm-CWoFJOio.esm.js";
10
10
  import "./BrowserStorageProvider-BrJver0U.esm.js";
11
- import "./MotionSensorProvider-DAFArfKO.esm.js";
12
- import "./permissionServices-CYSReeaA.esm.js";
11
+ import "./MotionSensorProvider-D1JWpMLJ.esm.js";
12
+ import "./permissionServices-BjXAT5OT.esm.js";
13
13
  import "./camera-P7dse339.esm.js";
14
- import "./faceCaptureManagerFactory-qc68qvPB.esm.js";
15
- import "./recordingService-5juvEHjh.esm.js";
14
+ import "./faceCaptureManagerFactory-CuIu05bt.esm.js";
15
+ import "./recordingService-D_VuGVdv.esm.js";
16
16
  import "./ITimerCapability-gIlcIrAX.esm.js";
17
- import "./deepsightService-BxIcYEvD.esm.js";
17
+ import "./deepsightService-Dh9EiWze.esm.js";
18
18
  import "./backCameraStream-sqXIvxpl.esm.js";
19
19
  import "./getDeviceClass-C5yT6K2e.esm.js";
20
20
  import "./getDeviceClass-cJ-TvND7.esm.js";
21
- import "./faceCaptureSetup-CCmBB4Yj.esm.js";
22
- import { t as authenticationMachine } from "./authenticationStateMachine-CB_FVKRQ.esm.js";
23
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BjpnO88T.esm.js";
21
+ import "./faceCaptureSetup--lytJ6nf.esm.js";
22
+ import { t as authenticationMachine } from "./authenticationStateMachine-BeC9dwb2.esm.js";
23
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DBAgrHM4.esm.js";
24
24
 
25
25
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,5 +1,5 @@
1
1
  import { t as Manager } from "./Manager-Li1pXOFC.js";
2
- import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-BNTr8hCe.js";
2
+ import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-B1gwCVQS.js";
3
3
 
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
@@ -1,9 +1,9 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-Va_i-eMT.esm.js";
1
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-CeyOvhU2.esm.js";
2
2
  import { n as eventModuleNames } from "./events-Bsw1l0pH.esm.js";
3
3
  import { s as createActor } from "./xstate.esm-CWoFJOio.esm.js";
4
4
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-BrJver0U.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-qc68qvPB.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-CB_FVKRQ.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CuIu05bt.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-BeC9dwb2.esm.js";
7
7
 
8
8
  //#region src/modules/authentication/authenticationActor.ts
9
9
  function createAuthenticationActor(options) {
@@ -2,9 +2,9 @@ import { t as api } from "./api-YxPMtty2.esm.js";
2
2
  import { t as endpoints } from "./endpoints-BPHddOTi.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-AwLva7-C.esm.js";
4
4
  import { a as fromPromise, r as assign } from "./xstate.esm-CWoFJOio.esm.js";
5
- import { b as FACE_ERROR_CODES, d as postOnDeviceFaceResults, f as prepareOnDeviceFaceUpload, l as defaultPrepareFaceUpload, u as isOnDeviceMode } from "./recordingService-5juvEHjh.esm.js";
5
+ import { b as FACE_ERROR_CODES, d as postOnDeviceFaceResults, f as prepareOnDeviceFaceUpload, l as defaultPrepareFaceUpload, u as isOnDeviceMode } from "./recordingService-D_VuGVdv.esm.js";
6
6
  import { t as getDeviceClass } from "./getDeviceClass-cJ-TvND7.esm.js";
7
- import { t as faceCaptureMachine } from "./faceCaptureSetup-CCmBB4Yj.esm.js";
7
+ import { t as faceCaptureMachine } from "./faceCaptureSetup--lytJ6nf.esm.js";
8
8
 
9
9
  //#region src/modules/authentication/authenticationErrorUtils.ts
10
10
  const AUTH_ERROR_MAP = {