@incodetech/core 0.0.0-dev-20261014-e4db9c02 → 0.0.0-dev-20261014-a1943b25

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 (63) hide show
  1. package/dist/{FaceDetectionProvider-9IwB7jcM.esm.js → FaceDetectionProvider-DrlDHZ0I.esm.js} +5 -5
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-CFwIWUtz.esm.js → apiError-ClWM06Wx.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-DHrqI5Le.esm.js → authenticationManager-Ce8gg8M1.esm.js} +3 -3
  6. package/dist/{authenticationStateMachine-CDsC16Jn.esm.js → authenticationStateMachine-69FttSWv.esm.js} +2 -2
  7. package/dist/{deepsightLoader-CWjI76eb.esm.js → deepsightLoader-Bw0BksaL.esm.js} +4 -4
  8. package/dist/{deepsightService-Dq_9MGNi.esm.js → deepsightService-DCHgHzDV.esm.js} +1 -1
  9. package/dist/dynamic-forms.esm.js +2 -2
  10. package/dist/{dynamicFormsManager-CCzxliyj.esm.js → dynamicFormsManager-CGTNiygf.esm.js} +1 -1
  11. package/dist/{dynamicFormsStateMachine-DVbgcw96.esm.js → dynamicFormsStateMachine-CzZ4pf-a.esm.js} +1 -1
  12. package/dist/ekyb.esm.js +3 -3
  13. package/dist/{ekybManager-DtdNyCkV.esm.js → ekybManager-Cofp85Ea.esm.js} +1 -1
  14. package/dist/{ekybStateMachine-Cd0nGdXM.esm.js → ekybStateMachine-CldNruWj.esm.js} +1 -1
  15. package/dist/electronic-signature.esm.js +1 -1
  16. package/dist/{electronicSignatureManager-B_SHlY1L.esm.js → electronicSignatureManager-CncA4yy_.esm.js} +1 -1
  17. package/dist/extensibility.d.ts +4 -4
  18. package/dist/extensibility.esm.js +10 -10
  19. package/dist/{faceCaptureManagerFactory-1uGiHaoF.esm.js → faceCaptureManagerFactory-rcSS9V2q.esm.js} +1 -1
  20. package/dist/{faceCaptureSetup-BYnZ3A8a.esm.js → faceCaptureSetup-DU2MoZmG.esm.js} +3 -3
  21. package/dist/{feature-management-XxXkowCy.esm.js → feature-management-3G4P4u5J.esm.js} +1 -1
  22. package/dist/feature-management.esm.js +1 -1
  23. package/dist/flow.d.ts +1 -1
  24. package/dist/flow.esm.js +3 -3
  25. package/dist/{flowCompletionService-OHsAMzl8.esm.js → flowCompletionService-CsJJjH5-.esm.js} +1 -1
  26. package/dist/{flowServices-D3b4BP89.esm.js → flowServices-Db5G7nKF.esm.js} +4 -4
  27. package/dist/geolocation.esm.js +2 -2
  28. package/dist/{geolocationManager-DqI8ho5R.esm.js → geolocationManager-DgpOPxwl.esm.js} +1 -1
  29. package/dist/{geolocationStateMachine-Je2uPWor.esm.js → geolocationStateMachine-DsQdCfkO.esm.js} +1 -1
  30. package/dist/id-selfie-flow.esm.js +7 -7
  31. package/dist/id.d.ts +2 -2
  32. package/dist/id.esm.js +3 -3
  33. package/dist/{idCaptureDefaults-BjP8SevF.esm.js → idCaptureDefaults-BaodfDcH.esm.js} +1 -1
  34. package/dist/{idCaptureManager-DW3eER4t.d.ts → idCaptureManager-BY97SRCV.d.ts} +1 -1
  35. package/dist/{idCaptureManager-I5L_IVbR.esm.js → idCaptureManager-CrH9DTTF.esm.js} +3 -3
  36. package/dist/{idCaptureServices-t11U9Anc.esm.js → idCaptureServices-DEmpl0Jn.esm.js} +3 -3
  37. package/dist/{idCaptureStateMachine-Dv1tDMKs.esm.js → idCaptureStateMachine-tbtQvm5X.esm.js} +44 -21
  38. package/dist/identity-reuse.d.ts +1 -1
  39. package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-B1birg5X.d.ts} +4 -4
  40. package/dist/index.d.ts +1 -1
  41. package/dist/index.esm.js +1 -1
  42. package/dist/mandatory-consent.d.ts +1 -1
  43. package/dist/{mandatoryConsentManager-BkaLkcA2.d.ts → mandatoryConsentManager-DDixKrq0.d.ts} +4 -4
  44. package/dist/qe-signature.esm.js +1 -1
  45. package/dist/{runChildModule-9q7BQwPd.esm.js → runChildModule-BgMo7m72.esm.js} +1 -1
  46. package/dist/{sdkVersion-g8ehOQhP.esm.js → sdkVersion-Cmmqp1Zj.esm.js} +1 -1
  47. package/dist/selfie.esm.js +6 -6
  48. package/dist/{selfieErrorUtils-zRAt9WeG.esm.js → selfieErrorUtils-CZSHPDZb.esm.js} +1 -1
  49. package/dist/{selfieManager-BVcizHEI.esm.js → selfieManager-CAHWVyTs.esm.js} +3 -3
  50. package/dist/{selfieStateMachine-CBkLfNU3.esm.js → selfieStateMachine-D9Yk1g4P.esm.js} +3 -3
  51. package/dist/{session-XeaMJEO1.esm.js → session-BYjQEsDr.esm.js} +3 -3
  52. package/dist/session.esm.js +4 -4
  53. package/dist/{sessionInitializer-LBbZHbPK.esm.js → sessionInitializer-CLT-Gp5P.esm.js} +3 -3
  54. package/dist/{setup-CkMpP7pu.esm.js → setup-C3gUloNb.esm.js} +22 -5
  55. package/dist/{setup-oKDzNC62.d.ts → setup-lgkQ8dJW.d.ts} +11 -0
  56. package/dist/{trueSightService-DtuHbL0_.esm.js → trueSightService-Bii8ntyT.esm.js} +1 -1
  57. package/dist/{types-CwCWyBEi.d.ts → types-CyPUIpzf.d.ts} +19 -5
  58. package/dist/video-selfie.esm.js +3 -3
  59. package/dist/{videoSelfieCameraWarmer-pt56Pcfi.esm.js → videoSelfieCameraWarmer-CMouD1TC.esm.js} +4 -4
  60. package/dist/wasm.d.ts +1 -1
  61. package/dist/wasm.esm.js +2 -2
  62. package/dist/workflow.esm.js +14 -14
  63. package/package.json +3 -3
