@incodetech/core 2.1.1-rc.6 → 2.1.1-rc.7

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 (56) hide show
  1. package/dist/BrowserStorageProvider-DaKI3I0m.esm.js +85 -0
  2. package/dist/ae-signature.d.ts +1 -1
  3. package/dist/authentication.esm.js +9 -9
  4. package/dist/{authenticationManager-DuMSpelF.esm.js → authenticationManager-Dwf7TrZC.esm.js} +3 -3
  5. package/dist/{authenticationStateMachine-CDG0SMYg.esm.js → authenticationStateMachine-BBNa41d5.esm.js} +2 -2
  6. package/dist/{browserSimulation-CWJhFPZ2.esm.js → browserSimulation-DZwEy9bu.esm.js} +14 -1
  7. package/dist/certificate-issuance.d.ts +28 -28
  8. package/dist/consent.d.ts +1 -1
  9. package/dist/{consentManager-2EPNWwaG.d.ts → consentManager-BvgtYr9W.d.ts} +50 -50
  10. package/dist/cpf-ocr.d.ts +1 -1
  11. package/dist/{cpfOcrManager-Bg7WqgVy.d.ts → cpfOcrManager-2eYelPF7.d.ts} +17 -17
  12. package/dist/{deepsightLoader-CmbuFd4Q.esm.js → deepsightLoader-bisFKMf_.esm.js} +3 -3
  13. package/dist/{deepsightService-CkZqM1Q2.esm.js → deepsightService-CViys6T4.esm.js} +1 -1
  14. package/dist/document-capture.d.ts +174 -174
  15. package/dist/document-upload.d.ts +43 -43
  16. package/dist/ekyb.esm.js +4 -4
  17. package/dist/{ekybStateMachine-D5vj8UG_.esm.js → ekybStateMachine-_vaRFELH.esm.js} +1 -1
  18. package/dist/electronic-signature.d.ts +1 -1
  19. package/dist/extensibility.d.ts +13 -9
  20. package/dist/extensibility.esm.js +14 -14
  21. package/dist/{faceCaptureManagerFactory-B65bYWfD.esm.js → faceCaptureManagerFactory-Cf8m_RNb.esm.js} +1 -1
  22. package/dist/{faceCaptureSetup-CoQ5A9Il.esm.js → faceCaptureSetup-Gj6XnsY4.esm.js} +2 -2
  23. package/dist/flow.d.ts +2 -2
  24. package/dist/flow.esm.js +3 -3
  25. package/dist/{flowServices-CYMfu_12.esm.js → flowServices-OFgzA7NX.esm.js} +1 -1
  26. package/dist/home.d.ts +10 -10
  27. package/dist/id-ocr.d.ts +1 -1
  28. package/dist/id-verification.d.ts +25 -25
  29. package/dist/id.esm.js +8 -8
  30. package/dist/{idCaptureManager-Cq1DSv6P.esm.js → idCaptureManager-BziLyrVE.esm.js} +2 -2
  31. package/dist/{idCaptureStateMachine-BqjYsLFf.esm.js → idCaptureStateMachine-B7vsPrsl.esm.js} +4 -4
  32. package/dist/{idOcrManager-CXtyyf3I.d.ts → idOcrManager-BeUOERWK.d.ts} +52 -52
  33. package/dist/identity-reuse.d.ts +1 -1
  34. package/dist/{identityReuseManager-BNf21Y6b.d.ts → identityReuseManager-D1C3DNjo.d.ts} +31 -31
  35. package/dist/{index-CPLWHXKr.d.ts → index-Dzf83PXV.d.ts} +150 -150
  36. package/dist/index.esm.js +3 -3
  37. package/dist/mandatory-consent.d.ts +1 -1
  38. package/dist/{mandatoryConsentManager-s6xcax0K.d.ts → mandatoryConsentManager-BxZjDE9f.d.ts} +50 -50
  39. package/dist/{onDeviceFaceResults-CAfvpjnC.esm.js → onDeviceFaceResults-BWxOJueW.esm.js} +1 -1
  40. package/dist/personhood.esm.js +5 -5
  41. package/dist/qe-signature.d.ts +1 -1
  42. package/dist/{recordingService-Df_A6oXO.esm.js → recordingService-lBmeVE49.esm.js} +1 -1
  43. package/dist/selfie.esm.js +9 -9
  44. package/dist/{selfieManager-CtS5wYEo.esm.js → selfieManager-DsoqRiV2.esm.js} +3 -3
  45. package/dist/{selfieStateMachine-CiMhj8YP.esm.js → selfieStateMachine-Czcb2so_.esm.js} +2 -2
  46. package/dist/session.esm.js +2 -2
  47. package/dist/{sessionInitializer-DfN3wUch.esm.js → sessionInitializer-DdIllyuV.esm.js} +2 -2
  48. package/dist/{setup-_SH3lJGQ.esm.js → setup-B27YJgm_.esm.js} +1 -1
  49. package/dist/trust-graph.d.ts +2 -2
  50. package/dist/video-selfie.d.ts +2 -2
  51. package/dist/video-selfie.esm.js +5 -5
  52. package/dist/wasm.esm.js +3 -3
  53. package/dist/workflow.d.ts +159 -159
  54. package/dist/workflow.esm.js +11 -11
  55. package/package.json +1 -1
  56. package/dist/BrowserStorageProvider-fZsibQTR.esm.js +0 -55
