@incodetech/web 0.0.0-dev-20260914-8aef7789 → 0.0.0-dev-20260914-4a2a8f27

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/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, fingerprint, devMode, featureManagement, environment, i18n, uiConfig, flow, theme }) {
9
+ async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, hostingApp, fingerprint, devMode, featureManagement, environment, i18n, uiConfig, flow, theme }) {
10
10
  const standaloneSetupPolicy = resolveStandaloneSetupPolicy(flow, theme, token);
11
11
  setStandaloneSetupPolicy(standaloneSetupPolicy);
12
12
  resetDashboardThemeCache();
@@ -18,6 +18,7 @@ async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, fi
18
18
  timeout,
19
19
  wasm,
20
20
  ipLookup,
21
+ hostingApp,
21
22
  fingerprint,
22
23
  devMode,
23
24
  featureManagement,
@@ -96,7 +96,7 @@ export declare function setI18nInstance(instance: TranslationInstance): void;
96
96
  */
97
97
  export declare function setUiConfig(next: UiConfig): void;
98
98
 
99
- export declare function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, fingerprint, devMode, featureManagement, environment, i18n, uiConfig, flow, theme, }: SetupOptions): Promise<void>;
99
+ export declare function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, hostingApp, fingerprint, devMode, featureManagement, environment, i18n, uiConfig, flow, theme, }: SetupOptions): Promise<void>;
100
100
 
101
101
  declare type SetupOptions = {
102
102
  apiURL: string;
@@ -105,6 +105,14 @@ declare type SetupOptions = {
105
105
  timeout?: number;
106
106
  wasm?: WasmConfig | false;
107
107
  ipLookup?: boolean;
108
+ /**
109
+ * Identifies the hosting application in the device-fingerprint record.
110
+ * Forwarded to core `setup()`, which hands it to `initializeSession` — see
111
+ * the core `SetupOptions.hostingApp` docs. Defaults to `'Web SDK'` when
112
+ * omitted, so hosts that want to be distinguishable must pass their own
113
+ * identifier (the fingerprint payload carries no separate host-version field).
114
+ */
115
+ hostingApp?: string;
108
116
  /**
109
117
  * Disables client-side device-fingerprint submission. Forwarded to core
110
118
  * `setup()` — see the core `SetupOptions.fingerprint` docs for the full
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260914-8aef7789",
3
+ "version": "0.0.0-dev-20260914-4a2a8f27",
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-20260914-8aef7789"
290
+ "@incodetech/core": "0.0.0-dev-20260914-4a2a8f27"
291
291
  },
292
292
  "devDependencies": {
293
293
  "@fontsource/dm-sans": "^5.2.8",