@@ -1,16 +1,16 @@
1
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity, v as isTrueSightTesting } from "./trueSightService-DtuHbL0_.esm.js";
1
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity, v as isTrueSightTesting } from "./trueSightService-Bii8ntyT.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
3
3
  import { n as revokeObjectURL, t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
4
4
  import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, v as addEvent } from "./events-CAgFE-k3.esm.js";
5
5
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
6
- import { l as BrowserStorageProvider } from "./setup-CkMpP7pu.esm.js";
6
+ import { l as isGoogleWalletSignedRequestsEnabled, u as BrowserStorageProvider } from "./setup-C3gUloNb.esm.js";
7
7
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
8
- import { t as getDisableIpify } from "./sessionInitializer-LBbZHbPK.esm.js";
8
+ import { t as getDisableIpify } from "./sessionInitializer-CLT-Gp5P.esm.js";
9
9
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
10
- import { s as exposeExperimentOnce } from "./feature-management-XxXkowCy.esm.js";
10
+ import { s as exposeExperimentOnce } from "./feature-management-3G4P4u5J.esm.js";
11
11
  import { t as addDeviceStats } from "./stats-DmG_tkGk.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-XeaMJEO1.esm.js";
13
+ import "./session-BYjQEsDr.esm.js";
14
14
  import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
15
15
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
16
16
  import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-6jsE6rKp.esm.js";
@@ -24,10 +24,10 @@ import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
24
24
  import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
25
25
  import { a as isBackCameraLabel } from "./backCameraStream-CMvXj4X4.esm.js";
26
26
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
27
- import { n as frameSources, r as runVirtualCameraCheck } from "./deepsightService-Dq_9MGNi.esm.js";
27
+ import { n as frameSources, r as runVirtualCameraCheck } from "./deepsightService-DCHgHzDV.esm.js";
28
28
  import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
