@incodetech/core 0.0.0-dev-20260414-56e3445 → 0.0.0-dev-20260414-db434be
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/{OpenViduRecordingProvider-D5eKWCUZ.esm.js → OpenViduRecordingProvider-CCUuM9nV.esm.js} +1 -1
- package/dist/{WasmUtilProvider-BvXiqQSQ.esm.js → WasmUtilProvider-CYe0Xlh-.esm.js} +1 -1
- package/dist/{addressSearch-C_0wN5KN.esm.js → addressSearch-Ui2rQ1v-.esm.js} +4 -4
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +4 -4
- package/dist/{antifraudStateMachine-WMyzW7FW.esm.js → antifraudStateMachine-ZNM45OSv.esm.js} +3 -3
- package/dist/authentication.d.ts +11 -11
- package/dist/authentication.esm.js +22 -22
- package/dist/{authenticationManager-DrsjKwg6.d.ts → authenticationManager-BuWdnIab.d.ts} +2 -2
- package/dist/{authenticationManager-k9cC-jvW.esm.js → authenticationManager-CwWzwxMp.esm.js} +6 -6
- package/dist/{authenticationStateMachine-DsePlR1o.esm.js → authenticationStateMachine-CAvcWS_b.esm.js} +6 -6
- package/dist/{backCameraStream-p9UjczGK.esm.js → backCameraStream-amVBjSd6.esm.js} +3 -3
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/consent.d.ts +55 -55
- package/dist/consent.esm.js +4 -4
- package/dist/{consentStateMachine-CKaVliKQ.esm.js → consentStateMachine-YbOlYveq.esm.js} +3 -3
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +4 -4
- package/dist/curp-validation.d.ts +5 -5
- package/dist/curp-validation.esm.js +4 -4
- package/dist/{curpValidationStateMachine-TmFjYie1.esm.js → curpValidationStateMachine-D3NZ1SVG.esm.js} +3 -3
- package/dist/{deepsightLoader-B3DY23-5.esm.js → deepsightLoader-BqeQIeno.esm.js} +10 -10
- package/dist/{deepsightService-BgvhDdse.esm.js → deepsightService-B14izXzw.esm.js} +5 -5
- package/dist/{deepsightService-Clz07wkf.d.ts → deepsightService-CNR9-7As.d.ts} +2 -2
- package/dist/device.esm.js +3 -3
- package/dist/document-capture.d.ts +79 -79
- package/dist/document-capture.esm.js +8 -8
- package/dist/document-upload.d.ts +53 -53
- package/dist/document-upload.esm.js +7 -7
- package/dist/{documentCaptureStateMachine-CmUER_Il.esm.js → documentCaptureStateMachine-CFNsZHSs.esm.js} +5 -5
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +10 -10
- package/dist/{ekybStateMachine-ENNR09OW.esm.js → ekybStateMachine-BJS8bjot.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +6 -6
- package/dist/{ekycStateMachine-BJTwbCcq.esm.js → ekycStateMachine-CYGpzMDd.esm.js} +4 -4
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +6 -6
- package/dist/{emailManager-CeOaYSt0.esm.js → emailManager-BNmWTggA.esm.js} +3 -3
- package/dist/{emailManager-mkgZ1sR6.d.ts → emailManager-DT0plT1F.d.ts} +2 -2
- package/dist/{emailStateMachine-CQa3EMhA.esm.js → emailStateMachine-vD2VtYZM.esm.js} +4 -4
- package/dist/{events-BSP6Ksh5.esm.js → events-B3HfNWqp.esm.js} +1 -1
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +33 -33
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +4 -4
- package/dist/{faceCaptureManagerFactory-DhKU7cW9.d.ts → faceCaptureManagerFactory-BBwp70tn.d.ts} +8 -8
- package/dist/{faceCaptureManagerFactory-Dr5TSw6i.esm.js → faceCaptureManagerFactory-odfjA0d8.esm.js} +2 -2
- package/dist/{faceCaptureSetup-TT4s3AkW.esm.js → faceCaptureSetup-CdYYDgN6.esm.js} +4 -4
- package/dist/{faceMatchStateMachine-B_CXt9NM.esm.js → faceMatchStateMachine-DptHGpKT.esm.js} +3 -3
- package/dist/flow.d.ts +16 -11
- package/dist/flow.esm.js +9 -9
- package/dist/{flowCompletionService-CKpuKBHj.esm.js → flowCompletionService-BhzS182Y.esm.js} +2 -2
- package/dist/{flowServices-aa_WK5bT.esm.js → flowServices-D_yVNocO.esm.js} +16 -10
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +5 -5
- package/dist/{geolocationStateMachine-_H3mSlsR.esm.js → geolocationStateMachine-DY8eWROq.esm.js} +4 -4
- package/dist/{getDeviceClass-B1VQriq2.esm.js → getDeviceClass-CkdEWjAM.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +5 -5
- package/dist/{governmentValidationStateMachine-C9DWKoT4.esm.js → governmentValidationStateMachine-DCqdkm8Z.esm.js} +4 -4
- package/dist/home.d.ts +129 -0
- package/dist/home.esm.js +73 -0
- package/dist/http.esm.js +1 -1
- package/dist/id.d.ts +10 -10
- package/dist/id.esm.js +22 -22
- package/dist/{idCaptureManager-4tf9GZ-h.d.ts → idCaptureManager-D1MiNNuR.d.ts} +7 -7
- package/dist/{idCaptureManager-C-zoK9OY.esm.js → idCaptureManager-_e78xuEM.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-Boqx6C9c.esm.js → idCaptureStateMachine-CYPfS8iO.esm.js} +16 -16
- package/dist/identity-reuse.d.ts +46 -46
- package/dist/identity-reuse.esm.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +8 -8
- package/dist/{lib-twqShmWZ.esm.js → lib-BcTqNgYu.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +60 -60
- package/dist/mandatory-consent.esm.js +4 -4
- package/dist/{mandatoryConsentStateMachine-CaDUQVH2.esm.js → mandatoryConsentStateMachine-D0weA8Cn.esm.js} +3 -3
- package/dist/{openviduLazy-04FW2FLo.esm.js → openviduLazy-BiBkiXcn.esm.js} +2 -2
- package/dist/openviduLazy-CrjlHYIL.esm.js +3 -0
- package/dist/{permissionServices-DKkY9SGA.esm.js → permissionServices-ElKNJ-9J.esm.js} +2 -2
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +6 -6
- package/dist/{phoneManager-OiAoV4_y.d.ts → phoneManager-BxWESUBK.d.ts} +2 -2
- package/dist/{phoneManager-DGBqKLwU.esm.js → phoneManager-CRVt9rvr.esm.js} +3 -3
- package/dist/{phoneStateMachine-BeOW6-sK.esm.js → phoneStateMachine-BMTT0tvu.esm.js} +4 -4
- package/dist/{recordingService-Chf_ClDh.esm.js → recordingService-BNOxJMAM.esm.js} +13 -13
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +5 -5
- package/dist/{redirectToMobileStateMachine-BUmbZaow.esm.js → redirectToMobileStateMachine-8yOC9dnH.esm.js} +4 -4
- package/dist/{runChildModule-BplQ84Fu.esm.js → runChildModule-eBqC5Z25.esm.js} +1 -1
- package/dist/selfie.d.ts +11 -11
- package/dist/selfie.esm.js +22 -22
- package/dist/{selfieManager-DV5d7owu.d.ts → selfieManager-B7XmNptL.d.ts} +2 -2
- package/dist/{selfieManager-D3MbSLB7.esm.js → selfieManager-C6pl5f2B.esm.js} +6 -6
- package/dist/{selfieStateMachine-DrehcPoi.esm.js → selfieStateMachine-B88Q3SFX.esm.js} +3 -3
- package/dist/{session-C3psgB0o.esm.js → session-D2s2kUoa.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +6 -6
- package/dist/{setup-Dre4G5OX.d.ts → setup-DR4SBtyZ.d.ts} +1 -1
- package/dist/{setup-BqE0p_Cg.esm.js → setup-nE0hEkGl.esm.js} +5 -5
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +4 -4
- package/dist/{signatureStateMachine-2FogXBZb.esm.js → signatureStateMachine-BOdPhzPM.esm.js} +3 -3
- package/dist/{stats-CdUiON-w.esm.js → stats-D0m-GAIR.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{types-Dth4P_pY.d.ts → types-BoV6HZZE.d.ts} +1 -1
- package/dist/{types-C1lmcLat.d.ts → types-DR5Xxm-c.d.ts} +3 -2
- package/dist/{types-BPP_nJ2g.d.ts → types-vklwHgIM.d.ts} +1 -1
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +8 -8
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +3 -3
- package/dist/workflow.d.ts +116 -116
- package/dist/workflow.esm.js +41 -41
- package/package.json +5 -1
- package/dist/openviduLazy-B8dy_KsG.esm.js +0 -3
- /package/dist/{Actor-D5JNToUH.d.ts → Actor-iMyH_hBY.d.ts} +0 -0
- /package/dist/{BaseWasmProvider-ri-WB2II.esm.js → BaseWasmProvider-DFM6aa1Z.esm.js} +0 -0
- /package/dist/{BrowserEnvironmentProvider-DHMvtWIH.esm.js → BrowserEnvironmentProvider-4Vr7ceoW.esm.js} +0 -0
- /package/dist/{BrowserStorageProvider-B5M-3JVi.esm.js → BrowserStorageProvider-Dp9k9EzW.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-BRXIpp_U.esm.js → BrowserTimerProvider-BfL0cWbj.esm.js} +0 -0
- /package/dist/{ITimerCapability-CCVfd2zh.esm.js → ITimerCapability-_YySEUj7.esm.js} +0 -0
- /package/dist/{Manager-B6JdYK1C.d.ts → Manager-BzPNdMJn.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-BROkQLhB.esm.js → MotionSensorProvider-Bi6DuLLP.esm.js} +0 -0
- /package/dist/{StateMachine-BBuIgsHT.d.ts → StateMachine-DIeoDJ7r.d.ts} +0 -0
- /package/dist/{api-DTKYcfzy.esm.js → api-CGdjmBzR.esm.js} +0 -0
- /package/dist/{browserSimulation-_EAOWiA1.esm.js → browserSimulation-D9FTZt0Z.esm.js} +0 -0
- /package/dist/{camera-BKFhs1qx.esm.js → camera-C4T2nh2F.esm.js} +0 -0
- /package/dist/{camera-BFs5UHwW.d.ts → camera-DdgjYGQh.d.ts} +0 -0
- /package/dist/{chunk-BlT4l8bL.esm.js → chunk-CT7w1OiQ.esm.js} +0 -0
- /package/dist/{displayErrors-ByrthsW3.d.ts → displayErrors-CGztf2Nk.d.ts} +0 -0
- /package/dist/{flowCompletionService-C9IqrsDT.d.ts → flowCompletionService-CNpeRlnP.d.ts} +0 -0
- /package/dist/{getBrowser-BBXR_Qw-.esm.js → getBrowser-DR_WEE3I.esm.js} +0 -0
- /package/dist/{platform-BP2TY6mD.esm.js → platform-B81QvKKx.esm.js} +0 -0
- /package/dist/{types-bi1Axaq2.d.ts → types-Bo7LR34d.d.ts} +0 -0
- /package/dist/{warmup-DhX_C6wK.d.ts → warmup-C5bT21Jo.d.ts} +0 -0
- /package/dist/{xstate.esm-BR_welYq.esm.js → xstate.esm-DW_uPCba.esm.js} +0 -0
package/dist/home.d.ts
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
2
|
+
import "./camera-DdgjYGQh.js";
|
|
3
|
+
import "./types-vklwHgIM.js";
|
|
4
|
+
import { t as EmptyConfig } from "./types-DR5Xxm-c.js";
|
|
5
|
+
import * as xstate658 from "xstate";
|
|
6
|
+
|
|
7
|
+
//#region src/modules/home/types.d.ts
|
|
8
|
+
type HomeConfig = EmptyConfig;
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/modules/home/homeManager.d.ts
|
|
11
|
+
type HomeIdleState = {
|
|
12
|
+
status: 'idle';
|
|
13
|
+
};
|
|
14
|
+
type HomeMainState = {
|
|
15
|
+
status: 'main';
|
|
16
|
+
};
|
|
17
|
+
type HomeSettingsState = {
|
|
18
|
+
status: 'settings';
|
|
19
|
+
};
|
|
20
|
+
type HomeFinishedState = {
|
|
21
|
+
status: 'finished';
|
|
22
|
+
};
|
|
23
|
+
type HomeState = HomeIdleState | HomeMainState | HomeSettingsState | HomeFinishedState;
|
|
24
|
+
declare function createHomeManager(options?: {
|
|
25
|
+
config?: HomeConfig;
|
|
26
|
+
}): Manager<HomeState> & {
|
|
27
|
+
load(): void;
|
|
28
|
+
complete(): void;
|
|
29
|
+
openSettings(): void;
|
|
30
|
+
closeSettings(): void;
|
|
31
|
+
reset(): void;
|
|
32
|
+
};
|
|
33
|
+
type HomeManager = ReturnType<typeof createHomeManager>;
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region src/modules/home/homeStateMachine.d.ts
|
|
36
|
+
type HomeContext = {
|
|
37
|
+
config: EmptyConfig;
|
|
38
|
+
};
|
|
39
|
+
type HomeInput = {
|
|
40
|
+
config: EmptyConfig;
|
|
41
|
+
};
|
|
42
|
+
declare const homeMachine: xstate658.StateMachine<HomeContext, {
|
|
43
|
+
type: "LOAD";
|
|
44
|
+
} | {
|
|
45
|
+
type: "COMPLETE";
|
|
46
|
+
} | {
|
|
47
|
+
type: "RESET";
|
|
48
|
+
} | {
|
|
49
|
+
type: "OPEN_SETTINGS";
|
|
50
|
+
} | {
|
|
51
|
+
type: "CLOSE_SETTINGS";
|
|
52
|
+
}, {}, never, never, never, never, "finished" | "idle" | "main" | "settings", string, HomeInput, xstate658.NonReducibleUnknown, xstate658.EventObject, xstate658.MetaObject, {
|
|
53
|
+
readonly id: "home";
|
|
54
|
+
readonly initial: "idle";
|
|
55
|
+
readonly context: ({
|
|
56
|
+
input
|
|
57
|
+
}: {
|
|
58
|
+
spawn: {
|
|
59
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): xstate658.ActorRefFromLogic<never>;
|
|
60
|
+
<TLogic extends xstate658.AnyActorLogic>(src: TLogic, ...[options]: xstate658.ConditionalRequired<[options?: ({
|
|
61
|
+
id?: never;
|
|
62
|
+
systemId?: string;
|
|
63
|
+
input?: xstate658.InputFrom<TLogic> | undefined;
|
|
64
|
+
syncSnapshot?: boolean;
|
|
65
|
+
} & { [K in xstate658.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate658.IsNotNever<xstate658.RequiredLogicInput<TLogic>>>): xstate658.ActorRefFromLogic<TLogic>;
|
|
66
|
+
};
|
|
67
|
+
input: HomeInput;
|
|
68
|
+
self: xstate658.ActorRef<xstate658.MachineSnapshot<HomeContext, {
|
|
69
|
+
type: "LOAD";
|
|
70
|
+
} | {
|
|
71
|
+
type: "COMPLETE";
|
|
72
|
+
} | {
|
|
73
|
+
type: "RESET";
|
|
74
|
+
} | {
|
|
75
|
+
type: "OPEN_SETTINGS";
|
|
76
|
+
} | {
|
|
77
|
+
type: "CLOSE_SETTINGS";
|
|
78
|
+
}, Record<string, xstate658.AnyActorRef | undefined>, xstate658.StateValue, string, unknown, any, any>, {
|
|
79
|
+
type: "LOAD";
|
|
80
|
+
} | {
|
|
81
|
+
type: "COMPLETE";
|
|
82
|
+
} | {
|
|
83
|
+
type: "RESET";
|
|
84
|
+
} | {
|
|
85
|
+
type: "OPEN_SETTINGS";
|
|
86
|
+
} | {
|
|
87
|
+
type: "CLOSE_SETTINGS";
|
|
88
|
+
}, xstate658.AnyEventObject>;
|
|
89
|
+
}) => {
|
|
90
|
+
config: EmptyConfig;
|
|
91
|
+
};
|
|
92
|
+
readonly states: {
|
|
93
|
+
readonly idle: {
|
|
94
|
+
readonly on: {
|
|
95
|
+
readonly LOAD: {
|
|
96
|
+
readonly target: "main";
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
readonly main: {
|
|
101
|
+
readonly on: {
|
|
102
|
+
readonly COMPLETE: {
|
|
103
|
+
readonly target: "finished";
|
|
104
|
+
};
|
|
105
|
+
readonly OPEN_SETTINGS: {
|
|
106
|
+
readonly target: "settings";
|
|
107
|
+
};
|
|
108
|
+
readonly RESET: {
|
|
109
|
+
readonly target: "idle";
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
readonly settings: {
|
|
114
|
+
readonly on: {
|
|
115
|
+
readonly CLOSE_SETTINGS: {
|
|
116
|
+
readonly target: "main";
|
|
117
|
+
};
|
|
118
|
+
readonly RESET: {
|
|
119
|
+
readonly target: "idle";
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
readonly finished: {
|
|
124
|
+
readonly type: "final";
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
}>;
|
|
128
|
+
//#endregion
|
|
129
|
+
export { type HomeConfig, type HomeManager, type HomeState, createHomeManager, homeMachine };
|
package/dist/home.esm.js
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { a as createActor, o as createManager, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
|
|
5
|
+
//#region src/modules/home/homeStateMachine.ts
|
|
6
|
+
const homeMachine = setup({ types: {
|
|
7
|
+
context: {},
|
|
8
|
+
events: {},
|
|
9
|
+
input: {}
|
|
10
|
+
} }).createMachine({
|
|
11
|
+
id: "home",
|
|
12
|
+
initial: "idle",
|
|
13
|
+
context: ({ input }) => ({ config: input.config }),
|
|
14
|
+
states: {
|
|
15
|
+
idle: { on: { LOAD: { target: "main" } } },
|
|
16
|
+
main: { on: {
|
|
17
|
+
COMPLETE: { target: "finished" },
|
|
18
|
+
OPEN_SETTINGS: { target: "settings" },
|
|
19
|
+
RESET: { target: "idle" }
|
|
20
|
+
} },
|
|
21
|
+
settings: { on: {
|
|
22
|
+
CLOSE_SETTINGS: { target: "main" },
|
|
23
|
+
RESET: { target: "idle" }
|
|
24
|
+
} },
|
|
25
|
+
finished: { type: "final" }
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/modules/home/homeActor.ts
|
|
31
|
+
function createHomeActor(options = {}) {
|
|
32
|
+
return createActor(homeMachine, { input: { config: options.config ?? {} } }).start();
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/modules/home/homeManager.ts
|
|
37
|
+
function mapState(snapshot) {
|
|
38
|
+
const typedSnapshot = snapshot;
|
|
39
|
+
if (typedSnapshot.matches("main")) return { status: "main" };
|
|
40
|
+
if (typedSnapshot.matches("settings")) return { status: "settings" };
|
|
41
|
+
if (typedSnapshot.matches("finished")) return { status: "finished" };
|
|
42
|
+
return { status: "idle" };
|
|
43
|
+
}
|
|
44
|
+
function createApi({ actor }) {
|
|
45
|
+
return {
|
|
46
|
+
load() {
|
|
47
|
+
actor.send({ type: "LOAD" });
|
|
48
|
+
},
|
|
49
|
+
complete() {
|
|
50
|
+
actor.send({ type: "COMPLETE" });
|
|
51
|
+
},
|
|
52
|
+
openSettings() {
|
|
53
|
+
actor.send({ type: "OPEN_SETTINGS" });
|
|
54
|
+
},
|
|
55
|
+
closeSettings() {
|
|
56
|
+
actor.send({ type: "CLOSE_SETTINGS" });
|
|
57
|
+
},
|
|
58
|
+
reset() {
|
|
59
|
+
actor.send({ type: "RESET" });
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function createHomeManager(options = {}) {
|
|
64
|
+
return createManager({
|
|
65
|
+
actor: createHomeActor({ config: options.config }),
|
|
66
|
+
mapState,
|
|
67
|
+
createApi,
|
|
68
|
+
instrumentation: createManagerInstrumentation("HOME")
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
//#endregion
|
|
73
|
+
export { createHomeManager, homeMachine };
|
package/dist/http.esm.js
CHANGED
package/dist/id.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./StateMachine-
|
|
4
|
-
import "./Actor-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import "./types-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./deepsightService-
|
|
9
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
10
|
-
import { A as IdCaptureDependencies, B as RecordingSession, C as CaptureIdResponse, D as ID_ERROR_CODES, E as DetectionStatus, F as IdCaptureThresholds, H as DetectionOrientation, I as IdDocumentType, L as IdError, M as IdCaptureGeometry, N as IdCaptureInput, O as IdCaptureConfig, P as IdCaptureMode, R as IdErrorCode, S as idCaptureMachine, T as DetectionArea, U as IdCaptureSettings, V as UploadIdResponse, _ as validateUploadResponse, a as IdCaptureInitResult, b as createIdCaptureActor, c as UploadIdImageParams, d as preloadIdRecordingProvider, f as processId, g as uploadIdImage, h as stopStream, j as IdCaptureEvent, k as IdCaptureContext, l as ValidationError, m as stopRecording, n as IdCaptureState, o as InitializeIdCaptureParams, p as startRecordingSession, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as CreateIdCaptureActorOptions, w as CapturedImage, x as IdCaptureMachine, y as IdCaptureActor, z as IdFlowStep } from "./idCaptureManager-
|
|
1
|
+
import "./warmup-C5bT21Jo.js";
|
|
2
|
+
import "./Manager-BzPNdMJn.js";
|
|
3
|
+
import "./StateMachine-DIeoDJ7r.js";
|
|
4
|
+
import "./Actor-iMyH_hBY.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-DdgjYGQh.js";
|
|
6
|
+
import "./types-vklwHgIM.js";
|
|
7
|
+
import "./types-DR5Xxm-c.js";
|
|
8
|
+
import "./deepsightService-CNR9-7As.js";
|
|
9
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-Bo7LR34d.js";
|
|
10
|
+
import { A as IdCaptureDependencies, B as RecordingSession, C as CaptureIdResponse, D as ID_ERROR_CODES, E as DetectionStatus, F as IdCaptureThresholds, H as DetectionOrientation, I as IdDocumentType, L as IdError, M as IdCaptureGeometry, N as IdCaptureInput, O as IdCaptureConfig, P as IdCaptureMode, R as IdErrorCode, S as idCaptureMachine, T as DetectionArea, U as IdCaptureSettings, V as UploadIdResponse, _ as validateUploadResponse, a as IdCaptureInitResult, b as createIdCaptureActor, c as UploadIdImageParams, d as preloadIdRecordingProvider, f as processId, g as uploadIdImage, h as stopStream, j as IdCaptureEvent, k as IdCaptureContext, l as ValidationError, m as stopRecording, n as IdCaptureState, o as InitializeIdCaptureParams, p as startRecordingSession, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as CreateIdCaptureActorOptions, w as CapturedImage, x as IdCaptureMachine, y as IdCaptureActor, z as IdFlowStep } from "./idCaptureManager-D1MiNNuR.js";
|
|
11
11
|
export { CameraStream, CaptureIdResponse, CapturedImage, type CreateIdCaptureActorOptions, DetectionArea, DetectionOrientation, DetectionStatus, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, type IdCaptureContext, IdCaptureDependencies, type IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, type IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, PermissionResult, PermissionStatus, RecordingSession, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
package/dist/id.esm.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import "./BaseWasmProvider-
|
|
2
|
-
import "./api-
|
|
3
|
-
import "./events-
|
|
4
|
-
import "./session-
|
|
5
|
-
import "./BrowserEnvironmentProvider-
|
|
6
|
-
import "./browserSimulation-
|
|
7
|
-
import "./xstate.esm-
|
|
8
|
-
import "./BrowserStorageProvider-
|
|
9
|
-
import "./recordingService-
|
|
10
|
-
import "./deepsightService-
|
|
11
|
-
import "./camera-
|
|
12
|
-
import "./getBrowser-
|
|
13
|
-
import "./stats-
|
|
14
|
-
import "./MotionSensorProvider-
|
|
15
|
-
import "./permissionServices-
|
|
16
|
-
import "./platform-
|
|
17
|
-
import "./ITimerCapability-
|
|
18
|
-
import "./backCameraStream-
|
|
19
|
-
import "./getDeviceClass-
|
|
20
|
-
import "./BrowserTimerProvider-
|
|
21
|
-
import { a as startRecordingSession, c as uploadIdImage, i as processId, l as validateUploadResponse, n as initializeIdCapture, o as stopRecording, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as ID_ERROR_CODES } from "./idCaptureStateMachine-
|
|
22
|
-
import { r as createIdCaptureActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
1
|
+
import "./BaseWasmProvider-DFM6aa1Z.esm.js";
|
|
2
|
+
import "./api-CGdjmBzR.esm.js";
|
|
3
|
+
import "./events-B3HfNWqp.esm.js";
|
|
4
|
+
import "./session-D2s2kUoa.esm.js";
|
|
5
|
+
import "./BrowserEnvironmentProvider-4Vr7ceoW.esm.js";
|
|
6
|
+
import "./browserSimulation-D9FTZt0Z.esm.js";
|
|
7
|
+
import "./xstate.esm-DW_uPCba.esm.js";
|
|
8
|
+
import "./BrowserStorageProvider-Dp9k9EzW.esm.js";
|
|
9
|
+
import "./recordingService-BNOxJMAM.esm.js";
|
|
10
|
+
import "./deepsightService-B14izXzw.esm.js";
|
|
11
|
+
import "./camera-C4T2nh2F.esm.js";
|
|
12
|
+
import "./getBrowser-DR_WEE3I.esm.js";
|
|
13
|
+
import "./stats-D0m-GAIR.esm.js";
|
|
14
|
+
import "./MotionSensorProvider-Bi6DuLLP.esm.js";
|
|
15
|
+
import "./permissionServices-ElKNJ-9J.esm.js";
|
|
16
|
+
import "./platform-B81QvKKx.esm.js";
|
|
17
|
+
import "./ITimerCapability-_YySEUj7.esm.js";
|
|
18
|
+
import "./backCameraStream-amVBjSd6.esm.js";
|
|
19
|
+
import "./getDeviceClass-CkdEWjAM.esm.js";
|
|
20
|
+
import "./BrowserTimerProvider-BfL0cWbj.esm.js";
|
|
21
|
+
import { a as startRecordingSession, c as uploadIdImage, i as processId, l as validateUploadResponse, n as initializeIdCapture, o as stopRecording, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as ID_ERROR_CODES } from "./idCaptureStateMachine-CYPfS8iO.esm.js";
|
|
22
|
+
import { r as createIdCaptureActor, t as createIdCaptureManager } from "./idCaptureManager-_e78xuEM.esm.js";
|
|
23
23
|
|
|
24
24
|
export { ID_ERROR_CODES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
3
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
4
|
-
import { t as CameraStream } from "./camera-
|
|
5
|
-
import { a as
|
|
6
|
-
import { c as IMLProviderCapability, d as IRecordingCapability, f as RecordingConnection, i as IncodeCanvas, l as MLProviderConfig, n as IMotionSensorCapability, r as StreamCanvasCapture, t as DeepsightService, u as IStorageCapability } from "./deepsightService-
|
|
7
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
1
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
2
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-DIeoDJ7r.js";
|
|
3
|
+
import { t as ActorRefFrom } from "./Actor-iMyH_hBY.js";
|
|
4
|
+
import { t as CameraStream } from "./camera-DdgjYGQh.js";
|
|
5
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-DR5Xxm-c.js";
|
|
6
|
+
import { c as IMLProviderCapability, d as IRecordingCapability, f as RecordingConnection, i as IncodeCanvas, l as MLProviderConfig, n as IMotionSensorCapability, r as StreamCanvasCapture, t as DeepsightService, u as IStorageCapability } from "./deepsightService-CNR9-7As.js";
|
|
7
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-Bo7LR34d.js";
|
|
8
8
|
|
|
9
9
|
//#region ../infra/src/capabilities/IIdCaptureCapability.d.ts
|
|
10
10
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-
|
|
2
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
3
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
4
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-B3HfNWqp.esm.js";
|
|
2
|
+
import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
|
|
3
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-Dp9k9EzW.esm.js";
|
|
4
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-CYPfS8iO.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id/idCaptureActor.ts
|
|
7
7
|
function createIdCaptureActor(options) {
|
package/dist/{idCaptureStateMachine-Boqx6C9c.esm.js → idCaptureStateMachine-CYPfS8iO.esm.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { a as IdCaptureModelType, i as WasmPipelineType, r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-
|
|
2
|
-
import { r as getToken, t as api } from "./api-
|
|
3
|
-
import { _ as endpoints, v as revokeObjectURL } from "./events-
|
|
4
|
-
import { t as getDisableIpify } from "./session-
|
|
5
|
-
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
6
|
-
import { _ as StreamCanvasCapture, d as createRecordingSession, f as startRecording, g as flagIdManualReview, m as StreamCanvasProcessingSession, n as preloadOpenViduProvider, p as stopRecording$1 } from "./recordingService-
|
|
7
|
-
import { n as IncodeCanvas } from "./deepsightService-
|
|
8
|
-
import { r as getWindowDimensions } from "./getBrowser-
|
|
9
|
-
import { t as addDeviceStats } from "./stats-
|
|
10
|
-
import { n as requestPermission, t as checkPermission } from "./permissionServices-
|
|
11
|
-
import { n as isDesktop } from "./platform-
|
|
12
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
13
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
14
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
1
|
+
import { a as IdCaptureModelType, i as WasmPipelineType, r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-DFM6aa1Z.esm.js";
|
|
2
|
+
import { r as getToken, t as api } from "./api-CGdjmBzR.esm.js";
|
|
3
|
+
import { _ as endpoints, v as revokeObjectURL } from "./events-B3HfNWqp.esm.js";
|
|
4
|
+
import { t as getDisableIpify } from "./session-D2s2kUoa.esm.js";
|
|
5
|
+
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
6
|
+
import { _ as StreamCanvasCapture, d as createRecordingSession, f as startRecording, g as flagIdManualReview, m as StreamCanvasProcessingSession, n as preloadOpenViduProvider, p as stopRecording$1 } from "./recordingService-BNOxJMAM.esm.js";
|
|
7
|
+
import { n as IncodeCanvas } from "./deepsightService-B14izXzw.esm.js";
|
|
8
|
+
import { r as getWindowDimensions } from "./getBrowser-DR_WEE3I.esm.js";
|
|
9
|
+
import { t as addDeviceStats } from "./stats-D0m-GAIR.esm.js";
|
|
10
|
+
import { n as requestPermission, t as checkPermission } from "./permissionServices-ElKNJ-9J.esm.js";
|
|
11
|
+
import { n as isDesktop } from "./platform-B81QvKKx.esm.js";
|
|
12
|
+
import { t as getBackCameraStream } from "./backCameraStream-amVBjSd6.esm.js";
|
|
13
|
+
import { t as getDeviceClass } from "./getDeviceClass-CkdEWjAM.esm.js";
|
|
14
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BfL0cWbj.esm.js";
|
|
15
15
|
|
|
16
16
|
//#region src/modules/id/idCaptureHelpers.ts
|
|
17
17
|
/**
|
|
@@ -426,7 +426,7 @@ function preloadIdRecordingProvider(config) {
|
|
|
426
426
|
preloadOpenViduProvider();
|
|
427
427
|
}
|
|
428
428
|
async function createOpenViduRecordingProvider() {
|
|
429
|
-
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-
|
|
429
|
+
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-CCUuM9nV.esm.js");
|
|
430
430
|
return new OpenViduRecordingProvider();
|
|
431
431
|
}
|
|
432
432
|
async function startRecordingSession(params) {
|
|
@@ -799,7 +799,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
|
|
|
799
799
|
});
|
|
800
800
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
801
801
|
if (!input.dependencies) return;
|
|
802
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
802
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BqeQIeno.esm.js");
|
|
803
803
|
return loadDeepsightSession({
|
|
804
804
|
ds: input.ds,
|
|
805
805
|
storage: input.dependencies.storage,
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-iMyH_hBY.js";
|
|
3
|
+
import * as xstate517 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/identity-reuse/types.d.ts
|
|
6
6
|
|
|
@@ -32,7 +32,7 @@ type IdentityReuseContext = {
|
|
|
32
32
|
type IdentityReuseInput = {
|
|
33
33
|
config: IdentityReuseConfig;
|
|
34
34
|
};
|
|
35
|
-
declare const identityReuseMachine:
|
|
35
|
+
declare const identityReuseMachine: xstate517.StateMachine<IdentityReuseContext, {
|
|
36
36
|
type: "LOAD";
|
|
37
37
|
} | {
|
|
38
38
|
type: "START_SELECTION";
|
|
@@ -48,49 +48,49 @@ declare const identityReuseMachine: xstate131.StateMachine<IdentityReuseContext,
|
|
|
48
48
|
} | {
|
|
49
49
|
type: "RETRY";
|
|
50
50
|
}, {
|
|
51
|
-
[x: string]:
|
|
52
|
-
},
|
|
51
|
+
[x: string]: xstate517.ActorRefFromLogic<xstate517.PromiseActorLogic<FetchCandidatesResponse, void, xstate517.EventObject>> | xstate517.ActorRefFromLogic<xstate517.PromiseActorLogic<SubmitResponse, void, xstate517.EventObject>> | undefined;
|
|
52
|
+
}, xstate517.Values<{
|
|
53
53
|
fetchCandidates: {
|
|
54
54
|
src: "fetchCandidates";
|
|
55
|
-
logic:
|
|
55
|
+
logic: xstate517.PromiseActorLogic<FetchCandidatesResponse, void, xstate517.EventObject>;
|
|
56
56
|
id: string | undefined;
|
|
57
57
|
};
|
|
58
58
|
submitContinue: {
|
|
59
59
|
src: "submitContinue";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate517.PromiseActorLogic<SubmitResponse, void, xstate517.EventObject>;
|
|
61
61
|
id: string | undefined;
|
|
62
62
|
};
|
|
63
63
|
submitSkip: {
|
|
64
64
|
src: "submitSkip";
|
|
65
|
-
logic:
|
|
65
|
+
logic: xstate517.PromiseActorLogic<SubmitResponse, void, xstate517.EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
|
-
}>,
|
|
69
|
-
setError: {
|
|
70
|
-
type: "setError";
|
|
71
|
-
params: xstate131.NonReducibleUnknown;
|
|
72
|
-
};
|
|
68
|
+
}>, xstate517.Values<{
|
|
73
69
|
clearError: {
|
|
74
70
|
type: "clearError";
|
|
75
|
-
params:
|
|
71
|
+
params: xstate517.NonReducibleUnknown;
|
|
72
|
+
};
|
|
73
|
+
setError: {
|
|
74
|
+
type: "setError";
|
|
75
|
+
params: xstate517.NonReducibleUnknown;
|
|
76
76
|
};
|
|
77
77
|
setCandidates: {
|
|
78
78
|
type: "setCandidates";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate517.NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
setSelectedCandidate: {
|
|
82
82
|
type: "setSelectedCandidate";
|
|
83
|
-
params:
|
|
83
|
+
params: xstate517.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
autoSelectSingleCandidate: {
|
|
86
86
|
type: "autoSelectSingleCandidate";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate517.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
clearSelection: {
|
|
90
90
|
type: "clearSelection";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate517.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
|
-
}>,
|
|
93
|
+
}>, xstate517.Values<{
|
|
94
94
|
hasMultipleCandidates: {
|
|
95
95
|
type: "hasMultipleCandidates";
|
|
96
96
|
params: unknown;
|
|
@@ -103,9 +103,9 @@ declare const identityReuseMachine: xstate131.StateMachine<IdentityReuseContext,
|
|
|
103
103
|
type: "hasChosenCandidate";
|
|
104
104
|
params: unknown;
|
|
105
105
|
};
|
|
106
|
-
}>, never, "error" | "
|
|
106
|
+
}>, never, "error" | "finished" | "idle" | "loading" | "submitContinue" | "submitSkip" | "oneCandidateFound" | "noCandidatesFound" | {
|
|
107
107
|
multiCandidatesFound: "noCandidateSelected" | "choosingCandidate" | "candidateSelected";
|
|
108
|
-
}, string, IdentityReuseInput,
|
|
108
|
+
}, string, IdentityReuseInput, xstate517.NonReducibleUnknown, xstate517.EventObject, xstate517.MetaObject, {
|
|
109
109
|
readonly id: "identityReuse";
|
|
110
110
|
readonly initial: "idle";
|
|
111
111
|
readonly context: ({
|
|
@@ -114,75 +114,75 @@ declare const identityReuseMachine: xstate131.StateMachine<IdentityReuseContext,
|
|
|
114
114
|
spawn: {
|
|
115
115
|
<TSrc extends "fetchCandidates" | "submitContinue" | "submitSkip">(logic: TSrc, ...[options]: ({
|
|
116
116
|
src: "fetchCandidates";
|
|
117
|
-
logic:
|
|
117
|
+
logic: xstate517.PromiseActorLogic<FetchCandidatesResponse, void, xstate517.EventObject>;
|
|
118
118
|
id: string | undefined;
|
|
119
119
|
} extends infer T ? T extends {
|
|
120
120
|
src: "fetchCandidates";
|
|
121
|
-
logic:
|
|
121
|
+
logic: xstate517.PromiseActorLogic<FetchCandidatesResponse, void, xstate517.EventObject>;
|
|
122
122
|
id: string | undefined;
|
|
123
123
|
} ? T extends {
|
|
124
124
|
src: TSrc;
|
|
125
|
-
} ?
|
|
125
|
+
} ? xstate517.ConditionalRequired<[options?: ({
|
|
126
126
|
id?: T["id"] | undefined;
|
|
127
127
|
systemId?: string;
|
|
128
|
-
input?:
|
|
128
|
+
input?: xstate517.InputFrom<T["logic"]> | undefined;
|
|
129
129
|
syncSnapshot?: boolean;
|
|
130
|
-
} & { [K in
|
|
130
|
+
} & { [K in xstate517.RequiredActorOptions<T>]: unknown }) | undefined], xstate517.IsNotNever<xstate517.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
131
131
|
src: "submitContinue";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate517.PromiseActorLogic<SubmitResponse, void, xstate517.EventObject>;
|
|
133
133
|
id: string | undefined;
|
|
134
134
|
} extends infer T_1 ? T_1 extends {
|
|
135
135
|
src: "submitContinue";
|
|
136
|
-
logic:
|
|
136
|
+
logic: xstate517.PromiseActorLogic<SubmitResponse, void, xstate517.EventObject>;
|
|
137
137
|
id: string | undefined;
|
|
138
138
|
} ? T_1 extends {
|
|
139
139
|
src: TSrc;
|
|
140
|
-
} ?
|
|
140
|
+
} ? xstate517.ConditionalRequired<[options?: ({
|
|
141
141
|
id?: T_1["id"] | undefined;
|
|
142
142
|
systemId?: string;
|
|
143
|
-
input?:
|
|
143
|
+
input?: xstate517.InputFrom<T_1["logic"]> | undefined;
|
|
144
144
|
syncSnapshot?: boolean;
|
|
145
|
-
} & { [K_1 in
|
|
145
|
+
} & { [K_1 in xstate517.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate517.IsNotNever<xstate517.RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
146
146
|
src: "submitSkip";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate517.PromiseActorLogic<SubmitResponse, void, xstate517.EventObject>;
|
|
148
148
|
id: string | undefined;
|
|
149
149
|
} extends infer T_2 ? T_2 extends {
|
|
150
150
|
src: "submitSkip";
|
|
151
|
-
logic:
|
|
151
|
+
logic: xstate517.PromiseActorLogic<SubmitResponse, void, xstate517.EventObject>;
|
|
152
152
|
id: string | undefined;
|
|
153
153
|
} ? T_2 extends {
|
|
154
154
|
src: TSrc;
|
|
155
|
-
} ?
|
|
155
|
+
} ? xstate517.ConditionalRequired<[options?: ({
|
|
156
156
|
id?: T_2["id"] | undefined;
|
|
157
157
|
systemId?: string;
|
|
158
|
-
input?:
|
|
158
|
+
input?: xstate517.InputFrom<T_2["logic"]> | undefined;
|
|
159
159
|
syncSnapshot?: boolean;
|
|
160
|
-
} & { [K_2 in
|
|
160
|
+
} & { [K_2 in xstate517.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate517.IsNotNever<xstate517.RequiredActorOptions<T_2>>> : never : never : never)): xstate517.ActorRefFromLogic<xstate517.GetConcreteByKey<xstate517.Values<{
|
|
161
161
|
fetchCandidates: {
|
|
162
162
|
src: "fetchCandidates";
|
|
163
|
-
logic:
|
|
163
|
+
logic: xstate517.PromiseActorLogic<FetchCandidatesResponse, void, xstate517.EventObject>;
|
|
164
164
|
id: string | undefined;
|
|
165
165
|
};
|
|
166
166
|
submitContinue: {
|
|
167
167
|
src: "submitContinue";
|
|
168
|
-
logic:
|
|
168
|
+
logic: xstate517.PromiseActorLogic<SubmitResponse, void, xstate517.EventObject>;
|
|
169
169
|
id: string | undefined;
|
|
170
170
|
};
|
|
171
171
|
submitSkip: {
|
|
172
172
|
src: "submitSkip";
|
|
173
|
-
logic:
|
|
173
|
+
logic: xstate517.PromiseActorLogic<SubmitResponse, void, xstate517.EventObject>;
|
|
174
174
|
id: string | undefined;
|
|
175
175
|
};
|
|
176
176
|
}>, "src", TSrc>["logic"]>;
|
|
177
|
-
<TLogic extends
|
|
177
|
+
<TLogic extends xstate517.AnyActorLogic>(src: TLogic, ...[options]: xstate517.ConditionalRequired<[options?: ({
|
|
178
178
|
id?: never;
|
|
179
179
|
systemId?: string;
|
|
180
|
-
input?:
|
|
180
|
+
input?: xstate517.InputFrom<TLogic> | undefined;
|
|
181
181
|
syncSnapshot?: boolean;
|
|
182
|
-
} & { [K in
|
|
182
|
+
} & { [K in xstate517.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate517.IsNotNever<xstate517.RequiredLogicInput<TLogic>>>): xstate517.ActorRefFromLogic<TLogic>;
|
|
183
183
|
};
|
|
184
184
|
input: IdentityReuseInput;
|
|
185
|
-
self:
|
|
185
|
+
self: xstate517.ActorRef<xstate517.MachineSnapshot<IdentityReuseContext, {
|
|
186
186
|
type: "LOAD";
|
|
187
187
|
} | {
|
|
188
188
|
type: "START_SELECTION";
|
|
@@ -197,7 +197,7 @@ declare const identityReuseMachine: xstate131.StateMachine<IdentityReuseContext,
|
|
|
197
197
|
type: "SKIP";
|
|
198
198
|
} | {
|
|
199
199
|
type: "RETRY";
|
|
200
|
-
}, Record<string,
|
|
200
|
+
}, Record<string, xstate517.AnyActorRef | undefined>, xstate517.StateValue, string, unknown, any, any>, {
|
|
201
201
|
type: "LOAD";
|
|
202
202
|
} | {
|
|
203
203
|
type: "START_SELECTION";
|
|
@@ -212,7 +212,7 @@ declare const identityReuseMachine: xstate131.StateMachine<IdentityReuseContext,
|
|
|
212
212
|
type: "SKIP";
|
|
213
213
|
} | {
|
|
214
214
|
type: "RETRY";
|
|
215
|
-
},
|
|
215
|
+
}, xstate517.AnyEventObject>;
|
|
216
216
|
}) => {
|
|
217
217
|
config: IdentityReuseConfig;
|
|
218
218
|
currentOrganizationName: undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints, n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { _ as endpoints, n as eventModuleNames, o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/identity-reuse/identityReuseServices.ts
|
|
6
6
|
/** Fetches candidate organizations for identity reuse. Throws on failure. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import { a as reset, i as isConfigured, s as setup, t as SetupOptions } from "./setup-
|
|
1
|
+
import "./warmup-C5bT21Jo.js";
|
|
2
|
+
import { a as reset, i as isConfigured, s as setup, t as SetupOptions } from "./setup-DR4SBtyZ.js";
|
|
3
3
|
export { type SetupOptions, isConfigured, reset, setup };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as setup, n as isConfigured, r as reset } from "./setup-
|
|
2
|
-
import "./BaseWasmProvider-
|
|
3
|
-
import "./WasmUtilProvider-
|
|
4
|
-
import "./api-
|
|
5
|
-
import "./events-
|
|
6
|
-
import "./session-
|
|
7
|
-
import "./BrowserEnvironmentProvider-
|
|
8
|
-
import "./browserSimulation-
|
|
1
|
+
import { a as setup, n as isConfigured, r as reset } from "./setup-nE0hEkGl.esm.js";
|
|
2
|
+
import "./BaseWasmProvider-DFM6aa1Z.esm.js";
|
|
3
|
+
import "./WasmUtilProvider-CYe0Xlh-.esm.js";
|
|
4
|
+
import "./api-CGdjmBzR.esm.js";
|
|
5
|
+
import "./events-B3HfNWqp.esm.js";
|
|
6
|
+
import "./session-D2s2kUoa.esm.js";
|
|
7
|
+
import "./BrowserEnvironmentProvider-4Vr7ceoW.esm.js";
|
|
8
|
+
import "./browserSimulation-D9FTZt0Z.esm.js";
|
|
9
9
|
|
|
10
10
|
export { isConfigured, reset, setup };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as __toCommonJS, n as __esm, r as __export, t as __commonJS } from "./chunk-
|
|
1
|
+
import { i as __toCommonJS, n as __esm, r as __export, t as __commonJS } from "./chunk-CT7w1OiQ.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region ../../node_modules/.pnpm/jsnlog@2.30.0/node_modules/jsnlog/jsnlog.js
|
|
4
4
|
var require_jsnlog = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/jsnlog@2.30.0/node_modules/jsnlog/jsnlog.js": ((exports) => {
|