@incodetech/core 0.0.0-dev-20260703-aafdb47a → 0.0.0-dev-20260703-4e6bf586

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 (44) hide show
  1. package/dist/ae-signature.d.ts +1 -1
  2. package/dist/{browser-DlFgHpoC-Bc6EUg7K.esm.js → browser-DlFgHpoC-ClIpZI26.esm.js} +1 -1
  3. package/dist/certificate-issuance.d.ts +28 -28
  4. package/dist/consent.d.ts +1 -1
  5. package/dist/{consentManager-P0VYzHvF.d.ts → consentManager-Cq_zuGyV.d.ts} +52 -52
  6. package/dist/cpf-ocr.d.ts +1 -1
  7. package/dist/{cpfOcrManager-CHBuC8qm.d.ts → cpfOcrManager-CqofcqUr.d.ts} +20 -20
  8. package/dist/document-capture.d.ts +219 -219
  9. package/dist/document-upload.d.ts +43 -43
  10. package/dist/ekyb.esm.js +4 -4
  11. package/dist/{ekybStateMachine-BkDggs0T.esm.js → ekybStateMachine-ByOUNlk3.esm.js} +1 -1
  12. package/dist/electronic-signature.d.ts +1 -1
  13. package/dist/extensibility.d.ts +5 -5
  14. package/dist/extensibility.esm.js +4 -4
  15. package/dist/flow.d.ts +2 -2
  16. package/dist/flow.esm.js +3 -3
  17. package/dist/{flowServices-CuMBa-r_.esm.js → flowServices-zQ4hdUWb.esm.js} +1 -1
  18. package/dist/home.d.ts +10 -10
  19. package/dist/id-ocr.d.ts +1 -1
  20. package/dist/id-verification.d.ts +25 -25
  21. package/dist/id.esm.js +4 -4
  22. package/dist/{idCaptureManager-pdXNoTHh.esm.js → idCaptureManager-BaBfY7-F.esm.js} +1 -1
  23. package/dist/{idCaptureStateMachine-7etZOQG_.esm.js → idCaptureStateMachine-C4JdDQMz.esm.js} +1 -1
  24. package/dist/{idOcrManager-Di06g69M.d.ts → idOcrManager-B8wGPtYt.d.ts} +52 -52
  25. package/dist/identity-reuse.d.ts +1 -1
  26. package/dist/{identityReuseManager-BC5_6XU_.d.ts → identityReuseManager-e3Q0Ojz-.d.ts} +34 -34
  27. package/dist/{index-DE9lDuFm.d.ts → index-DTYZyqY4.d.ts} +168 -168
  28. package/dist/index.esm.js +3 -3
  29. package/dist/mandatory-consent.d.ts +1 -1
  30. package/dist/{mandatoryConsentManager-DY6N6S3L.d.ts → mandatoryConsentManager-CTCWHacw.d.ts} +50 -50
  31. package/dist/qe-signature.d.ts +1 -1
  32. package/dist/session.esm.js +2 -2
  33. package/dist/{sessionInitializer-BFQBcsDc.esm.js → sessionInitializer-BkDTbgP1.esm.js} +2 -2
  34. package/dist/{setup-RrOw4NCG.esm.js → setup--56mH1Is.esm.js} +2 -2
  35. package/dist/{tri-CtEMMAM6.esm.js → tri-YFsu_BBU.esm.js} +1 -1
  36. package/dist/{tri.esm--8e_42NO.esm.js → tri.esm-B4UfsMVy.esm.js} +27 -23
  37. package/dist/tri.esm.js +1 -1
  38. package/dist/trust-graph.d.ts +2 -2
  39. package/dist/video-selfie.d.ts +2 -2
  40. package/dist/video-selfie.esm.js +3 -3
  41. package/dist/wasm.esm.js +3 -3
  42. package/dist/workflow.d.ts +159 -159
  43. package/dist/workflow.esm.js +5 -5
  44. package/package.json +1 -1
package/dist/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./WasmUtilProvider-ADG54T6M.esm.js";
2
- import { i as reset, o as setup, r as isConfigured } from "./setup-RrOw4NCG.esm.js";
2
+ import { i as reset, o as setup, r as isConfigured } from "./setup--56mH1Is.esm.js";
3
3
  import "./BrowserTimerProvider-CHloo0eQ.esm.js";
4
4
  import "./api-DsbUi7TO.esm.js";
5
5
  import "./clientLifecycle-Ct7h9uxx.esm.js";
@@ -8,11 +8,11 @@ import "./types-ElOJAGaM.esm.js";
8
8
  import "./endpoints-BzMJFAPV.esm.js";
9
9
  import "./stats-CYcScXcO.esm.js";
10
10
  import "./browserSimulation-TsSoavQv.esm.js";
11
- import "./sessionInitializer-BFQBcsDc.esm.js";
11
+ import "./sessionInitializer-BkDTbgP1.esm.js";
12
12
  import "./getDeviceData-TrKM8NPh.esm.js";
13
13
  import "./thumbmarkAdapter-fHBUDlAP.esm.js";
14
14
  import "./IpifyProvider-BRW14_uo.esm.js";
15
15
  import "./platform-uIVQUnJP.esm.js";
16
- import "./tri-CtEMMAM6.esm.js";
16
+ import "./tri-YFsu_BBU.esm.js";
17
17
 