29
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-BjP8SevF.esm.js";
30
- import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-t11U9Anc.esm.js";
29
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-BaodfDcH.esm.js";
30
+ import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-DEmpl0Jn.esm.js";
31
31
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
32
32
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
33
33
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -318,14 +318,39 @@ const digitalUploadMachine = setup({
318
318
  //#region src/modules/id/deviceWallet/deviceWalletServices.ts
319
319
  /** Both wallet endpoint families are versioned via header, not path. */
320
320
  const API_VERSION_HEADERS = { "api-version": "1.0" };
321
+ const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
321
322
  /**
322
- * Fetches the wallet request payload for the platform and wraps it in the
323
- * Digital Credentials API request shape.
323
+ * Turns the Google request payload into DC API request options without ever
324
+ * touching the payload itself — a signed request's JWS is covered by its
325
+ * signature, so any edit makes the wallet reject it. The backend decides the
326
+ * protocol; the SDK never derives it.
327
+ *
328
+ * - `{ requests: [...] }` — full DC API envelope (signed-capable backend):
329
+ * passed through as-is.
330
+ * - `{ protocol, data }` — an already-enveloped single request: not re-wrapped,
331
+ * only placed in the `requests` array (defensive, for rollout shape drift).
332
+ * - anything else — legacy bare unsigned OIDC4VP/DCQL object: wrapped with
333
+ * `openid4vp-v1-unsigned`.
334
+ */
335
+ function toGoogleRequestOptions(payload) {
336
+ if (isRecord(payload) && Array.isArray(payload.requests)) return payload;
337
+ if (isRecord(payload) && typeof payload.protocol === "string") return { requests: [payload] };
338
+ return { requests: [{
339
+ protocol: "openid4vp-v1-unsigned",
340
+ data: payload
341
+ }] };
342
+ }
343
+ /**
344
+ * Fetches the wallet request payload for the platform as Digital Credentials
345
+ * API request options.
324
346
  *
325
347
  * Apple: POST with an empty body → `{ deviceRequest, encryptionInfo }`,
326
348
  * presented with protocol `org-iso-mdoc`.
327
- * Google: GET → the whole backend-built OIDC4VP/DCQL object (opaque here),
328
- * presented with protocol `openid4vp-v1-unsigned`.
349
+ * Google: GET with `signedSupported=true` → the backend-built DC API envelope
350
+ * (signed or unsigned, backend's choice), passed through verbatim — see
351
+ * {@link toGoogleRequestOptions}. With `setup({ deviceWallet: {
352
+ * googleSignedRequests: false } })` the SDK sends `signedSupported=false` and
353
+ * the backend answers with the legacy bare unsigned payload.
329
354
  */
330
355
  async function requestWalletData(platform, signal) {
331
356
  if (platform === "ios") {
@@ -335,23 +360,21 @@ async function requestWalletData(platform, signal) {
335
360
  });
336
361
  if (!res.ok) throw new Error(`POST ${endpoints.deviceWalletAppleRequest} failed: ${res.status}`);
337
362
  const data = res.data;
338
- return {
363
+ return { requests: [{
339
364
  protocol: "org-iso-mdoc",
340
365
  data: {
341
366
  deviceRequest: data.deviceRequest,
342
367
  encryptionInfo: data.encryptionInfo
343
368
  }
344
- };
369
+ }] };
345
370
  }
346
371
  const res = await api.get(endpoints.deviceWalletGoogleRequest, {
347
372
  headers: API_VERSION_HEADERS,
373
+ query: { signedSupported: isGoogleWalletSignedRequestsEnabled() },
348
374
  signal
349
375
  });
350
376
  if (!res.ok) throw new Error(`GET ${endpoints.deviceWalletGoogleRequest} failed: ${res.status}`);
351
- return {
352
- protocol: "openid4vp-v1-unsigned",
353
- data: res.data
354
- };
377
+ return toGoogleRequestOptions(res.data);
355
378
  }
356
379
  /**
357
380
  * Forwards the opaque wallet response for backend decryption. The body key
@@ -557,7 +580,7 @@ var BrowserDigitalCredentialsProvider = class {
557
580
  return { response: (await navigator.credentials.get({
558
581
  mediation: "required",
559
582
  signal: options?.signal,
560
- digital: { requests: [request] }
583
+ digital: request
561
584
  }))?.data?.response };
562
585
  }
563
586
  };
@@ -1398,7 +1421,7 @@ fromPromise(async ({ input }) => {
1398
1421
  });
1399
1422
  fromPromise(async ({ input }) => {
1400
1423
  if (!input.dependencies) return;
1401
- const { loadDeepsightSession } = await import("./deepsightLoader-CWjI76eb.esm.js");
1424
+ const { loadDeepsightSession } = await import("./deepsightLoader-Bw0BksaL.esm.js");
1402
1425
  return loadDeepsightSession({
1403
1426
  ds: input.ds,
1404
1427
  storage: input.dependencies.storage,
@@ -1841,7 +1864,7 @@ function cleanup(service) {
1841
1864
  service.cleanup();
1842
1865
  } catch {}
1843
1866
  }
1844
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-CWjI76eb.esm.js")).loadDeepsightSession(input)) {
1867
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-Bw0BksaL.esm.js")).loadDeepsightSession(input)) {
1845
1868
  let disposed = false;
1846
1869
  let preparation;
1847
1870
  let service;
@@ -1,2 +1,2 @@
1
- import { c as identityReuseMachine, d as IdentityReuseConfig, f as ReusableDocument, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as SubmitResponse, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-ooAbp6Kc.js";
1
+ import { c as identityReuseMachine, d as IdentityReuseConfig, f as ReusableDocument, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as SubmitResponse, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-B1birg5X.js";
2
2
  export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -120,10 +120,6 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
120
120
  type: "setError";
121
121
  params: NonReducibleUnknown;
122
122
  };
123
- clearError: {
124
- type: "clearError";
125
- params: NonReducibleUnknown;
126
- };
127
123
  setSelectedDocument: {
128
124
  type: "setSelectedDocument";
129
125
  params: NonReducibleUnknown;
@@ -132,6 +128,10 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
132
128
  type: "setCompanyName";
133
129
  params: NonReducibleUnknown;
134
130
  };
131
+ clearError: {
132
+ type: "clearError";
133
+ params: NonReducibleUnknown;
134
+ };
135
135
  }>, Values<{
136
136
  hasDocuments: {
137
137
  type: "hasDocuments";
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-oKDzNC62.js";
1
+ import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-lgkQ8dJW.js";
2
2
  export { type SetupOptions, isConfigured, reset, setup };
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-CkMpP7pu.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-C3gUloNb.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-BvFmYX5c.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-BkaLkcA2.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-DDixKrq0.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -56,14 +56,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
56
56
  type: "setError";
57
57
  params: NonReducibleUnknown;
58
58
  };
59
- toggleSigned: {
60
- type: "toggleSigned";
61
- params: NonReducibleUnknown;
62
- };
63
59
  clearError: {
64
60
  type: "clearError";
65
61
  params: NonReducibleUnknown;
66
62
  };
63
+ toggleSigned: {
64
+ type: "toggleSigned";
65
+ params: NonReducibleUnknown;
66
+ };
67
67
  resetContext: {
68
68
  type: "resetContext";
69
69
  params: NonReducibleUnknown;
@@ -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-B_SHlY1L.esm.js";
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-CncA4yy_.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,4 +1,4 @@
1
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-DtuHbL0_.esm.js";
1
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-Bii8ntyT.esm.js";
2
2
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { C as createEventBus } from "./events-CAgFE-k3.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
@@ -1,4 +1,4 @@
1
1
  //#region src/internal/version/sdkVersion.ts
2
- const SDK_VERSION = "0.0.0-dev-20261014-e4db9c02";
2
+ const SDK_VERSION = "0.0.0-dev-20261014-a1943b25";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
@@ -1,14 +1,14 @@
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 { l as BrowserStorageProvider } from "./setup-CkMpP7pu.esm.js";
3
+ import { u as BrowserStorageProvider } from "./setup-C3gUloNb.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BYnZ3A8a.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-1uGiHaoF.esm.js";
8
- import { c as processFace } from "./FaceDetectionProvider-9IwB7jcM.esm.js";
6
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DU2MoZmG.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-rcSS9V2q.esm.js";
8
+ import { c as processFace } from "./FaceDetectionProvider-DrlDHZ0I.esm.js";
9
9
  import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-kdlhkmmY.esm.js";
10
- import { t as selfieMachine } from "./selfieStateMachine-CBkLfNU3.esm.js";
11
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BVcizHEI.esm.js";
10
+ import { t as selfieMachine } from "./selfieStateMachine-D9Yk1g4P.esm.js";
11
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CAHWVyTs.esm.js";
12
12
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BW7V3vub.esm.js";
13
13
  /**
14
14
  * Selfie state machine variant for the captureOnly flow. Shares the full base
@@ -1,4 +1,4 @@
1
- import { d as FACE_ERROR_CODES } from "./FaceDetectionProvider-9IwB7jcM.esm.js";
1
+ import { d as FACE_ERROR_CODES } from "./FaceDetectionProvider-DrlDHZ0I.esm.js";
2
2
  //#region src/modules/selfie/selfieErrorUtils.ts
3
3
  const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
4
4
  const isFaceErrorCode = (value) => {
@@ -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 { l as BrowserStorageProvider } from "./setup-CkMpP7pu.esm.js";
3
+ import { u as BrowserStorageProvider } from "./setup-C3gUloNb.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-1uGiHaoF.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-CBkLfNU3.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-rcSS9V2q.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-D9Yk1g4P.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,8 +1,8 @@
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 { t as faceCaptureMachine } from "./faceCaptureSetup-BYnZ3A8a.esm.js";
4
- import { c as processFace, d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-9IwB7jcM.esm.js";
5
- import { n as validateUploadResponse } from "./selfieErrorUtils-zRAt9WeG.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DU2MoZmG.esm.js";
4
+ import { c as processFace, d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-DrlDHZ0I.esm.js";
5
+ import { n as validateUploadResponse } from "./selfieErrorUtils-CZSHPDZb.esm.js";
6
6
  /**
7
7
  * The selfie capture state machine.
8
8
  *
@@ -1,8 +1,8 @@
1
- import { b as noteSessionCreated, l as trueSightLog } from "./trueSightService-DtuHbL0_.esm.js";
1
+ import { b as noteSessionCreated, l as trueSightLog } from "./trueSightService-Bii8ntyT.esm.js";
2
2
  import { n as getApi } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
4
- import "./sessionInitializer-LBbZHbPK.esm.js";
5
- import { i as toIncodeApiError } from "./apiError-CFwIWUtz.esm.js";
4
+ import "./sessionInitializer-CLT-Gp5P.esm.js";
5
+ import { i as toIncodeApiError } from "./apiError-ClWM06Wx.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
@@ -1,9 +1,9 @@
1
1
  import { r as getToken } from "./api-Bx3gKW_y.esm.js";
2
2
  import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
3
- import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-LBbZHbPK.esm.js";
4
- import { t as IncodeApiError } from "./apiError-CFwIWUtz.esm.js";
5
- import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-XeaMJEO1.esm.js";
6
- import { n as getFinishStatus } from "./flowCompletionService-OHsAMzl8.esm.js";
3
+ import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-CLT-Gp5P.esm.js";
4
+ import { t as IncodeApiError } from "./apiError-ClWM06Wx.esm.js";
5
+ import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-BYjQEsDr.esm.js";
6
+ import { n as getFinishStatus } from "./flowCompletionService-CsJJjH5-.esm.js";
7
7
  //#region src/internal/session/sessionExpired.ts
8
8
  var SessionExpiredError = class extends Error {
9
9
  constructor() {
@@ -1,9 +1,9 @@
1
- import { S as noteTokenActivated, _ as resetFeatureConfigCache, g as isFeatureEnabled, h as fetchFeatureConfig, l as trueSightLog, s as startTrueSightCollection, y as noteEnvironment } from "./trueSightService-DtuHbL0_.esm.js";
1
+ import { S as noteTokenActivated, _ as resetFeatureConfigCache, g as isFeatureEnabled, h as fetchFeatureConfig, l as trueSightLog, s as startTrueSightCollection, y as noteEnvironment } from "./trueSightService-Bii8ntyT.esm.js";
2
2
  import { S as subscribeEvent, v as addEvent, y as getAnalyticsBatcher } from "./events-CAgFE-k3.esm.js";
3
3
  import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-g8ehOQhP.esm.js";
6
- import { E as updateFeatureManagementUser } from "./feature-management-XxXkowCy.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-Cmmqp1Zj.esm.js";
6
+ import { E as updateFeatureManagementUser } from "./feature-management-3G4P4u5J.esm.js";
7
7
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-DmG_tkGk.esm.js";
8
8
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
9
9
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
@@ -1,18 +1,18 @@
1
1
  import { S as setWasmIntegrityObserver } from "./wasmWebClient-kbYZ2sxw.esm.js";
2
- import { D as resolveWasmConfig, d as getStoredHttpConfig, f as installFreshHttpClient, l as trueSightLog, m as upgradeToWasmHttpClient$1, o as resetTrueSight, p as resetHttpClientState, t as finalizeTrueSight } from "./trueSightService-DtuHbL0_.esm.js";
2
+ import { D as resolveWasmConfig, d as getStoredHttpConfig, f as installFreshHttpClient, l as trueSightLog, m as upgradeToWasmHttpClient$1, o as resetTrueSight, p as resetHttpClientState, t as finalizeTrueSight } from "./trueSightService-Bii8ntyT.esm.js";
3
3
  import { i as setWasmOnDeviceMode, o as warmupWasm } from "./warmup-DMtbyb2l.esm.js";
4
4
  import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
5
5
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
6
6
  import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-CAgFE-k3.esm.js";
7
7
  import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
8
8
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
9
- import { a as resetSessionInit, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp, x as fingerprintSignalsReporter } from "./sessionInitializer-LBbZHbPK.esm.js";
9
+ import { a as resetSessionInit, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp, x as fingerprintSignalsReporter } from "./sessionInitializer-CLT-Gp5P.esm.js";
10
10
  import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
11
11
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
12
- 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-XxXkowCy.esm.js";
12
+ 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-3G4P4u5J.esm.js";
13
13
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
14
14
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
15
- import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-D3b4BP89.esm.js";
15
+ import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-Db5G7nKF.esm.js";
16
16
  //#region src/internal/events/AnalyticsBatchingService.ts
17
17
  const DEFAULT_MAX_BATCH_SIZE = 50;
18
18
  const MAX_STATE_BATCH_SIZE = 50;
@@ -394,6 +394,21 @@ function stopDevtoolsDetector() {
394
394
  devtoolsDetector.stop();
395
395
  }
396
396
  //#endregion
397
+ //#region src/modules/id/deviceWallet/deviceWalletSettings.ts
398
+ /**
399
+ * Client-side device-wallet settings registered by `setup()`. Kept in a
400
+ * dependency-free module so `setup()` doesn't pull the wallet services into
401
+ * the main bundle.
402
+ */
403
+ let googleSignedRequests = true;
404
+ /** Whether the Google Wallet request is fetched with `signedSupported=true`. */
405
+ function setGoogleWalletSignedRequests(enabled) {
406
+ googleSignedRequests = enabled;
407
+ }
408
+ function isGoogleWalletSignedRequestsEnabled() {
409
+ return googleSignedRequests;
410
+ }
411
+ //#endregion
397
412
  //#region src/internal/wasmIntegrity/wasmIntegrityTelemetry.ts
398
413
  const TRUESIGHT_SUBSYSTEM = "wasm.integrity";
399
414
  function describeCheck(check) {
@@ -597,6 +612,7 @@ async function setup(options) {
597
612
  setStandaloneFlowPolicy(standaloneFlowPolicy);
598
613
  registerFlowPreloader(preloadDashboardFlow);
599
614
  if (options.ipLookup !== void 0) setClientIpLookupEnabled(options.ipLookup);
615
+ if (options.deviceWallet?.googleSignedRequests !== void 0) setGoogleWalletSignedRequests(options.deviceWallet.googleSignedRequests);
600
616
  if (options.hostingApp !== void 0) setClientHostingApp(options.hostingApp);
601
617
  if (options.fingerprint !== void 0) {
602
618
  setClientFingerprintEnabled(options.fingerprint);
@@ -770,6 +786,7 @@ function reset() {
770
786
  resetDashboardFlowCache();
771
787
  resetStandaloneFlowPolicy();
772
788
  setClientIpLookupEnabled(true);
789
+ setGoogleWalletSignedRequests(true);
773
790
  setClientFingerprintEnabled(true);
774
791
  setClientHostingApp(void 0);
775
792
  setWasmOnDeviceMode(false);
@@ -789,4 +806,4 @@ function reset() {
789
806
  resetTrueSight();
790
807
  }
791
808
  //#endregion
792
- export { resolveWasmConfigForPipelines as a, upgradeToWasmHttpClient as c, reset as i, BrowserStorageProvider as l, initializeWasmUtil as n, setWasmConfig as o, isConfigured as r, setup as s, ensureWasmPipelines as t };
809
+ export { resolveWasmConfigForPipelines as a, upgradeToWasmHttpClient as c, reset as i, isGoogleWalletSignedRequestsEnabled as l, initializeWasmUtil as n, setWasmConfig as o, isConfigured as r, setup as s, ensureWasmPipelines as t, BrowserStorageProvider as u };
@@ -227,6 +227,17 @@ type SetupOptions = {
227
227
  * (off by default).
228
228
  */
229
229
  devMode?: boolean;
230
+ /**
231
+ * Device wallet (mDL) options.
232
+ *
233
+ * `googleSignedRequests` (default `true`): Google Wallet requests are fetched
234
+ * as signed-capable, and the backend picks signed (`openid4vp-v1-signed`) or
235
+ * unsigned. Pass `false` to always get unsigned (`openid4vp-v1-unsigned`)
236
+ * requests, e.g. for testing. Temporary — this choice moves to the backend.
237
+ */
238
+ deviceWallet?: {
239
+ googleSignedRequests?: boolean;
240
+ };
230
241
  /**
231
242
  * Transactional Risk Intelligence (TRI) telemetry configuration.
232
243
  *
@@ -3,7 +3,7 @@ import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.
3
3
  import { n as eventModuleNames } from "./events-CAgFE-k3.esm.js";
4
4
  import { i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
5
5
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
6
- import { t as SDK_VERSION } from "./sdkVersion-g8ehOQhP.esm.js";
6
+ import { t as SDK_VERSION } from "./sdkVersion-Cmmqp1Zj.esm.js";
7
7
  import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
8
8
  //#region ../infra/src/wasm/wasmDefaults.ts
9
9
  const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
@@ -16,8 +16,12 @@ import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSetti
16
16
  * opaque to the SDK; the wallet's response is likewise an opaque string that
17
17
  * is forwarded to the backend for decryption.
18
18
  */
19
- /** Wallet protocols the SDK requests credentials with. */
20
- type DigitalCredentialProtocol = 'org-iso-mdoc' | 'openid4vp-v1-unsigned';
19
+ /**
20
+ * Wallet protocols known to the SDK. The backend decides the protocol for
21
+ * Google Wallet (unsigned / signed / multisigned), so any other string the
22
+ * backend sends is passed through untouched.
23
+ */
24
+ type DigitalCredentialProtocol = 'org-iso-mdoc' | 'openid4vp-v1-unsigned' | 'openid4vp-v1-signed' | 'openid4vp-v1-multisigned' | (string & {});
21
25
  /** One entry of the Digital Credentials API `digital.requests` array. */
22
26
  type DigitalCredentialRequest = {
23
27
  protocol: DigitalCredentialProtocol;
@@ -25,9 +29,18 @@ type DigitalCredentialRequest = {
25
29
  * Opaque protocol payload, built by the backend.
26
30
  * Apple (`org-iso-mdoc`): `{ deviceRequest, encryptionInfo }` base64 strings.
27
31
  * Google (`openid4vp-v1-unsigned`): the whole OIDC4VP/DCQL request object.
32
+ * Google (`openid4vp-v1-signed`): `{ request: <JWS> }` — covered by the
33
+ * signature, so it must never be modified.
28
34
  */
29
35
  data: unknown;
30
36
  };
37
+ /**
38
+ * The W3C `DigitalCredentialRequestOptions` shape — the `digital` member of
39
+ * `navigator.credentials.get()`. Handed to the API as-is.
40
+ */
41
+ type DigitalCredentialRequestOptions = {
42
+ requests: DigitalCredentialRequest[];
43
+ };
31
44
  type DigitalCredentialResult = {
32
45
  /**
33
46
  * Opaque wallet response (Apple: encrypted deviceResponse; Google: a JWE).
@@ -44,12 +57,13 @@ interface IDigitalCredentialsCapability {
44
57
  */
45
58
  isAvailable(): boolean;
46
59
  /**
47
- * Presents the OS wallet sheet for the given request and resolves with the
60
+ * Presents the OS wallet sheet for the given request options (passed as the
61
+ * `digital` member verbatim) and resolves with the
48
62
  * wallet's opaque response. Must be reached from a user gesture — iOS
49
63
  * Safari requires transient user activation for `navigator.credentials.get()`.
50
64
  * Rejects when the underlying API rejects (blocked, aborted, protocol error).
51
65
  */
52
- get(request: DigitalCredentialRequest, options?: {
66
+ get(request: DigitalCredentialRequestOptions, options?: {
53
67
  signal?: AbortSignal;
54
68
  }): Promise<DigitalCredentialResult>;
55
69
  }
@@ -164,7 +178,7 @@ type DeviceWalletDecryptResponse = {
164
178
  /** Injectable service seam (mirrors digital-id-redirect's services pattern). */
165
179
  type DeviceWalletServices = {
166
180
  /** Builds the wallet request payload for the platform. */
167
- requestWalletData: (platform: DeviceWalletPlatform, signal?: AbortSignal) => Promise<DigitalCredentialRequest>;
181
+ requestWalletData: (platform: DeviceWalletPlatform, signal?: AbortSignal) => Promise<DigitalCredentialRequestOptions>;
168
182
  /** Forwards the opaque wallet response for backend decryption. */
169
183
  decryptWalletResponse: (platform: DeviceWalletPlatform, walletResponse: string, signal?: AbortSignal) => Promise<DeviceWalletDecryptResponse>;
170
184
  };
@@ -1,16 +1,16 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-CIdnE7Fx.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { t as ensureWasmPipelines } from "./setup-CkMpP7pu.esm.js";
3
+ import { t as ensureWasmPipelines } from "./setup-C3gUloNb.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
5
5
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
6
6
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
7
- import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-D3b4BP89.esm.js";
7
+ import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-Db5G7nKF.esm.js";
8
8
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
9
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
10
10
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
11
11
  import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-DbeQpXdU.esm.js";
12
12
  import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-q_pfU3Cn.esm.js";
13
- import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-pt56Pcfi.esm.js";
13
+ import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-CMouD1TC.esm.js";
14
14
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
15
15
  //#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
16
16
  var wave_encoder_default = () => {
@@ -1,15 +1,15 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-D3b4BP89.esm.js";
4
+ import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-Db5G7nKF.esm.js";
5
5
  import { a as requestCameraWithFallback, i as requestCameraAccess } from "./camera-sIa9ceW2.esm.js";
6
6
  import { t as checkPermission } from "./permissionServices-d2UW0r_L.esm.js";
7
- import { c as processFace, d as FACE_ERROR_CODES, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-9IwB7jcM.esm.js";
7
+ import { c as processFace, d as FACE_ERROR_CODES, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-DrlDHZ0I.esm.js";
8
8
  import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-DbeQpXdU.esm.js";
9
9
  import { n as getBackCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
10
10
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
11
- import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-zRAt9WeG.esm.js";
12
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BjP8SevF.esm.js";
11
+ import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-CZSHPDZb.esm.js";
12
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BaodfDcH.esm.js";
13
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
14
14
  //#region src/modules/video-selfie/videoSelfieCompareService.ts
15
15
  async function postVideoSelfieCompare(endpoint, base64Image) {
package/dist/wasm.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as WASM_MODEL_FILES, c as WasmPipeline, l as WasmSource, o as WasmGlueLoader, r as warmupWasm, s as WasmModelName, t as WarmupConfig } from "./warmup-BUPPRAA1.js";
2
- import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-oKDzNC62.js";
2
+ import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-lgkQ8dJW.js";
3
3
  //#region ../infra/src/wasm/wasmDefaults.d.ts
4
4
  /** The WASM version bundled and tested with this SDK release. */
5
5
  declare const DEFAULT_WASM_VERSION = "v2.14.50-post1";
package/dist/wasm.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { g as WASM_PIPELINE_MODEL_NAMES, m as WASM_PIPELINE_LAZY_MODEL_NAMES, p as WASM_MODEL_FILES } from "./wasmWebClient-kbYZ2sxw.esm.js";
2
- import { C as DEFAULT_WASM_VERSION, D as resolveWasmConfig, T as buildWasmConfigFromBasePath, w as buildDefaultWasmConfig } from "./trueSightService-DtuHbL0_.esm.js";
2
+ import { C as DEFAULT_WASM_VERSION, D as resolveWasmConfig, T as buildWasmConfigFromBasePath, w as buildDefaultWasmConfig } from "./trueSightService-Bii8ntyT.esm.js";
3
3
  import { o as warmupWasm } from "./warmup-DMtbyb2l.esm.js";
4
- import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-CkMpP7pu.esm.js";
4
+ import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-C3gUloNb.esm.js";
5
5
  //#region src/defineWasm.ts
6
6
  function requiredModels(pipelines) {
7
7
  const models = /* @__PURE__ */ new Set();
@@ -1,29 +1,29 @@
1
- import { l as trueSightLog } from "./trueSightService-DtuHbL0_.esm.js";
1
+ import { l as trueSightLog } from "./trueSightService-Bii8ntyT.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-CAgFE-k3.esm.js";
3
3
  import { t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
5
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-LBbZHbPK.esm.js";
6
- import { E as updateFeatureManagementUser } from "./feature-management-XxXkowCy.esm.js";
7
- import { i as toIncodeApiError } from "./apiError-CFwIWUtz.esm.js";
8
- import { v as toEkybConfig } from "./flowServices-D3b4BP89.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CLT-Gp5P.esm.js";
6
+ import { E as updateFeatureManagementUser } from "./feature-management-3G4P4u5J.esm.js";
7
+ import { i as toIncodeApiError } from "./apiError-ClWM06Wx.esm.js";
8
+ import { v as toEkybConfig } from "./flowServices-Db5G7nKF.esm.js";
9
9
  import { a as toEkycConfig } from "./ekycUtils-3FIL6m1x.esm.js";
10
10
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
11
11
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
12
- import { r as electronicSignatureMachine } from "./electronicSignatureManager-B_SHlY1L.esm.js";
12
+ import { r as electronicSignatureMachine } from "./electronicSignatureManager-CncA4yy_.esm.js";
13
13
  import "./ae-signature.esm.js";
14
14
  import { t as antifraudMachine } from "./antifraudStateMachine-DoJVzblM.esm.js";
15
- import { t as authenticationMachine } from "./authenticationStateMachine-CDsC16Jn.esm.js";
15
+ import { t as authenticationMachine } from "./authenticationStateMachine-69FttSWv.esm.js";
16
16
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Cs64QmYH.esm.js";
17
17
  import { t as consentMachine } from "./consentStateMachine-BCj5Jb3g.esm.js";
18
18
  import { t as curpValidationMachine } from "./curpValidationStateMachine-DAxImy8p.esm.js";
19
19
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-D9gI5uu7.esm.js";
20
20
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BHDsCfhL.esm.js";
21
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DVbgcw96.esm.js";
22
- import { t as ekybMachine } from "./ekybStateMachine-Cd0nGdXM.esm.js";
21
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CzZ4pf-a.esm.js";
22
+ import { t as ekybMachine } from "./ekybStateMachine-CldNruWj.esm.js";
23
23
  import { t as ekycMachine } from "./ekycStateMachine-DnKlILfu.esm.js";
24
24
  import { t as emailMachine } from "./emailStateMachine-5Neq3rE5.esm.js";
25
- import { t as selfieMachine } from "./selfieStateMachine-CBkLfNU3.esm.js";
26
- import { t as idCaptureMachine } from "./idCaptureStateMachine-Dv1tDMKs.esm.js";
25
+ import { t as selfieMachine } from "./selfieStateMachine-D9Yk1g4P.esm.js";
26
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-tbtQvm5X.esm.js";
27
27
  import { t as phoneMachine } from "./phoneStateMachine-CEm2y7yG.esm.js";
28
28
  import { t as watchlistMachine } from "./watchlistStateMachine-Dgfm42w2.esm.js";
29
29
  import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-121XK-Et.esm.js";
@@ -32,12 +32,12 @@ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-Coa
32
32
  import { t as idOcrStateMachine } from "./idOcrStateMachine-kPn7DB2I.esm.js";
33
33
  import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine--Sr9NEVT.esm.js";
34
34
  import { t as signatureMachine } from "./signatureStateMachine-BkRSrkKp.esm.js";
35
- import { t as geolocationMachine } from "./geolocationStateMachine-Je2uPWor.esm.js";
35
+ import { t as geolocationMachine } from "./geolocationStateMachine-DsQdCfkO.esm.js";
36
36
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-C3YQ8yCZ.esm.js";
37
37
  import { t as idVerificationMachine } from "./idVerificationStateMachine-0HTVVxse.esm.js";
38
38
  import { t as faceMatchMachine } from "./faceMatchStateMachine-B9ZUnlyU.esm.js";
39
- import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-OHsAMzl8.esm.js";
40
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-9q7BQwPd.esm.js";
39
+ import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-CsJJjH5-.esm.js";
40
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BgMo7m72.esm.js";
41
41
  import { n as isAdvanceableError } from "./advanceableErrors-q_pfU3Cn.esm.js";
42
42
  import "./qe-signature.esm.js";
43
43
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";