@incodetech/web 0.0.0-dev-20261013-75824203 → 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.
@@ -726,6 +726,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
726
726
  children: /* @__PURE__ */ u(Component, {
727
727
  config: {
728
728
  ...flowConfig,
729
+ lang: i18n.language,
729
730
  ...config.redirectToMobileUrl !== void 0 ? { url: config.redirectToMobileUrl } : {}
730
731
  },
731
732
  onFinish: () => flowManager.finishFlow(),
package/dist/index.es.js CHANGED
@@ -6,7 +6,7 @@ import { setup as setup$1 } from "@incodetech/core";
6
6
  function preloadOptionalDashboardTheme(token) {
7
7
  return Promise.resolve().then(() => preloadDashboardTheme(token)).then(() => void 0).catch(() => void 0);
8
8
  }
9
- async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, hostingApp, fingerprint, devMode, featureManagement, environment, i18n, uiConfig, flow, theme }) {
9
+ async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, hostingApp, fingerprint, devMode, deviceWallet, featureManagement, environment, i18n, uiConfig, flow, theme }) {
10
10
  const standaloneSetupPolicy = resolveStandaloneSetupPolicy(flow, theme, token);
11
11
  setStandaloneSetupPolicy(standaloneSetupPolicy);
12
12
  resetDashboardThemeCache();
@@ -21,6 +21,7 @@ async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, ho
21
21
  hostingApp,
22
22
  fingerprint,
23
23
  devMode,
24
+ deviceWallet,
24
25
  featureManagement,
25
26
  environment,
26
27
  flow
@@ -116,7 +116,7 @@ export declare function setI18nInstance(instance: TranslationInstance): void;
116
116
  */
117
117
  export declare function setUiConfig(next: UiConfig): void;
118
118
 
119
- export declare function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, hostingApp, fingerprint, devMode, featureManagement, environment, i18n, uiConfig, flow, theme, }: SetupOptions): Promise<void>;
119
+ export declare function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, hostingApp, fingerprint, devMode, deviceWallet, featureManagement, environment, i18n, uiConfig, flow, theme, }: SetupOptions): Promise<void>;
120
120
 
121
121
  declare type SetupOptions = {
122
122
  apiURL: string;
@@ -146,6 +146,14 @@ declare type SetupOptions = {
146
146
  * `SetupOptions.devMode` docs. WASM logging is controlled via `wasm.showLogs`.
147
147
  */
148
148
  devMode?: boolean;
149
+ /**
150
+ * Device wallet (mDL) options. Forwarded to core `setup()` — see the core
151
+ * `SetupOptions.deviceWallet` docs. Pass `{ googleSignedRequests: false }`
152
+ * to always use unsigned Google Wallet requests (testing).
153
+ */
154
+ deviceWallet?: {
155
+ googleSignedRequests?: boolean;
156
+ };
149
157
  /**
150
158
  * Enables feature management. Forwarded to core `setup()` — see the core
151
159
  * `SetupOptions.featureManagement` docs for the full behavior (identity
@@ -352,6 +352,7 @@ function mapModuleConfig(options) {
352
352
  * self-loading mode both arrive here with a fully-constructed manager.
353
353
  */
354
354
  var IncodeWorkflowReady = ({ config, workflowManager: initialManager, onFinish, onError }) => {
355
+ const { i18n } = useTranslation();
355
356
  const [workflowState, workflowManager] = useManager(() => initialManager, {
356
357
  autoLoad: false,
357
358
  manageLifecycle: false
@@ -457,7 +458,7 @@ var IncodeWorkflowReady = ({ config, workflowManager: initialManager, onFinish,
457
458
  workflowId: workflowState.workflowConfig.id,
458
459
  authHint: config.authHint,
459
460
  loginHintPrefill: config.loginHintPrefill,
460
- lang: config.lang,
461
+ lang: i18n.language,
461
462
  mergeSessionRecordings: workflowState.workflowConfig.mergeSessionRecordings,
462
463
  ageAssurance: workflowState.workflowConfig.ageAssurance,
463
464
  digitalIdReturn: config.digitalIdReturn,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20261013-75824203",
3
+ "version": "0.0.0-dev-20261014-a1943b25",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",
@@ -287,7 +287,7 @@
287
287
  ],
288
288
  "dependencies": {
289
289
  "preact": "^10.27.2",
290
- "@incodetech/core": "0.0.0-dev-20261013-75824203"
290
+ "@incodetech/core": "0.0.0-dev-20261014-a1943b25"
291
291
  },
292
292
  "devDependencies": {
293
293
  "@fontsource/dm-sans": "^5.2.8",