@incodetech/core 0.0.0-dev-20260914-4a2a8f27 → 0.0.0-dev-20260914-e56ce14a
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/{BrowserDiagnosticsCryptoProvider-bZJRZGWG.esm.js → BrowserDiagnosticsCryptoProvider-QEfW4CMV.esm.js} +1 -1
- package/dist/{FaceDetectionProvider-Da9ULsTd.esm.js → FaceDetectionProvider-BD3zvnei.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-ZJ9Ib6_Z.esm.js → apiError--EXEza2H.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-D6mm4Pb3.esm.js → authenticationManager-74fEUEd9.esm.js} +3 -3
- package/dist/{authenticationStateMachine-BANH_WXE.esm.js → authenticationStateMachine-DdWbed_7.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-uhDPdU6i.d.ts} +4 -4
- package/dist/{deepsightLoader-bRV1TUO_.esm.js → deepsightLoader-Dx7dba9o.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/{documentCaptureManager-DensIj5F.d.ts → documentCaptureManager-DD0qtFdE.d.ts} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-C-y0rU5U.esm.js → dynamicFormsManager-06-kEAw5.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-DUTKRRtY.esm.js → dynamicFormsStateMachine-DA6KFFXF.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-COQNEjKm.esm.js → ekybManager-BrJA-R6z.esm.js} +1 -1
- package/dist/{ekybStateMachine-vyXtY8z2.esm.js → ekybStateMachine-R1e0h9ad.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DUu7jPTR.esm.js → electronicSignatureManager-8espPS7K.esm.js} +1 -1
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +10 -10
- package/dist/{faceCaptureManagerFactory-BcsjCwnG.esm.js → faceCaptureManagerFactory-DuLFqL2Z.esm.js} +1 -1
- package/dist/{faceCaptureSetup-DDelN7n6.esm.js → faceCaptureSetup-CfTUCIUt.esm.js} +3 -3
- package/dist/{feature-management-DkCFD-MO.esm.js → feature-management-DnhTmqlW.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-CTxPFSxW.esm.js → flowCompletionService-BcXefdE-.esm.js} +1 -1
- package/dist/{flowServices-DBYzS5gu.esm.js → flowServices-C9ZUPED-.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-UxfwYzbf.esm.js → geolocationManager-BF0td98B.esm.js} +1 -1
- package/dist/{geolocationStateMachine-CmrUX07V.esm.js → geolocationStateMachine-Ch189Ce6.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +7 -7
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-4GVzi70D.esm.js → idCaptureDefaults-DOgVQKC_.esm.js} +1 -1
- package/dist/{idCaptureManager-BEcAqH1e.esm.js → idCaptureManager-D8iqvPZA.esm.js} +3 -3
- package/dist/{idCaptureServices-DFgxADFD.esm.js → idCaptureServices-BHpGFr0S.esm.js} +3 -3
- package/dist/{idCaptureStateMachine-D3dAPZwa.esm.js → idCaptureStateMachine-DFnQkmrh.esm.js} +138 -33
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-BFDI7iFK.d.ts → identityReuseManager-v2TH5g7e.d.ts} +4 -4
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-CZwhsUlO.d.ts → mandatoryConsentManager-DHiNShoL.d.ts} +4 -4
- package/dist/personhood.esm.js +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-fbcUmqTA.esm.js → runChildModule-BIzVnwtR.esm.js} +1 -1
- package/dist/{sdkVersion-BM5zRz5I.esm.js → sdkVersion-BYWrh5Sm.esm.js} +1 -1
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieManager-C4uskEeS.esm.js → selfieManager-D0FkWpe-.esm.js} +3 -3
- package/dist/{selfieStateMachine-qnlKvxDY.esm.js → selfieStateMachine-B_hrRIgL.esm.js} +2 -2
- package/dist/{session-DaAoVcnZ.esm.js → session-CRt_05iK.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-D7_2gFvY.esm.js → sessionInitializer-Dunz-NDi.esm.js} +3 -3
- package/dist/{setup-loyMGWCj.esm.js → setup-DiDWtGSY.esm.js} +4 -4
- package/dist/{trueSightService-BecD6rA8.esm.js → trueSightService-Kp5zCFNW.esm.js} +2 -2
- package/dist/video-selfie.esm.js +4 -4
- package/dist/{videoSelfieCameraWarmer-Bg0Xg8Jn.esm.js → videoSelfieCameraWarmer-DwOuqlka.esm.js} +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +4 -4
- package/dist/workflow.esm.js +14 -14
- package/package.json +1 -1
package/dist/{idCaptureStateMachine-D3dAPZwa.esm.js → idCaptureStateMachine-DFnQkmrh.esm.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-DiDWtGSY.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-1O9k0ulP.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
4
|
+
import { s as exposeExperimentOnce } from "./feature-management-DnhTmqlW.esm.js";
|
|
5
5
|
import { n as revokeObjectURL, t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
6
6
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
7
|
-
import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
7
|
+
import { c as trueSightHintTransition, l as trueSightLog, m as isTrueSightTesting, r as noteTrueSightCaptureActivity } from "./trueSightService-Kp5zCFNW.esm.js";
|
|
8
8
|
import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-ijlbX_Wx.esm.js";
|
|
9
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
9
|
+
import { t as getDisableIpify } from "./sessionInitializer-Dunz-NDi.esm.js";
|
|
10
10
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
11
11
|
import { t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
|
|
12
12
|
import { a as isIOS, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-DkcRc9JV.esm.js";
|
|
13
|
-
import "./session-
|
|
13
|
+
import "./session-CRt_05iK.esm.js";
|
|
14
14
|
import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
15
15
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
16
16
|
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-D6phjq1-.esm.js";
|
|
@@ -24,8 +24,8 @@ import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
|
24
24
|
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
25
25
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
26
26
|
import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-WOloJ-do.esm.js";
|
|
27
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-
|
|
28
|
-
import { S as getIdCameraStream, _ as ID_ERROR_CODES, a as getRealQualityValue, b as CAPTURE_OPTIMIZING, d as startRecordingSession, f as stopRecording, g as validateUploadResponse, h as uploadManualIdFile, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as uploadIdImage, o as initializeIdCapture, p as stopStream, r as disposeRecordingSession, t as addBarcode, u as processId, x as OPTIMIZING_WATCHDOG_MARGIN_MS, y as resolveIdCaptureThresholds } from "./idCaptureServices-
|
|
27
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-DOgVQKC_.esm.js";
|
|
28
|
+
import { S as getIdCameraStream, _ as ID_ERROR_CODES, a as getRealQualityValue, b as CAPTURE_OPTIMIZING, d as startRecordingSession, f as stopRecording, g as validateUploadResponse, h as uploadManualIdFile, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as uploadIdImage, o as initializeIdCapture, p as stopStream, r as disposeRecordingSession, t as addBarcode, u as processId, x as OPTIMIZING_WATCHDOG_MARGIN_MS, y as resolveIdCaptureThresholds } from "./idCaptureServices-BHpGFr0S.esm.js";
|
|
29
29
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
30
30
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
31
31
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1781,7 +1781,7 @@ fromPromise(async ({ input }) => {
|
|
|
1781
1781
|
});
|
|
1782
1782
|
fromPromise(async ({ input }) => {
|
|
1783
1783
|
if (!input.dependencies) return;
|
|
1784
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1784
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-Dx7dba9o.esm.js");
|
|
1785
1785
|
return loadDeepsightSession({
|
|
1786
1786
|
ds: input.ds,
|
|
1787
1787
|
storage: input.dependencies.storage,
|
|
@@ -2224,7 +2224,7 @@ function cleanup(service) {
|
|
|
2224
2224
|
service.cleanup();
|
|
2225
2225
|
} catch {}
|
|
2226
2226
|
}
|
|
2227
|
-
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-
|
|
2227
|
+
function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-Dx7dba9o.esm.js")).loadDeepsightSession(input)) {
|
|
2228
2228
|
let disposed = false;
|
|
2229
2229
|
let preparation;
|
|
2230
2230
|
let service;
|
|
@@ -3124,6 +3124,75 @@ function getProtectedIdUploadRequest(context, sessionToken = getToken()) {
|
|
|
3124
3124
|
} : { target };
|
|
3125
3125
|
}
|
|
3126
3126
|
//#endregion
|
|
3127
|
+
//#region src/modules/digital-id-redirect/pollCadence.ts
|
|
3128
|
+
/**
|
|
3129
|
+
* Cadence used when the response carries no usable `Retry-After` — a
|
|
3130
|
+
* non-terminal `CREATED` (the backend only sets the header on `IN_PROGRESS`),
|
|
3131
|
+
* a transient poll failure, or a header the browser cannot read because the
|
|
3132
|
+
* cross-origin response does not expose it.
|
|
3133
|
+
*/
|
|
3134
|
+
const DEFAULT_POLL_INTERVAL_MS = 1500;
|
|
3135
|
+
/** The slower cadence the contract asks for past `POLL_BACKOFF_AFTER_MS`. */
|
|
3136
|
+
const BACKOFF_POLL_INTERVAL_MS = 5e3;
|
|
3137
|
+
/**
|
|
3138
|
+
* Sanity bound on a server-sent `Retry-After`, mirroring the same cap in
|
|
3139
|
+
* `videoSelfieChunkUploader` — the only other place the SDK honours the header.
|
|
3140
|
+
*/
|
|
3141
|
+
const RETRY_AFTER_CAP_MS = 3e4;
|
|
3142
|
+
/**
|
|
3143
|
+
* Client-side ceiling on a single polling run. Deliberately far beyond both the
|
|
3144
|
+
* back-off point and any realistic bank round-trip: reaching it means something
|
|
3145
|
+
* is wrong on our side, not that the user's verification expired, so the
|
|
3146
|
+
* machine routes it to the recoverable `error` state and NOT to a
|
|
3147
|
+
* `SESSION_EXPIRED` failure. The verification itself may still complete and
|
|
3148
|
+
* land through the backend callback.
|
|
3149
|
+
*/
|
|
3150
|
+
const MAX_POLL_DURATION_MS = 10 * 6e4;
|
|
3151
|
+
const TERMINAL_STATUSES = /* @__PURE__ */ new Set([
|
|
3152
|
+
"COMPLETED",
|
|
3153
|
+
"FAILED",
|
|
3154
|
+
"EXPIRED",
|
|
3155
|
+
"CANCELLED"
|
|
3156
|
+
]);
|
|
3157
|
+
/** A terminal status is what stops the poll loop — never an attempt counter. */
|
|
3158
|
+
function isTerminal(status) {
|
|
3159
|
+
return TERMINAL_STATUSES.has(status);
|
|
3160
|
+
}
|
|
3161
|
+
/**
|
|
3162
|
+
* Reads `Retry-After` (seconds) off a status response. Returns `null` when the
|
|
3163
|
+
* header is absent, unreadable, or not a usable positive number of seconds —
|
|
3164
|
+
* callers fall back to `DEFAULT_POLL_INTERVAL_MS`.
|
|
3165
|
+
*
|
|
3166
|
+
* Only the delta-seconds form is honoured (what the backend sends); the RFC
|
|
3167
|
+
* 9110 HTTP-date form falls back rather than being mis-parsed as `NaN`. A
|
|
3168
|
+
* literal `0` also falls back — polling as fast as the network allows is never
|
|
3169
|
+
* what the contract means.
|
|
3170
|
+
*
|
|
3171
|
+
* NOTE (cross-origin): `Retry-After` is not a CORS-safelisted response header.
|
|
3172
|
+
* A browser only surfaces it when the response also carries
|
|
3173
|
+
* `Access-Control-Expose-Headers: Retry-After`. Absence therefore degrades to
|
|
3174
|
+
* the fallback cadence instead of breaking the loop.
|
|
3175
|
+
*/
|
|
3176
|
+
function parseRetryAfterMs(headers) {
|
|
3177
|
+
const raw = headers?.["retry-after"];
|
|
3178
|
+
if (raw === void 0) return null;
|
|
3179
|
+
const seconds = Number(raw);
|
|
3180
|
+
if (!Number.isFinite(seconds) || seconds <= 0) return null;
|
|
3181
|
+
return Math.min(seconds * 1e3, RETRY_AFTER_CAP_MS);
|
|
3182
|
+
}
|
|
3183
|
+
/**
|
|
3184
|
+
* The delay before the next poll.
|
|
3185
|
+
*
|
|
3186
|
+
* `retryAfterMs` is the server's ask (or `null` when it did not ask); once
|
|
3187
|
+
* `elapsedMs` passes `POLL_BACKOFF_AFTER_MS` the documented 5 s back-off
|
|
3188
|
+
* applies as a floor — the server's value is still honoured when it is the
|
|
3189
|
+
* slower of the two, so a backend that asks for more than 5 s always wins.
|
|
3190
|
+
*/
|
|
3191
|
+
function nextPollDelayMs(retryAfterMs, elapsedMs) {
|
|
3192
|
+
const base = retryAfterMs ?? 1500;
|
|
3193
|
+
return elapsedMs >= 3e4 ? Math.max(base, BACKOFF_POLL_INTERVAL_MS) : base;
|
|
3194
|
+
}
|
|
3195
|
+
//#endregion
|
|
3127
3196
|
//#region src/modules/digital-id-redirect/digitalIdRedirectServices.ts
|
|
3128
3197
|
function withQuery(path, params) {
|
|
3129
3198
|
if (!params) return path;
|
|
@@ -3193,12 +3262,22 @@ async function submitWalletResponse(verificationId, params, signal) {
|
|
|
3193
3262
|
if (!res.ok) throw new Error(`POST ${url} failed: ${res.status} ${res.statusText}`);
|
|
3194
3263
|
return res.data;
|
|
3195
3264
|
}
|
|
3196
|
-
/**
|
|
3265
|
+
/**
|
|
3266
|
+
* Poll fallback — used when the user does not return or results are delayed.
|
|
3267
|
+
*
|
|
3268
|
+
* Returns the cadence alongside the verification: the backend sets
|
|
3269
|
+
* `Retry-After` while the status is `IN_PROGRESS` and the caller is expected to
|
|
3270
|
+
* pace itself by it (see `pollCadence`). Dropping the header here is what made
|
|
3271
|
+
* the SDK poll on a fixed interval and give up early.
|
|
3272
|
+
*/
|
|
3197
3273
|
async function getVerificationStatus(verificationId, signal) {
|
|
3198
3274
|
const url = `${endpoints.digitalIdVerifications}/${verificationId}/status`;
|
|
3199
3275
|
const res = await api.get(url, { signal });
|
|
3200
3276
|
if (!res.ok) throw new Error(`GET ${url} failed: ${res.status} ${res.statusText}`);
|
|
3201
|
-
return
|
|
3277
|
+
return {
|
|
3278
|
+
verification: res.data,
|
|
3279
|
+
retryAfterMs: parseRetryAfterMs(res.headers)
|
|
3280
|
+
};
|
|
3202
3281
|
}
|
|
3203
3282
|
/**
|
|
3204
3283
|
* Refresh an expiring `launchUrl` (maps to `flowData.expiresAt`). Do NOT create
|
|
@@ -3244,17 +3323,13 @@ async function clearPendingRedirect(storage) {
|
|
|
3244
3323
|
}
|
|
3245
3324
|
//#endregion
|
|
3246
3325
|
//#region src/modules/digital-id-redirect/digitalIdRedirectStateMachine.ts
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
]);
|
|
3255
|
-
function isTerminal(status) {
|
|
3256
|
-
return TERMINAL_STATUSES.has(status);
|
|
3257
|
-
}
|
|
3326
|
+
/**
|
|
3327
|
+
* Diagnostic message when the client-side polling ceiling is hit. Routed to the
|
|
3328
|
+
* recoverable `error` state — NOT to a `SESSION_EXPIRED` failure. A client that
|
|
3329
|
+
* stopped polling is not an expired session, and the difference decides whether
|
|
3330
|
+
* the user is told to start over (which would bill a second provider session).
|
|
3331
|
+
*/
|
|
3332
|
+
const POLL_CEILING_ERROR = "Digital ID status polling exceeded the client ceiling; the verification may still complete via the backend callback.";
|
|
3258
3333
|
const digitalIdRedirectMachine = setup({
|
|
3259
3334
|
types: {
|
|
3260
3335
|
context: {},
|
|
@@ -3267,20 +3342,50 @@ const digitalIdRedirectMachine = setup({
|
|
|
3267
3342
|
createVerification: fromPromise(async ({ input, signal }) => createVerification(input, signal)),
|
|
3268
3343
|
submitWalletResponse: fromPromise(async ({ input, signal }) => submitWalletResponse(input.verificationId, input.params, signal)),
|
|
3269
3344
|
refreshVerification: fromPromise(async ({ input, signal }) => refreshVerification(input.verificationId, signal)),
|
|
3345
|
+
/**
|
|
3346
|
+
* Poll fallback: emits POLL_RESULT once the status turns terminal.
|
|
3347
|
+
*
|
|
3348
|
+
* Self-rescheduling `setTimeout` rather than a fixed `setInterval`, because
|
|
3349
|
+
* the cadence is the backend's to set — each response's `Retry-After` picks
|
|
3350
|
+
* the next delay (see `pollCadence`). Two things fall out of that shape:
|
|
3351
|
+
* the loop never overlaps requests the way an interval with an async
|
|
3352
|
+
* callback does, and it stops on a terminal status instead of running until
|
|
3353
|
+
* an attempt budget expires.
|
|
3354
|
+
*/
|
|
3270
3355
|
pollStatus: fromCallback(({ sendBack, input }) => {
|
|
3271
3356
|
const timer = BrowserTimerProvider.getInstance();
|
|
3272
|
-
const
|
|
3357
|
+
const startedAt = getTimestamp();
|
|
3358
|
+
let handle;
|
|
3359
|
+
let stopped = false;
|
|
3360
|
+
function schedule(delayMs) {
|
|
3361
|
+
if (stopped) return;
|
|
3362
|
+
handle = timer.setTimeout(() => void tick(), delayMs);
|
|
3363
|
+
}
|
|
3364
|
+
async function tick() {
|
|
3365
|
+
let retryAfterMs = null;
|
|
3273
3366
|
try {
|
|
3274
|
-
const
|
|
3275
|
-
if (
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3367
|
+
const poll = await getVerificationStatus(input.verificationId);
|
|
3368
|
+
if (stopped) return;
|
|
3369
|
+
if (isTerminal(poll.verification.status)) {
|
|
3370
|
+
stopped = true;
|
|
3371
|
+
sendBack({
|
|
3372
|
+
type: "POLL_RESULT",
|
|
3373
|
+
verification: poll.verification
|
|
3374
|
+
});
|
|
3375
|
+
return;
|
|
3376
|
+
}
|
|
3377
|
+
retryAfterMs = poll.retryAfterMs;
|
|
3279
3378
|
} catch (error) {
|
|
3379
|
+
if (stopped) return;
|
|
3280
3380
|
console.warn("[DigitalIdRedirect] status poll failed:", error);
|
|
3281
3381
|
}
|
|
3282
|
-
|
|
3283
|
-
|
|
3382
|
+
schedule(nextPollDelayMs(retryAfterMs, getTimestamp() - startedAt));
|
|
3383
|
+
}
|
|
3384
|
+
schedule(DEFAULT_POLL_INTERVAL_MS);
|
|
3385
|
+
return () => {
|
|
3386
|
+
stopped = true;
|
|
3387
|
+
if (handle !== void 0) timer.clearTimeout(handle);
|
|
3388
|
+
};
|
|
3284
3389
|
}),
|
|
3285
3390
|
persistPending: fromPromise(async ({ input }) => {
|
|
3286
3391
|
await persistPendingRedirect(input.storage, {
|
|
@@ -3472,9 +3577,9 @@ const digitalIdRedirectMachine = setup({
|
|
|
3472
3577
|
target: "failed",
|
|
3473
3578
|
actions: "setVerificationFromEvent"
|
|
3474
3579
|
}] },
|
|
3475
|
-
after: { [
|
|
3476
|
-
target: "
|
|
3477
|
-
actions: assign({
|
|
3580
|
+
after: { [MAX_POLL_DURATION_MS]: {
|
|
3581
|
+
target: "error",
|
|
3582
|
+
actions: assign({ error: () => POLL_CEILING_ERROR })
|
|
3478
3583
|
} }
|
|
3479
3584
|
},
|
|
3480
3585
|
succeeded: { on: { CONTINUE: { target: "finished" } } },
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-
|
|
1
|
+
import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-v2TH5g7e.js";
|
|
2
2
|
export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -108,14 +108,14 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
|
|
|
108
108
|
type: "setError";
|
|
109
109
|
params: NonReducibleUnknown;
|
|
110
110
|
};
|
|
111
|
-
setSelectedDocument: {
|
|
112
|
-
type: "setSelectedDocument";
|
|
113
|
-
params: NonReducibleUnknown;
|
|
114
|
-
};
|
|
115
111
|
clearError: {
|
|
116
112
|
type: "clearError";
|
|
117
113
|
params: NonReducibleUnknown;
|
|
118
114
|
};
|
|
115
|
+
setSelectedDocument: {
|
|
116
|
+
type: "setSelectedDocument";
|
|
117
|
+
params: NonReducibleUnknown;
|
|
118
|
+
};
|
|
119
119
|
}>, Values<{
|
|
120
120
|
hasDocuments: {
|
|
121
121
|
type: "hasDocuments";
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, r as isConfigured, s as setup } from "./setup-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-DiDWtGSY.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-BzuUebkB.js";
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-DHiNShoL.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-CZwhsUlO.d.ts → mandatoryConsentManager-DHiNShoL.d.ts}
RENAMED
|
@@ -53,6 +53,10 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
53
53
|
type: "setConsent";
|
|
54
54
|
params: NonReducibleUnknown;
|
|
55
55
|
};
|
|
56
|
+
toggleSigned: {
|
|
57
|
+
type: "toggleSigned";
|
|
58
|
+
params: NonReducibleUnknown;
|
|
59
|
+
};
|
|
56
60
|
setError: {
|
|
57
61
|
type: "setError";
|
|
58
62
|
params: NonReducibleUnknown;
|
|
@@ -65,10 +69,6 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
65
69
|
type: "resetContext";
|
|
66
70
|
params: NonReducibleUnknown;
|
|
67
71
|
};
|
|
68
|
-
toggleSigned: {
|
|
69
|
-
type: "toggleSigned";
|
|
70
|
-
params: NonReducibleUnknown;
|
|
71
|
-
};
|
|
72
72
|
}>, {
|
|
73
73
|
type: "canSubmit";
|
|
74
74
|
params: unknown;
|
package/dist/personhood.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-DiDWtGSY.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-1O9k0ulP.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
5
|
-
import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-
|
|
5
|
+
import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-Kp5zCFNW.esm.js";
|
|
6
6
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
7
|
-
import { b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, v as getThumbmarkId, y as getDeviceFingerprintInfo } from "./sessionInitializer-
|
|
7
|
+
import { b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, v as getThumbmarkId, y as getDeviceFingerprintInfo } from "./sessionInitializer-Dunz-NDi.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
9
9
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
10
10
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
11
11
|
import { i as requestCameraAccess, o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
|
|
12
12
|
import { i as requestPermission, t as checkPermission } from "./permissionServices-7lzEiOsO.esm.js";
|
|
13
|
-
import { i as initializeDeepsightSession, l as stopStream, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
13
|
+
import { i as initializeDeepsightSession, l as stopStream, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-BD3zvnei.esm.js";
|
|
14
14
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
15
15
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
16
16
|
//#region src/modules/personhood/personhoodServices.ts
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-8espPS7K.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
2
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
2
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-Kp5zCFNW.esm.js";
|
|
3
3
|
import { C as createEventBus } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-DiDWtGSY.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-1O9k0ulP.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CfTUCIUt.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DuLFqL2Z.esm.js";
|
|
8
8
|
import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-DQ5-F2oW.esm.js";
|
|
9
9
|
import { r as processFace } from "./selfieErrorUtils-C77GXJH6.esm.js";
|
|
10
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
11
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
10
|
+
import { t as selfieMachine } from "./selfieStateMachine-B_hrRIgL.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-D0FkWpe-.esm.js";
|
|
12
12
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
|
|
13
13
|
/**
|
|
14
14
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { l as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { l as BrowserStorageProvider } from "./setup-DiDWtGSY.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-1O9k0ulP.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DuLFqL2Z.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-B_hrRIgL.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, r as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { u as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, r as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-CfTUCIUt.esm.js";
|
|
4
|
+
import { u as isOnDeviceMode } from "./FaceDetectionProvider-BD3zvnei.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-DQ5-F2oW.esm.js";
|
|
7
7
|
import { i as uploadManualSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-C77GXJH6.esm.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as getApi } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-
|
|
3
|
-
import "./sessionInitializer-
|
|
2
|
+
import { g as noteSessionCreated, l as trueSightLog } from "./trueSightService-Kp5zCFNW.esm.js";
|
|
3
|
+
import "./sessionInitializer-Dunz-NDi.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
5
|
-
import { i as toIncodeApiError } from "./apiError
|
|
5
|
+
import { i as toIncodeApiError } from "./apiError--EXEza2H.esm.js";
|
|
6
6
|
//#region src/internal/session/sessionService.ts
|
|
7
7
|
/**
|
|
8
8
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
package/dist/session.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-
|
|
2
|
-
import { t as IncodeApiError } from "./apiError
|
|
3
|
-
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
4
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
1
|
+
import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-Dunz-NDi.esm.js";
|
|
2
|
+
import { t as IncodeApiError } from "./apiError--EXEza2H.esm.js";
|
|
3
|
+
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-CRt_05iK.esm.js";
|
|
4
|
+
import { n as getFinishStatus } from "./flowCompletionService-BcXefdE-.esm.js";
|
|
5
5
|
export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid, whenSessionFingerprintSettled };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser } from "./feature-management-DnhTmqlW.esm.js";
|
|
2
2
|
import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { d as fetchFeatureConfig, f as isFeatureEnabled, h as noteEnvironment, l as trueSightLog, p as resetFeatureConfigCache, s as startTrueSightCollection, v as noteTokenActivated } from "./trueSightService-
|
|
3
|
+
import { d as fetchFeatureConfig, f as isFeatureEnabled, h as noteEnvironment, l as trueSightLog, p as resetFeatureConfigCache, s as startTrueSightCollection, v as noteTokenActivated } from "./trueSightService-Kp5zCFNW.esm.js";
|
|
4
4
|
import { v as addEvent, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-BYWrh5Sm.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
7
7
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-DkK-f8JT.esm.js";
|
|
8
8
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
|
|
@@ -2,16 +2,16 @@ import { f as deriveSiblingJsPath, p as WASM_MODEL_FILES, v as buildModelVariant
|
|
|
2
2
|
import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-CUUnwYxe.esm.js";
|
|
3
3
|
import { r as WasmUtilProvider, t as resolveLocalStorage } from "./safeStorage-1O9k0ulP.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
|
-
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-
|
|
5
|
+
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-DnhTmqlW.esm.js";
|
|
6
6
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
7
7
|
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
8
|
-
import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, _ as noteTestingSignals, b as getStoredHttpConfig, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-
|
|
8
|
+
import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, _ as noteTestingSignals, b as getStoredHttpConfig, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-Kp5zCFNW.esm.js";
|
|
9
9
|
import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
|
|
10
|
-
import { a as resetSessionInit, b as BrowserEnvironmentProvider, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp } from "./sessionInitializer-
|
|
10
|
+
import { a as resetSessionInit, b as BrowserEnvironmentProvider, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp } from "./sessionInitializer-Dunz-NDi.esm.js";
|
|
11
11
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
12
12
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
|
|
13
13
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
|
|
14
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
14
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-C9ZUPED-.esm.js";
|
|
15
15
|
//#region ../infra/src/wasm/wasmDefaults.ts
|
|
16
16
|
const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
|
|
17
17
|
/** The WASM version bundled and tested with this SDK release. */
|
|
@@ -2,7 +2,7 @@ import { a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWa
|
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
4
|
import { S as subscribeEvent, n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-BYWrh5Sm.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
7
7
|
//#region ../infra/src/http/createApi.ts
|
|
8
8
|
var FetchHttpError = class extends Error {
|
|
@@ -1320,7 +1320,7 @@ let cryptoProviderPromise = null;
|
|
|
1320
1320
|
* the service's prewarm).
|
|
1321
1321
|
*/
|
|
1322
1322
|
function loadDiagnosticsCryptoProvider() {
|
|
1323
|
-
cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-
|
|
1323
|
+
cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-QEfW4CMV.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
|
|
1324
1324
|
return cryptoProviderPromise;
|
|
1325
1325
|
}
|
|
1326
1326
|
/**
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-DiDWtGSY.esm.js";
|
|
2
2
|
import { r as WasmUtilProvider } from "./safeStorage-1O9k0ulP.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
6
|
-
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-
|
|
6
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-C9ZUPED-.esm.js";
|
|
7
7
|
import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
10
|
import { t as MultipartRecordingService } from "./multipartRecordingService-B3C_zlev.esm.js";
|
|
11
|
-
import { i as CameraCompositor } from "./idCaptureDefaults-
|
|
11
|
+
import { i as CameraCompositor } from "./idCaptureDefaults-DOgVQKC_.esm.js";
|
|
12
12
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CpF2cBy6.esm.js";
|
|
13
|
-
import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
13
|
+
import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-DwOuqlka.esm.js";
|
|
14
14
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
|
|
15
15
|
//#region src/modules/video-selfie/videoSelfieWasm.ts
|
|
16
16
|
function warmupVideoSelfieWasm(config, steps = resolveVideoSelfieSteps(config)) {
|
package/dist/{videoSelfieCameraWarmer-Bg0Xg8Jn.esm.js → videoSelfieCameraWarmer-DwOuqlka.esm.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
4
|
-
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-
|
|
4
|
+
import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-C9ZUPED-.esm.js";
|
|
5
5
|
import { a as requestCameraWithFallback, i as requestCameraAccess } from "./camera-sIa9ceW2.esm.js";
|
|
6
6
|
import { t as checkPermission } from "./permissionServices-7lzEiOsO.esm.js";
|
|
7
|
-
import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
7
|
+
import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-BD3zvnei.esm.js";
|
|
8
8
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
9
9
|
import { a as StreamCanvasProcessingSession } from "./recordingsRepository-CCWy13M-.esm.js";
|
|
10
10
|
import { n as getBackCameraStream } from "./backCameraStream-BOtyQowf.esm.js";
|
|
11
11
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
12
12
|
import { a as uploadSelfie, r as processFace, t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-C77GXJH6.esm.js";
|
|
13
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
13
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DOgVQKC_.esm.js";
|
|
14
14
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
15
15
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
16
16
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as WASM_PIPELINE_MODEL_NAMES, m as WASM_PIPELINE_LAZY_MODEL_NAMES, p as WASM_MODEL_FILES } from "./wasmWebClient-B7baE-Wf.esm.js";
|
|
2
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, d as buildDefaultWasmConfig, f as buildWasmConfigFromBasePath, m as resolveWasmConfig, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines, u as DEFAULT_WASM_VERSION } from "./setup-
|
|
2
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, d as buildDefaultWasmConfig, f as buildWasmConfigFromBasePath, m as resolveWasmConfig, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines, u as DEFAULT_WASM_VERSION } from "./setup-DiDWtGSY.esm.js";
|
|
3
3
|
import { o as warmupWasm } from "./warmup-CUUnwYxe.esm.js";
|
|
4
4
|
//#region src/defineWasm.ts
|
|
5
5
|
function requiredModels(pipelines) {
|
package/dist/workflow.d.ts
CHANGED
|
@@ -334,6 +334,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
334
334
|
id: string | undefined;
|
|
335
335
|
};
|
|
336
336
|
}>, Values<{
|
|
337
|
+
setError: {
|
|
338
|
+
type: "setError";
|
|
339
|
+
params: NonReducibleUnknown;
|
|
340
|
+
};
|
|
337
341
|
setLoadingResult: {
|
|
338
342
|
type: "setLoadingResult";
|
|
339
343
|
params: NonReducibleUnknown;
|
|
@@ -366,10 +370,6 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
366
370
|
type: "setFinishStatusFailed";
|
|
367
371
|
params: NonReducibleUnknown;
|
|
368
372
|
};
|
|
369
|
-
setError: {
|
|
370
|
-
type: "setError";
|
|
371
|
-
params: NonReducibleUnknown;
|
|
372
|
-
};
|
|
373
373
|
setModuleError: {
|
|
374
374
|
type: "setModuleError";
|
|
375
375
|
params: NonReducibleUnknown;
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser } from "./feature-management-DnhTmqlW.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
3
|
+
import { l as trueSightLog } from "./trueSightService-Kp5zCFNW.esm.js";
|
|
4
4
|
import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-ijlbX_Wx.esm.js";
|
|
5
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Dunz-NDi.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
|
|
7
|
-
import { i as toIncodeApiError } from "./apiError
|
|
8
|
-
import { v as toEkybConfig } from "./flowServices-
|
|
7
|
+
import { i as toIncodeApiError } from "./apiError--EXEza2H.esm.js";
|
|
8
|
+
import { v as toEkybConfig } from "./flowServices-C9ZUPED-.esm.js";
|
|
9
9
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
10
10
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
11
11
|
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
12
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
12
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-8espPS7K.esm.js";
|
|
13
13
|
import "./ae-signature.esm.js";
|
|
14
14
|
import { t as antifraudMachine } from "./antifraudStateMachine-BHxehiJZ.esm.js";
|
|
15
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
15
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DdWbed_7.esm.js";
|
|
16
16
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-BBD5h8c4.esm.js";
|
|
17
17
|
import { t as consentMachine } from "./consentStateMachine-DbUmqWgV.esm.js";
|
|
18
18
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-DvUPC_8S.esm.js";
|
|
19
19
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-qZVgkKgP.esm.js";
|
|
20
20
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-F8SCOtL_.esm.js";
|
|
21
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
22
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
21
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DA6KFFXF.esm.js";
|
|
22
|
+
import { t as ekybMachine } from "./ekybStateMachine-R1e0h9ad.esm.js";
|
|
23
23
|
import { t as ekycMachine } from "./ekycStateMachine-CmdW2gVm.esm.js";
|
|
24
24
|
import { t as emailMachine } from "./emailStateMachine-CyPFZ7dW.esm.js";
|
|
25
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
26
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
25
|
+
import { t as selfieMachine } from "./selfieStateMachine-B_hrRIgL.esm.js";
|
|
26
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-DFnQkmrh.esm.js";
|
|
27
27
|
import { t as phoneMachine } from "./phoneStateMachine-jl8LJKCo.esm.js";
|
|
28
28
|
import { t as watchlistMachine } from "./watchlistStateMachine-DvOby3a-.esm.js";
|
|
29
29
|
import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-DEzgjz7C.esm.js";
|
|
@@ -32,12 +32,12 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DSD
|
|
|
32
32
|
import { t as idOcrStateMachine } from "./idOcrStateMachine-33UvRAHE.esm.js";
|
|
33
33
|
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-v3otpT-L.esm.js";
|
|
34
34
|
import { t as signatureMachine } from "./signatureStateMachine-BHPwkJZS.esm.js";
|
|
35
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
35
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-Ch189Ce6.esm.js";
|
|
36
36
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-D1ZnEqdd.esm.js";
|
|
37
37
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-BPGrQZEm.esm.js";
|
|
38
38
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-BUc5FXYy.esm.js";
|
|
39
|
-
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-
|
|
40
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
39
|
+
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-BcXefdE-.esm.js";
|
|
40
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BIzVnwtR.esm.js";
|
|
41
41
|
import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
|
|
42
42
|
import "./qe-signature.esm.js";
|
|
43
43
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
|