18
18
  export { isConfigured, reset, setup };
@@ -7,5 +7,5 @@ import "./types-cqeeFcNT.js";
7
7
  import "./canvas-lNFq1bim.js";
8
8
  import "./createFaceAvatar-DFvWGUts.js";
9
9
  import "./types-bWGcbd3_.js";
10
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-DY6N6S3L.js";
10
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-CTCWHacw.js";
11
11
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -1,7 +1,7 @@
1
1
  import { t as Manager } from "./Manager-Cmz78C-6.js";
2
2
  import { t as ActorRefFrom } from "./Actor-BYmFPUr7.js";
3
3
  import { a as RegulationTypes } from "./types-bWGcbd3_.js";
4
- import * as xstate1184 from "xstate";
4
+ import * as xstate734 from "xstate";
5
5
 
6
6
  //#region src/modules/mandatory-consent/types.d.ts
7
7
  type RegulatoryConsentType = 'MANDATORY' | 'ML';
@@ -32,7 +32,7 @@ type MandatoryConsentContext = {
32
32
  type MandatoryConsentInput = {
33
33
  config: MandatoryConsentConfig;
34
34
  };
35
- declare const mandatoryConsentMachine: xstate1184.StateMachine<MandatoryConsentContext, {
35
+ declare const mandatoryConsentMachine: xstate734.StateMachine<MandatoryConsentContext, {
36
36
  type: "LOAD";
37
37
  } | {
38
38
  type: "TOGGLE";
@@ -45,53 +45,53 @@ declare const mandatoryConsentMachine: xstate1184.StateMachine<MandatoryConsentC
45
45
  } | {
46
46
  type: "RESET";
47
47
  }, {
48
- [x: string]: xstate1184.ActorRefFromLogic<xstate1184.PromiseActorLogic<FetchMandatoryConsentResponse, {
48
+ [x: string]: xstate734.ActorRefFromLogic<xstate734.PromiseActorLogic<FetchMandatoryConsentResponse, {
49
49
  config: MandatoryConsentConfig;
50
- }, xstate1184.EventObject>> | xstate1184.ActorRefFromLogic<xstate1184.PromiseActorLogic<void, {
50
+ }, xstate734.EventObject>> | xstate734.ActorRefFromLogic<xstate734.PromiseActorLogic<void, {
51
51
  consentId: string;
52
52
  isSigned: boolean;
53
- }, xstate1184.EventObject>> | undefined;
54
- }, xstate1184.Values<{
53
+ }, xstate734.EventObject>> | undefined;
54
+ }, xstate734.Values<{
55
55
  fetchConsent: {
56
56
  src: "fetchConsent";
57
- logic: xstate1184.PromiseActorLogic<FetchMandatoryConsentResponse, {
57
+ logic: xstate734.PromiseActorLogic<FetchMandatoryConsentResponse, {
58
58
  config: MandatoryConsentConfig;
59
- }, xstate1184.EventObject>;
59
+ }, xstate734.EventObject>;
60
60
  id: string | undefined;
61
61
  };
62
62
  submitConsent: {
63
63
  src: "submitConsent";
64
- logic: xstate1184.PromiseActorLogic<void, {
64
+ logic: xstate734.PromiseActorLogic<void, {
65
65
  consentId: string;
66
66
  isSigned: boolean;
67
- }, xstate1184.EventObject>;
67
+ }, xstate734.EventObject>;
68
68
  id: string | undefined;
69
69
  };
70
- }>, xstate1184.Values<{
70
+ }>, xstate734.Values<{
71
71
  setConsent: {
72
72
  type: "setConsent";
73
- params: xstate1184.NonReducibleUnknown;
74
- };
75
- setError: {
76
- type: "setError";
77
- params: xstate1184.NonReducibleUnknown;
73
+ params: xstate734.NonReducibleUnknown;
78
74
  };
79
75
  clearError: {
80
76
  type: "clearError";
81
- params: xstate1184.NonReducibleUnknown;
77
+ params: xstate734.NonReducibleUnknown;
78
+ };
79
+ setError: {
80
+ type: "setError";
81
+ params: xstate734.NonReducibleUnknown;
82
82
  };
83
83
  resetContext: {
84
84
  type: "resetContext";
85
- params: xstate1184.NonReducibleUnknown;
85
+ params: xstate734.NonReducibleUnknown;
86
86
  };
87
87
  toggleSigned: {
88
88
  type: "toggleSigned";
89
- params: xstate1184.NonReducibleUnknown;
89
+ params: xstate734.NonReducibleUnknown;
90
90
  };
91
91
  }>, {
92
92
  type: "canSubmit";
93
93
  params: unknown;
94
- }, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, xstate1184.NonReducibleUnknown, xstate1184.EventObject, xstate1184.MetaObject, {
94
+ }, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, xstate734.NonReducibleUnknown, xstate734.EventObject, xstate734.MetaObject, {
95
95
  readonly id: "mandatoryConsent";
96
96
  readonly initial: "idle";
97
97
  readonly context: ({
@@ -100,70 +100,70 @@ declare const mandatoryConsentMachine: xstate1184.StateMachine<MandatoryConsentC
100
100
  spawn: {
101
101
  <TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
102
102
  src: "fetchConsent";
103
- logic: xstate1184.PromiseActorLogic<FetchMandatoryConsentResponse, {
103
+ logic: xstate734.PromiseActorLogic<FetchMandatoryConsentResponse, {
104
104
  config: MandatoryConsentConfig;
105
- }, xstate1184.EventObject>;
105
+ }, xstate734.EventObject>;
106
106
  id: string | undefined;
107
107
  } extends infer T ? T extends {
108
108
  src: "fetchConsent";
109
- logic: xstate1184.PromiseActorLogic<FetchMandatoryConsentResponse, {
109
+ logic: xstate734.PromiseActorLogic<FetchMandatoryConsentResponse, {
110
110
  config: MandatoryConsentConfig;
111
- }, xstate1184.EventObject>;
111
+ }, xstate734.EventObject>;
112
112
  id: string | undefined;
113
113
  } ? T extends {
114
114
  src: TSrc;
115
- } ? xstate1184.ConditionalRequired<[options?: ({
115
+ } ? xstate734.ConditionalRequired<[options?: ({
116
116
  id?: T["id"] | undefined;
117
117
  systemId?: string;
118
- input?: xstate1184.InputFrom<T["logic"]> | undefined;
118
+ input?: xstate734.InputFrom<T["logic"]> | undefined;
119
119
  syncSnapshot?: boolean;
120
- } & { [K in xstate1184.RequiredActorOptions<T>]: unknown }) | undefined], xstate1184.IsNotNever<xstate1184.RequiredActorOptions<T>>> : never : never : never) | ({
120
+ } & { [K in xstate734.RequiredActorOptions<T>]: unknown }) | undefined], xstate734.IsNotNever<xstate734.RequiredActorOptions<T>>> : never : never : never) | ({
121
121
  src: "submitConsent";
122
- logic: xstate1184.PromiseActorLogic<void, {
122
+ logic: xstate734.PromiseActorLogic<void, {
123
123
  consentId: string;
124
124
  isSigned: boolean;
125
- }, xstate1184.EventObject>;
125
+ }, xstate734.EventObject>;
126
126
  id: string | undefined;
127
127
  } extends infer T_1 ? T_1 extends {
128
128
  src: "submitConsent";
129
- logic: xstate1184.PromiseActorLogic<void, {
129
+ logic: xstate734.PromiseActorLogic<void, {
130
130
  consentId: string;
131
131
  isSigned: boolean;
132
- }, xstate1184.EventObject>;
132
+ }, xstate734.EventObject>;
133
133
  id: string | undefined;
134
134
  } ? T_1 extends {
135
135
  src: TSrc;
136
- } ? xstate1184.ConditionalRequired<[options?: ({
136
+ } ? xstate734.ConditionalRequired<[options?: ({
137
137
  id?: T_1["id"] | undefined;
138
138
  systemId?: string;
139
- input?: xstate1184.InputFrom<T_1["logic"]> | undefined;
139
+ input?: xstate734.InputFrom<T_1["logic"]> | undefined;
140
140
  syncSnapshot?: boolean;
141
- } & { [K_1 in xstate1184.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1184.IsNotNever<xstate1184.RequiredActorOptions<T_1>>> : never : never : never)): xstate1184.ActorRefFromLogic<xstate1184.GetConcreteByKey<xstate1184.Values<{
141
+ } & { [K_1 in xstate734.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate734.IsNotNever<xstate734.RequiredActorOptions<T_1>>> : never : never : never)): xstate734.ActorRefFromLogic<xstate734.GetConcreteByKey<xstate734.Values<{
142
142
  fetchConsent: {
143
143
  src: "fetchConsent";
144
- logic: xstate1184.PromiseActorLogic<FetchMandatoryConsentResponse, {
144
+ logic: xstate734.PromiseActorLogic<FetchMandatoryConsentResponse, {
145
145
  config: MandatoryConsentConfig;
146
- }, xstate1184.EventObject>;
146
+ }, xstate734.EventObject>;
147
147
  id: string | undefined;
148
148
  };
149
149
  submitConsent: {
150
150
  src: "submitConsent";
151
- logic: xstate1184.PromiseActorLogic<void, {
151
+ logic: xstate734.PromiseActorLogic<void, {
152
152
  consentId: string;
153
153
  isSigned: boolean;
154
- }, xstate1184.EventObject>;
154
+ }, xstate734.EventObject>;
155
155
  id: string | undefined;
156
156
  };
157
157
  }>, "src", TSrc>["logic"]>;
158
- <TLogic extends xstate1184.AnyActorLogic>(src: TLogic, ...[options]: xstate1184.ConditionalRequired<[options?: ({
158
+ <TLogic extends xstate734.AnyActorLogic>(src: TLogic, ...[options]: xstate734.ConditionalRequired<[options?: ({
159
159
  id?: never;
160
160
  systemId?: string;
161
- input?: xstate1184.InputFrom<TLogic> | undefined;
161
+ input?: xstate734.InputFrom<TLogic> | undefined;
162
162
  syncSnapshot?: boolean;
163
- } & { [K in xstate1184.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1184.IsNotNever<xstate1184.RequiredLogicInput<TLogic>>>): xstate1184.ActorRefFromLogic<TLogic>;
163
+ } & { [K in xstate734.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate734.IsNotNever<xstate734.RequiredLogicInput<TLogic>>>): xstate734.ActorRefFromLogic<TLogic>;
164
164
  };
165
165
  input: MandatoryConsentInput;
166
- self: xstate1184.ActorRef<xstate1184.MachineSnapshot<MandatoryConsentContext, {
166
+ self: xstate734.ActorRef<xstate734.MachineSnapshot<MandatoryConsentContext, {
167
167
  type: "LOAD";
168
168
  } | {
169
169
  type: "TOGGLE";
@@ -175,7 +175,7 @@ declare const mandatoryConsentMachine: xstate1184.StateMachine<MandatoryConsentC
175
175
  type: "RETRY";
176
176
  } | {
177
177
  type: "RESET";
178
- }, Record<string, xstate1184.AnyActorRef | undefined>, xstate1184.StateValue, string, unknown, any, any>, {
178
+ }, Record<string, xstate734.AnyActorRef | undefined>, xstate734.StateValue, string, unknown, any, any>, {
179
179
  type: "LOAD";
180
180
  } | {
181
181
  type: "TOGGLE";
@@ -187,7 +187,7 @@ declare const mandatoryConsentMachine: xstate1184.StateMachine<MandatoryConsentC
187
187
  type: "RETRY";
188
188
  } | {
189
189
  type: "RESET";
190
- }, xstate1184.AnyEventObject>;
190
+ }, xstate734.AnyEventObject>;
191
191
  }) => {
192
192
  config: MandatoryConsentConfig;
193
193
  consent: undefined;
@@ -224,7 +224,7 @@ declare const mandatoryConsentMachine: xstate1184.StateMachine<MandatoryConsentC
224
224
  } | {
225
225
  type: "RESET";
226
226
  };
227
- self: xstate1184.ActorRef<xstate1184.MachineSnapshot<MandatoryConsentContext, {
227
+ self: xstate734.ActorRef<xstate734.MachineSnapshot<MandatoryConsentContext, {
228
228
  type: "LOAD";
229
229
  } | {
230
230
  type: "TOGGLE";
@@ -236,7 +236,7 @@ declare const mandatoryConsentMachine: xstate1184.StateMachine<MandatoryConsentC
236
236
  type: "RETRY";
237
237
  } | {
238
238
  type: "RESET";
239
- }, Record<string, xstate1184.AnyActorRef>, xstate1184.StateValue, string, unknown, any, any>, {
239
+ }, Record<string, xstate734.AnyActorRef>, xstate734.StateValue, string, unknown, any, any>, {
240
240
  type: "LOAD";
241
241
  } | {
242
242
  type: "TOGGLE";
@@ -248,7 +248,7 @@ declare const mandatoryConsentMachine: xstate1184.StateMachine<MandatoryConsentC
248
248
  type: "RETRY";
249
249
  } | {
250
250
  type: "RESET";
251
- }, xstate1184.AnyEventObject>;
251
+ }, xstate734.AnyEventObject>;
252
252
  }) => {
253
253
  config: MandatoryConsentConfig;
254
254
  };
@@ -301,7 +301,7 @@ declare const mandatoryConsentMachine: xstate1184.StateMachine<MandatoryConsentC
301
301
  } | {
302
302
  type: "RESET";
303
303
  };
304
- self: xstate1184.ActorRef<xstate1184.MachineSnapshot<MandatoryConsentContext, {
304
+ self: xstate734.ActorRef<xstate734.MachineSnapshot<MandatoryConsentContext, {
305
305
  type: "LOAD";
306
306
  } | {
307
307
  type: "TOGGLE";
@@ -313,7 +313,7 @@ declare const mandatoryConsentMachine: xstate1184.StateMachine<MandatoryConsentC
313
313
  type: "RETRY";
314
314
  } | {
315
315
  type: "RESET";
316
- }, Record<string, xstate1184.AnyActorRef>, xstate1184.StateValue, string, unknown, any, any>, {
316
+ }, Record<string, xstate734.AnyActorRef>, xstate734.StateValue, string, unknown, any, any>, {
317
317
  type: "LOAD";
318
318
  } | {
319
319
  type: "TOGGLE";
@@ -325,7 +325,7 @@ declare const mandatoryConsentMachine: xstate1184.StateMachine<MandatoryConsentC
325
325
  type: "RETRY";
326
326
  } | {
327
327
  type: "RESET";
328
- }, xstate1184.AnyEventObject>;
328
+ }, xstate734.AnyEventObject>;
329
329
  }) => {
330
330
  consentId: string;
331
331
  isSigned: boolean;
@@ -1,7 +1,7 @@
1
1
  import "./StateMachine-CNPJD4wG.js";
2
2
  import { t as Manager } from "./Manager-Cmz78C-6.js";
3
3
  import "./Actor-BYmFPUr7.js";
4
- import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-DE9lDuFm.js";
4
+ import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-DTYZyqY4.js";
5
5
 
6
6
  //#region src/modules/qe-signature/index.d.ts
7
7
 
@@ -5,12 +5,12 @@ import "./types-ElOJAGaM.esm.js";
5
5
  import "./endpoints-BzMJFAPV.esm.js";
6
6
  import "./stats-CYcScXcO.esm.js";
7
7
  import "./browserSimulation-TsSoavQv.esm.js";
8
- import { r as initializeSession } from "./sessionInitializer-BFQBcsDc.esm.js";
8
+ import { r as initializeSession } from "./sessionInitializer-BkDTbgP1.esm.js";
9
9
  import "./getDeviceData-TrKM8NPh.esm.js";
10
10
  import "./thumbmarkAdapter-fHBUDlAP.esm.js";
11
11
  import "./IpifyProvider-BRW14_uo.esm.js";
12
12
  import "./platform-uIVQUnJP.esm.js";
13
- import "./tri-CtEMMAM6.esm.js";
13
+ import "./tri-YFsu_BBU.esm.js";
14
14
  import { t as IncodeApiError } from "./apiError-C7SFQTB2.esm.js";
15
15
  import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-D4m9r-7U.esm.js";
16
16
  import { n as getFinishStatus } from "./flowCompletionService-DwNoUhk5.esm.js";
@@ -6,7 +6,7 @@ import { a as UAParser, n as isBrowserSimulation, o as BrowserEnvironmentProvide
6
6
  import { t as getDeviceFingerprintInfo } from "./getDeviceData-TrKM8NPh.esm.js";
7
7
  import { t as getThumbmarkId } from "./thumbmarkAdapter-fHBUDlAP.esm.js";
8
8
  import { n as resetIpifyCache, t as IpifyProvider } from "./IpifyProvider-BRW14_uo.esm.js";
9
- import { i as linkSessionWithTRI, r as isTRIStarted } from "./tri-CtEMMAM6.esm.js";
9
+ import { i as linkSessionWithTRI, r as isTRIStarted } from "./tri-YFsu_BBU.esm.js";
10
10
 
11
11
  //#region ../infra/src/providers/browser/BrowserInfoProvider.ts
12
12
  var BrowserInfoProvider = class {
@@ -90,7 +90,7 @@ function resetFeatureConfigCache() {
90
90
 
91
91
  //#endregion
92
92
  //#region src/internal/version/sdkVersion.ts
93
- const SDK_VERSION = "0.0.0-dev-20260703-aafdb47a";
93
+ const SDK_VERSION = "0.0.0-dev-20260703-4e6bf586";
94
94
 
95
95
  //#endregion
96
96
  //#region src/internal/fingerprint/fingerprintService.ts
@@ -5,8 +5,8 @@ import { i as upgradeToWasmHttpClient, n as installFreshHttpClient, r as resetHt
5
5
  import { f as getAnalyticsBatcher, m as setAnalyticsBatcher, p as resetAnalyticsBatcher, u as createAnalyticsBatchingService } from "./events-CqGY1yMq.esm.js";
6
6
  import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
7
7
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-CYcScXcO.esm.js";
8
- import { a as setClientIpLookupEnabled, i as resetSessionInit, r as initializeSession } from "./sessionInitializer-BFQBcsDc.esm.js";
9
- import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-CtEMMAM6.esm.js";
8
+ import { a as setClientIpLookupEnabled, i as resetSessionInit, r as initializeSession } from "./sessionInitializer-BkDTbgP1.esm.js";
9
+ import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-YFsu_BBU.esm.js";
10
10
 
11
11
  //#region ../infra/src/wasm/wasmDefaults.ts
12
12
  const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
@@ -120,7 +120,7 @@ const LAZY_IMPORT_OPTIONS = {
120
120
  timeoutMs: 1e4,
121
121
  disabledMessage: "TRI will be disabled for this session."
122
122
  };
123
- const importSdk = () => import("./tri.esm--8e_42NO.esm.js");
123
+ const importSdk = () => import("./tri.esm-B4UfsMVy.esm.js");
124
124
  /**
125
125
  * Concrete implementation of {@link ITransactionalRiskIntelligenceCapability}.
126
126
  *
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.5.0/node_modules/@incodetech/tri-sdk/dist/tri.esm.js
1
+ //#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.5.1/node_modules/@incodetech/tri-sdk/dist/tri.esm.js
2
2
  var t = class t {
3
3
  constructor() {
4
4
  this.t = !1;
@@ -135,10 +135,10 @@ const y = 2e3;
135
135
  function v(t$1) {
136
136
  return !!t$1 && t$1.nodeType === Node.TEXT_NODE;
137
137
  }
138
- function g(t$1, n$1) {
138
+ function b(t$1, n$1) {
139
139
  return t$1.tagName?.toLowerCase() === n$1.toLowerCase();
140
140
  }
141
- function b(t$1) {
141
+ function g(t$1) {
142
142
  return !!t$1 && t$1.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
143
143
  }
144
144
  function k(t$1) {
@@ -790,13 +790,13 @@ const Q = {
790
790
  "Shift" === t$2.key && (l$1 = !1, o$1 && h$1("keyboard"));
791
791
  }), v$1 = a(() => {
792
792
  c$1 = !1;
793
- }), g$1 = a(() => {
794
- "hidden" === document.visibilityState && (c$1 = !1, l$1 = !1, o$1 && h$1("timeout"));
795
793
  }), b$1 = a(() => {
794
+ "hidden" === document.visibilityState && (c$1 = !1, l$1 = !1, o$1 && h$1("timeout"));
795
+ }), g$1 = a(() => {
796
796
  c$1 = !1, o$1 && h$1("pointer");
797
797
  });
798
- return e(document, "selectionchange", f$1), e(document, "pointerdown", p$1), e(document, "pointerup", m$1), e(document, "keydown", w$1), e(document, "keyup", y$1), e(document, "contextmenu", v$1), e(document, "visibilitychange", g$1), e(document, "dragend", b$1), () => {
799
- u$1(), i(document, "selectionchange", f$1), i(document, "pointerdown", p$1), i(document, "pointerup", m$1), i(document, "keydown", w$1), i(document, "keyup", y$1), i(document, "contextmenu", v$1), i(document, "visibilitychange", g$1), i(document, "dragend", b$1);
798
+ return e(document, "selectionchange", f$1), e(document, "pointerdown", p$1), e(document, "pointerup", m$1), e(document, "keydown", w$1), e(document, "keyup", y$1), e(document, "contextmenu", v$1), e(document, "visibilitychange", b$1), e(document, "dragend", g$1), () => {
799
+ u$1(), i(document, "selectionchange", f$1), i(document, "pointerdown", p$1), i(document, "pointerup", m$1), i(document, "keydown", w$1), i(document, "keyup", y$1), i(document, "contextmenu", v$1), i(document, "visibilitychange", b$1), i(document, "dragend", g$1);
800
800
  };
801
801
  },
802
802
  layer: "behavioral"
@@ -1259,8 +1259,8 @@ const ft = function(t$1, n$1 = 30) {
1259
1259
  async function pt(t$1, n$1) {
1260
1260
  return globalThis.navigator && "locks" in globalThis.navigator && "request" in globalThis.navigator.locks && "query" in globalThis.navigator.locks ? navigator.locks.request(t$1, { mode: "exclusive" }, async () => c(n$1)) : c(n$1);
1261
1261
  }
1262
- const mt = "__tri", wt = `${mt}_activity_token`, yt = `${mt}_activity_id`, vt = `${mt}_activity_status`, gt = "__tri_activity_lock";
1263
- var bt = class {
1262
+ const mt = "__tri", wt = `${mt}_activity_token`, yt = `${mt}_activity_id`, vt = `${mt}_activity_status`, bt = "__tri_activity_lock";
1263
+ var gt = class {
1264
1264
  constructor(t$1) {
1265
1265
  this.context = t$1, this.l = null, this.u = null, this.h = null, this.p = null, this.m = !1;
1266
1266
  }
@@ -1282,7 +1282,7 @@ var bt = class {
1282
1282
  async refresh() {
1283
1283
  if (!this.m) return;
1284
1284
  const t$1 = this.l;
1285
- await pt(gt, async () => {
1285
+ await pt(bt, async () => {
1286
1286
  if (this.l && this.l !== t$1 && !ft(this.l) && "ACTIVE" === this.h) return;
1287
1287
  const n$1 = this._();
1288
1288
  n$1 && n$1.token !== t$1 && !ft(n$1.token) && "ACTIVE" === n$1.activityStatus ? this.T(n$1) : (this.I(), await this.S());
@@ -1291,7 +1291,7 @@ var bt = class {
1291
1291
  async v() {
1292
1292
  try {
1293
1293
  if (this.l && !ft(this.l)) return;
1294
- await pt(gt, async () => {
1294
+ await pt(bt, async () => {
1295
1295
  await this.S();
1296
1296
  });
1297
1297
  } finally {
@@ -1497,7 +1497,7 @@ var Pt = class {
1497
1497
  batchSequence: this.B++,
1498
1498
  clientTimestamp: Date.now(),
1499
1499
  schemaVersion: "0.1.0",
1500
- sdkVersion: "0.5.0",
1500
+ sdkVersion: "0.5.1",
1501
1501
  sdkPlatform: "web",
1502
1502
  tabId: this.D.getTabId(),
1503
1503
  events: n$1
@@ -1582,7 +1582,7 @@ var $t = class {
1582
1582
  type: "bye",
1583
1583
  tabId: this.tt,
1584
1584
  ts: Date.now()
1585
- }), this.wt(this.yt()), this.vt(), this.gt(), this.bt());
1585
+ }), this.wt(this.yt()), this.vt(), this.bt(), this.gt());
1586
1586
  }
1587
1587
  getTabId() {
1588
1588
  return this.tt;
@@ -1597,7 +1597,7 @@ var $t = class {
1597
1597
  n.warn("TabManager", "failed to open broadcast channel:", t$1);
1598
1598
  }
1599
1599
  }
1600
- bt() {
1600
+ gt() {
1601
1601
  try {
1602
1602
  if (!this.nt) return;
1603
1603
  this.st && this.nt.removeEventListener("message", this.st), this.nt.close();
@@ -1625,7 +1625,7 @@ var $t = class {
1625
1625
  t$1 !== this.rt && (this.rt = t$1, this.wt(t$1));
1626
1626
  }, 1e3);
1627
1627
  }
1628
- gt() {
1628
+ bt() {
1629
1629
  null != this.it && (clearTimeout(this.it), this.it = null);
1630
1630
  }
1631
1631
  ut(t$1) {
@@ -1702,7 +1702,7 @@ async function Ht(t$1) {
1702
1702
  return Promise.race([r$1, o$2]).finally(() => {
1703
1703
  d(i$2);
1704
1704
  });
1705
- }(() => import("./browser-DlFgHpoC-Bc6EUg7K.esm.js"), 1e4);
1705
+ }(() => import("./browser-DlFgHpoC-ClIpZI26.esm.js"), 1e4);
1706
1706
  jt = t$3, t$3.then((n$1) => {
1707
1707
  null === n$1 && u(() => {
1708
1708
  jt === t$3 && (jt = null);
@@ -1784,7 +1784,7 @@ function Jt(t$1, n$1, e$1, i$1 = nt) {
1784
1784
  for (let i$3 = 0; i$3 < e$2; i$3++) {
1785
1785
  r$2++;
1786
1786
  const e$3 = n$2[i$3];
1787
- if (g(e$3, t$2.tagName) && o$2++, e$3 === t$2) break;
1787
+ if (b(e$3, t$2.tagName) && o$2++, e$3 === t$2) break;
1788
1788
  }
1789
1789
  return {
1790
1790
  siblings: i$2,
@@ -1829,8 +1829,8 @@ function Jt(t$1, n$1, e$1, i$1 = nt) {
1829
1829
  !y$1 || n$2 || _("placeholder", i$2) || (o$2.placeholder = y$1);
1830
1830
  const v$1 = Array.from(t$2.classList).slice(0, 5);
1831
1831
  v$1.length > 0 && !_("class", i$2) && (o$2.classes = v$1);
1832
- const g$1 = t$2.getAttribute("alt");
1833
- return !g$1 || n$2 || _("alt", i$2) || (o$2.alt = g$1), Object.keys(o$2).length ? o$2 : null;
1832
+ const b$1 = t$2.getAttribute("alt");
1833
+ return !b$1 || n$2 || _("alt", i$2) || (o$2.alt = b$1), Object.keys(o$2).length ? o$2 : null;
1834
1834
  }(t$1, n$1, i$1);
1835
1835
  return {
1836
1836
  tagName: o$1,
@@ -1847,7 +1847,7 @@ function Gt(t$1, n$1) {
1847
1847
  }(t$1) && (e$1 += 40, i$1.push("native")), function(t$2) {
1848
1848
  return t$2.hasAttribute("data-tri-interactive");
1849
1849
  }(t$1) && (e$1 += 40, i$1.push("tri-interactive")), function(t$2) {
1850
- return g(t$2, "a") && t$2.hasAttribute("href");
1850
+ return b(t$2, "a") && t$2.hasAttribute("href");
1851
1851
  }(t$1) && (e$1 += 15, i$1.push("has-href")), function(t$2) {
1852
1852
  const n$2 = t$2.getAttribute("role");
1853
1853
  return null !== n$2 && Vt.has(n$2);
@@ -2243,7 +2243,7 @@ async function an(t$1, o$1) {
2243
2243
  });
2244
2244
  const t$2 = await c$1.api.collectionStatus();
2245
2245
  if (!t$2.ok || !0 !== t$2.data.eventsCollectionEnabled) return { status: "collection-disabled" };
2246
- l$1 = new bt({
2246
+ l$1 = new gt({
2247
2247
  startActivity: () => c$1.api.startActivity(),
2248
2248
  stopActivity: () => c$1.api.stopActivity()
2249
2249
  }), h$1 = new Pt(ct, {
@@ -2306,8 +2306,12 @@ async function an(t$1, o$1) {
2306
2306
  };
2307
2307
  T(e$2) && (i$2 = n$3.length), n$3.push(e$2);
2308
2308
  const t$6 = e$2.parentNode;
2309
- if (!t$6 || g(e$2, "body")) break;
2310
- e$2 = b(t$6) ? t$6.host : t$6;
2309
+ if (!t$6 || b(e$2, "body")) break;
2310
+ if (g(t$6)) e$2 = t$6.host;
2311
+ else {
2312
+ if (t$6.nodeType !== Node.ELEMENT_NODE) break;
2313
+ e$2 = t$6;
2314
+ }
2311
2315
  }
2312
2316
  return {
2313
2317
  chain: n$3,
package/dist/tri.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import "./BrowserTimerProvider-CHloo0eQ.esm.js";
2
- import { a as resetTRI, c as startTRI, l as stopTRI, r as isTRIStarted, s as setupTRI, t as createTRISession } from "./tri-CtEMMAM6.esm.js";
2
+ import { a as resetTRI, c as startTRI, l as stopTRI, r as isTRIStarted, s as setupTRI, t as createTRISession } from "./tri-YFsu_BBU.esm.js";
3
3
 
4
4
  export { createTRISession, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
@@ -1,6 +1,6 @@
1
1
  import "./StateMachine-CNPJD4wG.js";
2
2
  import { t as Manager } from "./Manager-Cmz78C-6.js";
3
- import * as xstate175 from "xstate";
3
+ import * as xstate244 from "xstate";
4
4
 
5
5
  //#region src/modules/trust-graph/trustGraphManager.d.ts
6
6
  type TrustGraphIdleState = {
@@ -60,7 +60,7 @@ type TrustGraphContext = Record<string, never>;
60
60
  * Mirror the `noOpFlowModuleMachine` / `identitySearchMachine` headless pattern:
61
61
  * start directly in the `final` state.
62
62
  */
63
- declare const trustGraphMachine: xstate175.StateMachine<TrustGraphContext, xstate175.AnyEventObject, {}, never, never, never, never, "finished", string, xstate175.NonReducibleUnknown, xstate175.NonReducibleUnknown, xstate175.EventObject, xstate175.MetaObject, {
63
+ declare const trustGraphMachine: xstate244.StateMachine<TrustGraphContext, xstate244.AnyEventObject, {}, never, never, never, never, "finished", string, xstate244.NonReducibleUnknown, xstate244.NonReducibleUnknown, xstate244.EventObject, xstate244.MetaObject, {
64
64
  readonly id: "trust-graph";
65
65
  readonly initial: "finished";
66
66
  readonly context: {};
@@ -10,7 +10,7 @@ import { i as FlowModuleConfig } from "./types-bWGcbd3_.js";
10
10
  import "./IWasmUtilCapability-DyiEO2jA.js";
11
11
  import "./types-CrjOPSFE.js";
12
12
  import { n as DetectionStatus } from "./types-m3_HUzgU.js";
13
- import * as xstate1152 from "xstate";
13
+ import * as xstate237 from "xstate";
14
14
 
15
15
  //#region src/modules/video-selfie/types.d.ts
16
16
  /**
@@ -340,7 +340,7 @@ declare function createConsentRecorder(): ConsentRecorder;
340
340
  * is used for headless steps (e.g. `IP_ADDRESS`) that must complete instantly
341
341
  * with no UI. Using a no-op here would skip the video-selfie UI entirely.
342
342
  */
343
- declare const videoSelfieFlowModuleMachine: xstate1152.StateMachine<xstate1152.MachineContext, xstate1152.AnyEventObject, {}, never, never, never, never, "running", string, xstate1152.NonReducibleUnknown, xstate1152.NonReducibleUnknown, xstate1152.EventObject, xstate1152.MetaObject, {
343
+ declare const videoSelfieFlowModuleMachine: xstate237.StateMachine<xstate237.MachineContext, xstate237.AnyEventObject, {}, never, never, never, never, "running", string, xstate237.NonReducibleUnknown, xstate237.NonReducibleUnknown, xstate237.EventObject, xstate237.MetaObject, {
344
344
  readonly id: "videoSelfieFlowModule";
345
345
  readonly initial: "running";
346
346
  readonly states: {
@@ -1,5 +1,5 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-ADG54T6M.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-RrOw4NCG.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup--56mH1Is.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CHloo0eQ.esm.js";
4
4
  import { t as api } from "./api-DsbUi7TO.esm.js";
5
5
  import "./clientLifecycle-Ct7h9uxx.esm.js";
@@ -8,12 +8,12 @@ import "./types-ElOJAGaM.esm.js";
8
8
  import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
9
9
  import "./stats-CYcScXcO.esm.js";
10
10
  import "./browserSimulation-TsSoavQv.esm.js";
11
- import "./sessionInitializer-BFQBcsDc.esm.js";
11
+ import "./sessionInitializer-BkDTbgP1.esm.js";
12
12
  import "./getDeviceData-TrKM8NPh.esm.js";
13
13
  import "./thumbmarkAdapter-fHBUDlAP.esm.js";
14
14
  import "./IpifyProvider-BRW14_uo.esm.js";
15
15
  import "./platform-uIVQUnJP.esm.js";
16
- import "./tri-CtEMMAM6.esm.js";
16
+ import "./tri-YFsu_BBU.esm.js";
17
17
  import { a as fromPromise, i as fromCallback, l as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
18
18
  import "./MotionSensorProvider-DCbId4De.esm.js";
19
19
  import { t as checkPermission } from "./permissionServices-BJhGL13R.esm.js";
package/dist/wasm.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { r as warmupWasm } from "./WasmUtilProvider-ADG54T6M.esm.js";
2
- import { a as setWasmConfig, c as DEFAULT_WASM_VERSION, d as resolveWasmConfig, l as buildDefaultWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines, u as buildWasmConfigFromBasePath } from "./setup-RrOw4NCG.esm.js";
2
+ import { a as setWasmConfig, c as DEFAULT_WASM_VERSION, d as resolveWasmConfig, l as buildDefaultWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines, u as buildWasmConfigFromBasePath } from "./setup--56mH1Is.esm.js";
3
3
  import "./BrowserTimerProvider-CHloo0eQ.esm.js";
4
4
  import "./api-DsbUi7TO.esm.js";
5
5
  import "./clientLifecycle-Ct7h9uxx.esm.js";
@@ -8,11 +8,11 @@ import "./types-ElOJAGaM.esm.js";
8
8
  import "./endpoints-BzMJFAPV.esm.js";
9
9
  import "./stats-CYcScXcO.esm.js";
10
10
  import "./browserSimulation-TsSoavQv.esm.js";
11
- import "./sessionInitializer-BFQBcsDc.esm.js";
11
+ import "./sessionInitializer-BkDTbgP1.esm.js";
12
12
  import "./getDeviceData-TrKM8NPh.esm.js";
13
13
  import "./thumbmarkAdapter-fHBUDlAP.esm.js";
14
14
  import "./IpifyProvider-BRW14_uo.esm.js";
15
15
  import "./platform-uIVQUnJP.esm.js";
16
- import "./tri-CtEMMAM6.esm.js";
16
+ import "./tri-YFsu_BBU.esm.js";
17
17
 
18
18
  export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };