@incodetech/core 0.0.0-dev-20261014-a1943b25 → 0.0.0-dev-20261014-c68d4bd0
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/{FaceDetectionProvider-DrlDHZ0I.esm.js → FaceDetectionProvider-CGaOWgpH.esm.js} +5 -5
- package/dist/{addressSearch-Bm8zTbQJ.esm.js → addressSearch-BiYZjvp3.esm.js} +140 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-ClWM06Wx.esm.js → apiError-BZgVpBAc.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-Ce8gg8M1.esm.js → authenticationManager-OPLjz30C.esm.js} +3 -3
- package/dist/{authenticationStateMachine-69FttSWv.esm.js → authenticationStateMachine-BrSLn5k4.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-Ca8FHlC4.d.ts} +8 -8
- package/dist/{deepsightLoader-Bw0BksaL.esm.js → deepsightLoader-COtsslnW.esm.js} +4 -4
- package/dist/{deepsightService-DCHgHzDV.esm.js → deepsightService-DAQH8yWh.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CGTNiygf.esm.js → dynamicFormsManager-BZau4kO3.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-CzZ4pf-a.esm.js → dynamicFormsStateMachine-Ip5JPpPp.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-Cofp85Ea.esm.js → ekybManager-D_pS2k8G.esm.js} +1 -1
- package/dist/{ekybStateMachine-CldNruWj.esm.js → ekybStateMachine-Y0tD0ML2.esm.js} +335 -10
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-DZH51PnN.esm.js → ekycManager-BdJRUsz0.esm.js} +1 -1
- package/dist/{ekycStateMachine-DnKlILfu.esm.js → ekycStateMachine-x6Klot8g.esm.js} +734 -2
- package/dist/{ekycUtils-3FIL6m1x.esm.js → ekycUtils-zY8CdKJL.esm.js} +33 -0
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-CncA4yy_.esm.js → electronicSignatureManager-D5ASPfXx.esm.js} +1 -1
- package/dist/extensibility.d.ts +3 -3
- package/dist/extensibility.esm.js +11 -11
- package/dist/{faceCaptureManagerFactory-rcSS9V2q.esm.js → faceCaptureManagerFactory-CI-zbwD2.esm.js} +1 -1
- package/dist/{faceCaptureSetup-DU2MoZmG.esm.js → faceCaptureSetup-BTdSLQop.esm.js} +3 -3
- package/dist/{feature-management-3G4P4u5J.esm.js → feature-management-MMwPtmoU.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-CsJJjH5-.esm.js → flowCompletionService-Of59Lt-V.esm.js} +1 -1
- package/dist/{flowServices-Db5G7nKF.esm.js → flowServices-BwSU4M_m.esm.js} +5 -5
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DgpOPxwl.esm.js → geolocationManager-CgpQfB98.esm.js} +1 -1
- package/dist/{geolocationStateMachine-DsQdCfkO.esm.js → geolocationStateMachine-D-mLJCY0.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +7 -7
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-BaodfDcH.esm.js → idCaptureDefaults-CSkYbRO5.esm.js} +1 -1
- package/dist/{idCaptureManager-CrH9DTTF.esm.js → idCaptureManager-DZZUphFl.esm.js} +3 -3
- package/dist/{idCaptureServices-DEmpl0Jn.esm.js → idCaptureServices-I0VYOQ_P.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-tbtQvm5X.esm.js → idCaptureStateMachine-fsN_TunN.esm.js} +10 -10
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +4 -4
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-DDixKrq0.d.ts → mandatoryConsentManager-ntGT3XBv.d.ts} +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-BgMo7m72.esm.js → runChildModule-BjWxMA-p.esm.js} +1 -1
- package/dist/{sdkVersion-Cmmqp1Zj.esm.js → sdkVersion-jeOdpWgw.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieErrorUtils-CZSHPDZb.esm.js → selfieErrorUtils-C81DVWOm.esm.js} +1 -1
- package/dist/{selfieManager-CAHWVyTs.esm.js → selfieManager-C7L9gVHi.esm.js} +3 -3
- package/dist/{selfieStateMachine-D9Yk1g4P.esm.js → selfieStateMachine-CijDxzYK.esm.js} +3 -3
- package/dist/{session-BYjQEsDr.esm.js → session-rbbRt2pf.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-CLT-Gp5P.esm.js → sessionInitializer-BzmvJf8C.esm.js} +3 -3
- package/dist/{setup-C3gUloNb.esm.js → setup-BMjqbx2r.esm.js} +4 -4
- package/dist/{trueSightService-Bii8ntyT.esm.js → trueSightService-CBqPJefE.esm.js} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-CMouD1TC.esm.js → videoSelfieCameraWarmer-wdUmnOq_.esm.js} +4 -4
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.esm.js +16 -16
- package/package.json +4 -2
package/dist/{FaceDetectionProvider-DrlDHZ0I.esm.js → FaceDetectionProvider-CGaOWgpH.esm.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
1
|
+
import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-CBqPJefE.esm.js";
|
|
2
2
|
import { s as wasmRuntime } from "./warmup-DMtbyb2l.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
|
|
4
4
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
5
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
5
|
+
import { t as ensureWasmPipelines } from "./setup-BMjqbx2r.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
7
|
-
import "./sessionInitializer-
|
|
7
|
+
import "./sessionInitializer-BzmvJf8C.esm.js";
|
|
8
8
|
import { t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
|
|
9
9
|
import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
10
10
|
import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
|
|
11
11
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
12
12
|
import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-DbeQpXdU.esm.js";
|
|
13
13
|
import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
|
|
14
|
-
import "./deepsightService-
|
|
14
|
+
import "./deepsightService-DAQH8yWh.esm.js";
|
|
15
15
|
import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
|
|
16
16
|
//#region src/internal/faceCapture/onDeviceFaceResults.ts
|
|
17
17
|
/**
|
|
@@ -272,7 +272,7 @@ function startDetection(params) {
|
|
|
272
272
|
};
|
|
273
273
|
}
|
|
274
274
|
async function initializeDeepsightSession(options) {
|
|
275
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
275
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-COtsslnW.esm.js");
|
|
276
276
|
return loadDeepsightSession({
|
|
277
277
|
ds: options.ds,
|
|
278
278
|
storage: options.storage
|
|
@@ -376,6 +376,145 @@ function formatPostalCode(value, country) {
|
|
|
376
376
|
return value.slice(0, 8);
|
|
377
377
|
}
|
|
378
378
|
//#endregion
|
|
379
|
+
//#region src/internal/forms/checkSupport.ts
|
|
380
|
+
const GROUP_POLICIES = /* @__PURE__ */ new Set(["hide", "forceShow"]);
|
|
381
|
+
/**
|
|
382
|
+
* Compares `major.minor` vocabulary versions. The compiler's twin is
|
|
383
|
+
* `compareVersions` in `packages/form-definitions/scripts/lib/checks.mjs`;
|
|
384
|
+
* both are tested against that package's `fixtures/vocabularyVersions.json`.
|
|
385
|
+
*/
|
|
386
|
+
function compareVocabulary(a, b) {
|
|
387
|
+
const [aMajor = 0, aMinor = 0] = a.split(".").map(Number);
|
|
388
|
+
const [bMajor = 0, bMinor = 0] = b.split(".").map(Number);
|
|
389
|
+
return aMajor - bMajor || aMinor - bMinor;
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* Whether this build can use a definition. Any id it doesn't implement makes
|
|
393
|
+
* the definition unsupported, so the caller falls back to its bundled
|
|
394
|
+
* definition or current form. Presentation hints (widget, keyboard, autofill)
|
|
395
|
+
* never fail: an unknown hint falls back to the platform default.
|
|
396
|
+
*/
|
|
397
|
+
function checkSupport(definition, ids) {
|
|
398
|
+
const problems = [];
|
|
399
|
+
const need = (category, known, id, path) => {
|
|
400
|
+
if (!known.has(id)) problems.push({
|
|
401
|
+
category,
|
|
402
|
+
id,
|
|
403
|
+
path
|
|
404
|
+
});
|
|
405
|
+
};
|
|
406
|
+
if (!ids.schemaVersions.includes(definition.schemaVersion)) problems.push({
|
|
407
|
+
category: "schemaVersion",
|
|
408
|
+
id: String(definition.schemaVersion),
|
|
409
|
+
path: "schemaVersion"
|
|
410
|
+
});
|
|
411
|
+
if (compareVocabulary(definition.vocabulary, ids.vocabulary) > 0) problems.push({
|
|
412
|
+
category: "vocabulary",
|
|
413
|
+
id: definition.vocabulary,
|
|
414
|
+
path: "vocabulary"
|
|
415
|
+
});
|
|
416
|
+
const checkField = (field, path) => {
|
|
417
|
+
need("kind", ids.kinds, field.kind, `${path}.kind`);
|
|
418
|
+
need("group", ids.groups, field.group, `${path}.group`);
|
|
419
|
+
field.rules?.forEach((rule, i) => need("rule", ids.rules, rule.id, `${path}.rules[${i}]`));
|
|
420
|
+
field.input?.format?.forEach((t, i) => need("transform", ids.transforms, t.id, `${path}.input.format[${i}]`));
|
|
421
|
+
field.payload?.transforms?.forEach((t, i) => need("transform", ids.transforms, t.id, `${path}.payload.transforms[${i}]`));
|
|
422
|
+
if (field.optionsRef) need("optionList", ids.optionLists, field.optionsRef, `${path}.optionsRef`);
|
|
423
|
+
if (field.suggestionsRef) need("optionList", ids.optionLists, field.suggestionsRef, `${path}.suggestionsRef`);
|
|
424
|
+
field.requiredWhen?.forEach((condition, i) => {
|
|
425
|
+
const keys = Object.keys(condition);
|
|
426
|
+
if (keys.length !== 1) problems.push({
|
|
427
|
+
category: "condition",
|
|
428
|
+
id: keys.join("+") || "(empty)",
|
|
429
|
+
path: `${path}.requiredWhen[${i}]`
|
|
430
|
+
});
|
|
431
|
+
for (const key of keys) need("condition", ids.conditions, key, `${path}.requiredWhen[${i}]`);
|
|
432
|
+
});
|
|
433
|
+
const lock = field.phone?.lockCountry;
|
|
434
|
+
if (typeof lock === "string" && lock !== "whenPhoneRisk") problems.push({
|
|
435
|
+
category: "phoneLock",
|
|
436
|
+
id: lock,
|
|
437
|
+
path: `${path}.phone`
|
|
438
|
+
});
|
|
439
|
+
};
|
|
440
|
+
definition.fields.forEach((field) => checkField(field, `fields.${field.name}`));
|
|
441
|
+
definition.groups?.forEach((policy) => {
|
|
442
|
+
need("group", ids.groups, policy.group, `groups.${policy.group}`);
|
|
443
|
+
if (!GROUP_POLICIES.has(policy.whenDisabled)) problems.push({
|
|
444
|
+
category: "groupPolicy",
|
|
445
|
+
id: policy.whenDisabled,
|
|
446
|
+
path: `groups.${policy.group}`
|
|
447
|
+
});
|
|
448
|
+
});
|
|
449
|
+
definition.groupRules?.forEach((rule, i) => need("groupRule", ids.groupRules, rule.id, `groupRules[${i}]`));
|
|
450
|
+
definition.collections?.forEach((collection) => {
|
|
451
|
+
need("group", ids.groups, collection.group, `collections.${collection.id}`);
|
|
452
|
+
collection.fields.forEach((field) => checkField(field, `collections.${collection.id}.fields.${field.name}`));
|
|
453
|
+
});
|
|
454
|
+
return problems.length === 0 ? { supported: true } : {
|
|
455
|
+
supported: false,
|
|
456
|
+
problems
|
|
457
|
+
};
|
|
458
|
+
}
|
|
459
|
+
//#endregion
|
|
460
|
+
//#region src/internal/forms/definitionSource.ts
|
|
461
|
+
const queryKey = ({ module, source, country }) => `${module}|${source ?? ""}|${country ?? ""}`;
|
|
462
|
+
/**
|
|
463
|
+
* The definitions bundled with this build. Matches module, source and country
|
|
464
|
+
* exactly, so a pair without its own definition keeps the current builder.
|
|
465
|
+
*/
|
|
466
|
+
function createBundledDefinitionSource(definitions) {
|
|
467
|
+
const byQuery = new Map(Object.values(definitions).map((definition) => [queryKey(definition), definition]));
|
|
468
|
+
return { select: (query) => byQuery.get(queryKey(query)) };
|
|
469
|
+
}
|
|
470
|
+
//#endregion
|
|
471
|
+
//#region src/internal/forms/resolveForm.ts
|
|
472
|
+
const FORCE_SHOW = "forceShow";
|
|
473
|
+
const WHEN_PHONE_RISK = "whenPhoneRisk";
|
|
474
|
+
/**
|
|
475
|
+
* Resolves a definition against module configuration: which fields show,
|
|
476
|
+
* which are required, whether the phone is locked, and which group rules and
|
|
477
|
+
* collections apply. Pure and synchronous, so it runs inside an assign action.
|
|
478
|
+
*
|
|
479
|
+
* Call `checkSupport` first for any definition that wasn't bundled with this
|
|
480
|
+
* build; `resolveForm` ignores ids it doesn't know.
|
|
481
|
+
*/
|
|
482
|
+
function resolveForm(definition, context) {
|
|
483
|
+
const forcedGroups = new Set((definition.groups ?? []).filter((policy) => policy.whenDisabled === FORCE_SHOW).map((policy) => policy.group));
|
|
484
|
+
const isOn = (group) => context.groups[group] === true;
|
|
485
|
+
const isShown = (group) => isOn(group) || forcedGroups.has(group);
|
|
486
|
+
const riskAddons = new Set(context.riskAddons ?? []);
|
|
487
|
+
const shownFields = definition.fields.filter((field) => isShown(field.group));
|
|
488
|
+
const shownNames = new Set(shownFields.map((field) => field.name));
|
|
489
|
+
const fields = shownFields.map((field) => {
|
|
490
|
+
const conditions = field.requiredWhen ?? [];
|
|
491
|
+
const addonRequired = conditions.some((condition) => condition.riskAddon !== void 0 && riskAddons.has(condition.riskAddon));
|
|
492
|
+
const requiredIfFilled = conditions.map((condition) => condition.fieldFilled).filter((name) => name !== void 0 && shownNames.has(name));
|
|
493
|
+
const lock = field.phone?.lockCountry;
|
|
494
|
+
return {
|
|
495
|
+
field,
|
|
496
|
+
required: field.required === true || addonRequired,
|
|
497
|
+
requiredIfFilled,
|
|
498
|
+
forced: !isOn(field.group),
|
|
499
|
+
phoneLocked: field.kind === "phone" && (lock === true || lock === WHEN_PHONE_RISK && context.phoneRisk === true)
|
|
500
|
+
};
|
|
501
|
+
});
|
|
502
|
+
const order = shownFields.map((field) => field.name);
|
|
503
|
+
return {
|
|
504
|
+
definition,
|
|
505
|
+
fields,
|
|
506
|
+
groupRules: (definition.groupRules ?? []).map((rule) => ({
|
|
507
|
+
rule,
|
|
508
|
+
fields: order.filter((name) => rule.fields.includes(name))
|
|
509
|
+
})).filter((resolved) => resolved.fields.length > 0),
|
|
510
|
+
collections: (definition.collections ?? []).filter((collection) => isShown(collection.group)).map((collection) => ({
|
|
511
|
+
collection,
|
|
512
|
+
min: collection.min ?? 0,
|
|
513
|
+
max: collection.max
|
|
514
|
+
}))
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
//#endregion
|
|
379
518
|
//#region src/shared/addressSearch.ts
|
|
380
519
|
/** Searches for address suggestions via the address autocomplete API. */
|
|
381
520
|
async function searchAddress(query, signal) {
|
|
@@ -422,4 +561,4 @@ const debounceSearchActor = fromCallback(({ input, sendBack }) => {
|
|
|
422
561
|
};
|
|
423
562
|
});
|
|
424
563
|
//#endregion
|
|
425
|
-
export {
|
|
564
|
+
export { FIXED_DIGIT_POSTAL_CODE_LENGTH as a, getPostalCodeMaxLength as c, STREET_LEVEL_REQUIRED_ERROR as d, fillFromSuggestion as f, checkSupport as i, validatePostalCode as l, usStateOptions as m, resolveForm as n, formatPostalCode as o, getStreetLevelErrorForSuggestion as p, createBundledDefinitionSource as r, getPostalCodeErrorKey as s, debounceSearchActor as t, DYNAMIC_REQUIRED_KEY as u };
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-D5ASPfXx.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BrSLn5k4.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-OPLjz30C.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-Ce8gg8M1.esm.js → authenticationManager-OPLjz30C.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-CAgFE-k3.esm.js";
|
|
3
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
3
|
+
import { u as BrowserStorageProvider } from "./setup-BMjqbx2r.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CI-zbwD2.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BrSLn5k4.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BTdSLQop.esm.js";
|
|
4
|
+
import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-CGaOWgpH.esm.js";
|
|
5
5
|
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-kdlhkmmY.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-Ca8FHlC4.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -77,14 +77,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
77
77
|
type: "setError";
|
|
78
78
|
params: NonReducibleUnknown;
|
|
79
79
|
};
|
|
80
|
-
clearError: {
|
|
81
|
-
type: "clearError";
|
|
82
|
-
params: NonReducibleUnknown;
|
|
83
|
-
};
|
|
84
|
-
resetContext: {
|
|
85
|
-
type: "resetContext";
|
|
86
|
-
params: NonReducibleUnknown;
|
|
87
|
-
};
|
|
88
80
|
setConsentData: {
|
|
89
81
|
type: "setConsentData";
|
|
90
82
|
params: NonReducibleUnknown;
|
|
@@ -93,6 +85,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
93
85
|
type: "toggleCheckbox";
|
|
94
86
|
params: NonReducibleUnknown;
|
|
95
87
|
};
|
|
88
|
+
clearError: {
|
|
89
|
+
type: "clearError";
|
|
90
|
+
params: NonReducibleUnknown;
|
|
91
|
+
};
|
|
92
|
+
resetContext: {
|
|
93
|
+
type: "resetContext";
|
|
94
|
+
params: NonReducibleUnknown;
|
|
95
|
+
};
|
|
96
96
|
}>, {
|
|
97
97
|
type: "canSubmit";
|
|
98
98
|
params: unknown;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
1
|
+
import { l as trueSightLog } from "./trueSightService-CBqPJefE.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
|
|
3
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
4
|
-
import { _ as IpifyProvider, b as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify } from "./sessionInitializer-
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-jeOdpWgw.esm.js";
|
|
4
|
+
import { _ as IpifyProvider, b as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify } from "./sessionInitializer-BzmvJf8C.esm.js";
|
|
5
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BXCGqP48.esm.js";
|
|
6
6
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-DYxh8TjR.esm.js";
|
|
7
|
-
import { t as createDeepsightService } from "./deepsightService-
|
|
7
|
+
import { t as createDeepsightService } from "./deepsightService-DAQH8yWh.esm.js";
|
|
8
8
|
//#region ../infra/src/providers/browser/VisibilityProvider.ts
|
|
9
9
|
var VisibilityProvider = class {
|
|
10
10
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { h as isBrowserSimulation, v as getThumbmarkId, x as fingerprintSignalsReporter } from "./sessionInitializer-
|
|
2
|
+
import { h as isBrowserSimulation, v as getThumbmarkId, x as fingerprintSignalsReporter } from "./sessionInitializer-BzmvJf8C.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
|
|
4
4
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
5
5
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
2
|
-
import { t as createDynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Ip5JPpPp.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-BZau4kO3.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Ip5JPpPp.esm.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
6
6
|
function createDynamicFormsActor(options) {
|
|
7
7
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-CzZ4pf-a.esm.js → dynamicFormsStateMachine-Ip5JPpPp.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
3
|
-
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-
|
|
3
|
+
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-BZgVpBAc.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
6
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-BwSU4M_m.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-Y0tD0ML2.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-D_pS2k8G.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CAgFE-k3.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-Y0tD0ML2.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|