@@ -4,8 +4,8 @@ import { t as api } from "./api-DsbUi7TO.esm.js";
4
4
  import { g as addEvent, n as eventModuleNames, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
5
5
  import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
6
6
  import "./stats-BVy52wLy.esm.js";
7
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DfN3wUch.esm.js";
8
- import "./browserSimulation-CWJhFPZ2.esm.js";
7
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DdIllyuV.esm.js";
8
+ import "./browserSimulation-DZwEy9bu.esm.js";
9
9
  import "./platform-0Ot-bF_a.esm.js";
10
10
  import "./getBrowser-1yNcfFZR.esm.js";
11
11
  import "./tri-CFAPtAUM.esm.js";
@@ -16,25 +16,25 @@ import { n as toIncodeApiError } from "./apiError-DkOXfFBu.esm.js";
16
16
  import { n as electronicSignatureMachine } from "./electronicSignatureManager-DESRgObX.esm.js";
17
17
  import "./ae-signature-Pp4oCAHD.esm.js";
18
18
  import { t as antifraudMachine } from "./antifraudStateMachine-BQVw46N5.esm.js";
19
- import "./faceCaptureSetup-CoQ5A9Il.esm.js";
19
+ import "./faceCaptureSetup-Gj6XnsY4.esm.js";
20
20
  import "./MotionSensorProvider-D95kOKVK.esm.js";
21
21
  import "./permissionServices-BElIOcoJ.esm.js";
22
22
  import "./camera-CxxXV0VN.esm.js";
23
- import "./onDeviceFaceResults-CAfvpjnC.esm.js";
23
+ import "./onDeviceFaceResults-BWxOJueW.esm.js";
24
24
  import "./ITimerCapability-DJ73P4RK.esm.js";
25
25
  import "./canvas-Pi10hG_l.esm.js";
26
26
  import "./backCameraStream-ChrMTJv-.esm.js";
27
27
  import "./video-ZY92rkel.esm.js";
28
28
  import "./getDeviceClass-C-Dg6IsJ.esm.js";
29
- import "./deepsightService-CkZqM1Q2.esm.js";
29
+ import "./deepsightService-CViys6T4.esm.js";
30
30
  import "./getDeviceClass-DIjnTPjR.esm.js";
31
31
  import "./types-BKLb3C42.esm.js";
32
32
  import "./createFaceAvatar-BZSg2MNo.esm.js";
33
33
  import "./StreamCanvasCapture-CAqUdVkM.esm.js";
34
34
  import "./permissionGuards-BPZGWaL4.esm.js";
35
- import "./recordingService-Df_A6oXO.esm.js";
35
+ import "./recordingService-lBmeVE49.esm.js";
36
36
  import "./mediaRecorderOptions-CClCKAiF.esm.js";
37
- import { t as authenticationMachine } from "./authenticationStateMachine-CDG0SMYg.esm.js";
37
+ import { t as authenticationMachine } from "./authenticationStateMachine-BBNa41d5.esm.js";
38
38
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DlZQT1_u.esm.js";
39
39
  import { t as consentMachine } from "./consentStateMachine-BOkVFiU7.esm.js";
40
40
  import "./cpf-16m_cGAM.esm.js";
@@ -43,16 +43,16 @@ import "./dateUtils-BW6mBV6p.esm.js";
43
43
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-D8w0mNxm.esm.js";
44
44
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BHIYPUEu.esm.js";
45
45
  import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DJ1HGZff.esm.js";
46
- import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-D5vj8UG_.esm.js";
46
+ import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-_vaRFELH.esm.js";
47
47
  import "./addressSearch-D7msRieq.esm.js";
48
48
  import "./session-CLsU2Jnb.esm.js";
49
49
  import "./videoSelfieSteps-Djpv7cjb.esm.js";
50
- import "./flowServices-CYMfu_12.esm.js";
50
+ import "./flowServices-OFgzA7NX.esm.js";
51
51
  import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-DnVRiu3s.esm.js";
52
52
  import { t as emailMachine } from "./emailStateMachine-CbmKFVSi.esm.js";
53
53
  import "./otp-uaXiKt_R.esm.js";
54
- import { t as selfieMachine } from "./selfieStateMachine-CiMhj8YP.esm.js";
55
- import { t as idCaptureMachine } from "./idCaptureStateMachine-BqjYsLFf.esm.js";
54
+ import { t as selfieMachine } from "./selfieStateMachine-Czcb2so_.esm.js";
55
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-B7vsPrsl.esm.js";
56
56
  import "./idCaptureDefaults-CZajItdO.esm.js";
57
57
  import { t as phoneMachine } from "./phoneStateMachine-DjFGWMjQ.esm.js";
58
58
  import { n as identityReuseMachine } from "./identityReuseStateMachine-Bp-zONoV.esm.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "2.1.1-rc.6",
3
+ "version": "2.1.1-rc.7",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,55 +0,0 @@
1
- //#region ../infra/src/providers/browser/BrowserStorageProvider.ts
2
- /**
3
- * Browser-based storage provider wrapping localStorage.
4
- * Handles JSON serialization/deserialization automatically.
5
- */
6
- var BrowserStorageProvider = class {
7
- /**
8
- * Retrieves a value from localStorage.
9
- * @param key - The storage key
10
- * @returns The stored value or null if not found
11
- * @throws Error if stored value is invalid JSON
12
- */
13
- async get(key) {
14
- try {
15
- const item = localStorage.getItem(key);
16
- if (item === null) return null;
17
- return JSON.parse(item);
18
- } catch (error) {
19
- if (error instanceof SyntaxError) throw new Error(`Invalid JSON stored at key "${key}": ${error.message}`);
20
- throw error;
21
- }
22
- }
23
- /**
24
- * Stores a value in localStorage.
25
- * @param key - The storage key
26
- * @param value - The value to store (will be serialized as JSON)
27
- * @throws Error if value cannot be serialized or quota is exceeded
28
- */
29
- async set(key, value) {
30
- try {
31
- const serialized = JSON.stringify(value);
32
- localStorage.setItem(key, serialized);
33
- } catch (error) {
34
- if ((error instanceof DOMException || error.name === "QuotaExceededError") && error.name === "QuotaExceededError") throw new Error(`Storage quota exceeded for key "${key}"`);
35
- if (error instanceof TypeError) throw new Error(`Failed to serialize value for key "${key}": ${error.message}`);
36
- throw error;
37
- }
38
- }
39
- /**
40
- * Removes a value from localStorage.
41
- * @param key - The storage key to remove
42
- */
43
- async remove(key) {
44
- localStorage.removeItem(key);
45
- }
46
- /**
47
- * Clears all values from localStorage.
48
- */
49
- async clear() {
50
- localStorage.clear();
51
- }
52
- };
53
-
54
- //#endregion
55
- export { BrowserStorageProvider as t };