@incodetech/core 2.1.1-rc.5 → 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.
- package/dist/BrowserStorageProvider-DaKI3I0m.esm.js +85 -0
- package/dist/ae-signature.d.ts +1 -1
- package/dist/authentication.esm.js +9 -9
- package/dist/{authenticationManager-CcD_dGoc.esm.js → authenticationManager-Dwf7TrZC.esm.js} +3 -3
- package/dist/{authenticationStateMachine-DXqqxJ6I.esm.js → authenticationStateMachine-BBNa41d5.esm.js} +2 -2
- package/dist/{browserSimulation-CWJhFPZ2.esm.js → browserSimulation-DZwEy9bu.esm.js} +14 -1
- package/dist/certificate-issuance.d.ts +28 -28
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-4ADOtZeb.d.ts → consentManager-BvgtYr9W.d.ts} +47 -47
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/{cpfOcrManager-CPAjetkl.d.ts → cpfOcrManager-2eYelPF7.d.ts} +17 -17
- package/dist/{deepsightLoader-BXYxT6Ze.esm.js → deepsightLoader-bisFKMf_.esm.js} +3 -3
- package/dist/{deepsightService-CkZqM1Q2.esm.js → deepsightService-CViys6T4.esm.js} +1 -1
- package/dist/document-capture.d.ts +222 -222
- package/dist/document-upload.d.ts +46 -46
- package/dist/ekyb.esm.js +4 -4
- package/dist/{ekybStateMachine-CGUi38oD.esm.js → ekybStateMachine-_vaRFELH.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/extensibility.d.ts +13 -9
- package/dist/extensibility.esm.js +14 -14
- package/dist/{faceCaptureManagerFactory-BvY-Bjln.esm.js → faceCaptureManagerFactory-Cf8m_RNb.esm.js} +1 -1
- package/dist/{faceCaptureSetup-DqJSpW5Z.esm.js → faceCaptureSetup-Gj6XnsY4.esm.js} +2 -2
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +19 -6
- package/dist/{flowServices-CeUfzu0a.esm.js → flowServices-OFgzA7NX.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-verification.d.ts +25 -25
- package/dist/id.esm.js +8 -8
- package/dist/{idCaptureManager-DeObKOhW.esm.js → idCaptureManager-BziLyrVE.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-DfHWOR-E.esm.js → idCaptureStateMachine-B7vsPrsl.esm.js} +4 -4
- package/dist/{idOcrManager-In32pFy6.d.ts → idOcrManager-BeUOERWK.d.ts} +52 -52
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-CL6t3MXb.d.ts → identityReuseManager-D1C3DNjo.d.ts} +31 -31
- package/dist/{index-DhxHjfpy.d.ts → index-Dzf83PXV.d.ts} +150 -150
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-C5mBEdnA.d.ts → mandatoryConsentManager-BxZjDE9f.d.ts} +50 -50
- package/dist/{onDeviceFaceResults-C9oNZSHm.esm.js → onDeviceFaceResults-BWxOJueW.esm.js} +1 -1
- package/dist/personhood.d.ts +10 -0
- package/dist/personhood.esm.js +14 -8
- package/dist/qe-signature.d.ts +1 -1
- package/dist/{recordingService-B8X6E9kx.esm.js → recordingService-lBmeVE49.esm.js} +1 -1
- package/dist/selfie.esm.js +9 -9
- package/dist/{selfieManager-up_j4EgF.esm.js → selfieManager-DsoqRiV2.esm.js} +3 -3
- package/dist/{selfieStateMachine-BjQjy8na.esm.js → selfieStateMachine-Czcb2so_.esm.js} +2 -2
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-D3VzSnPy.esm.js → sessionInitializer-DdIllyuV.esm.js} +2 -2
- package/dist/{setup-CB0_nSzg.esm.js → setup-B27YJgm_.esm.js} +2 -2
- package/dist/trust-graph.d.ts +2 -2
- package/dist/video-selfie.d.ts +2 -2
- package/dist/video-selfie.esm.js +5 -5
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +3 -3
- package/dist/workflow.d.ts +156 -156
- package/dist/workflow.esm.js +11 -11
- package/package.json +1 -1
- package/dist/BrowserStorageProvider-fZsibQTR.esm.js +0 -55
package/dist/workflow.esm.js
CHANGED
|
@@ -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-
|
|
8
|
-
import "./browserSimulation-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
35
|
+
import "./recordingService-lBmeVE49.esm.js";
|
|
36
36
|
import "./mediaRecorderOptions-CClCKAiF.esm.js";
|
|
37
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
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-
|
|
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-
|
|
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-
|
|
55
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
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,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 };
|