@incodetech/web 0.0.0-dev-20260708-32d1cc74 → 0.0.0-dev-20260708-662a43f2
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 +2 -1
- package/dist/types/index.d.ts +8 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import { t as setUiConfig } from "./uiConfig-D2_wawvr.js";
|
|
|
3
3
|
import { DEFAULT_WASM_VERSION } from "@incodetech/core/wasm";
|
|
4
4
|
import { setup as setup$1 } from "@incodetech/core";
|
|
5
5
|
//#region src/setup.ts
|
|
6
|
-
async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, devMode, i18n, uiConfig }) {
|
|
6
|
+
async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, fingerprint, devMode, i18n, uiConfig }) {
|
|
7
7
|
if (uiConfig) setUiConfig(uiConfig);
|
|
8
8
|
await setup$1({
|
|
9
9
|
apiURL,
|
|
@@ -12,6 +12,7 @@ async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, de
|
|
|
12
12
|
timeout,
|
|
13
13
|
wasm,
|
|
14
14
|
ipLookup,
|
|
15
|
+
fingerprint,
|
|
15
16
|
devMode
|
|
16
17
|
});
|
|
17
18
|
setI18nInstance(createI18n(i18n));
|
package/dist/types/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare function setI18nInstance(instance: i18n): void;
|
|
|
22
22
|
*/
|
|
23
23
|
export declare function setUiConfig(next: UiConfig): void;
|
|
24
24
|
|
|
25
|
-
export declare function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, devMode, i18n, uiConfig, }: SetupOptions): Promise<void>;
|
|
25
|
+
export declare function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, fingerprint, devMode, i18n, uiConfig, }: SetupOptions): Promise<void>;
|
|
26
26
|
|
|
27
27
|
declare type SetupOptions = {
|
|
28
28
|
apiURL: string;
|
|
@@ -31,6 +31,13 @@ declare type SetupOptions = {
|
|
|
31
31
|
timeout?: number;
|
|
32
32
|
wasm?: WasmConfig | false;
|
|
33
33
|
ipLookup?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Disables client-side device-fingerprint submission. Forwarded to core
|
|
36
|
+
* `setup()` — see the core `SetupOptions.fingerprint` docs for the full
|
|
37
|
+
* behavior (transition flag; also affects the Deepsight metadata bundle
|
|
38
|
+
* and mandatory-consent auto-injection).
|
|
39
|
+
*/
|
|
40
|
+
fingerprint?: boolean;
|
|
34
41
|
/**
|
|
35
42
|
* Disables the browser devtools detector for local development. Forwarded to
|
|
36
43
|
* core `setup()`. Leave `false` (default) in production — see the core
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/web",
|
|
3
|
-
"version": "0.0.0-dev-20260708-
|
|
3
|
+
"version": "0.0.0-dev-20260708-662a43f2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
"qrcode": "^1.5.4",
|
|
292
292
|
"signature_pad": "^5.1.3",
|
|
293
293
|
"tailwindcss": "^4.1.17",
|
|
294
|
-
"@incodetech/core": "0.0.0-dev-20260708-
|
|
294
|
+
"@incodetech/core": "0.0.0-dev-20260708-662a43f2"
|
|
295
295
|
},
|
|
296
296
|
"devDependencies": {
|
|
297
297
|
"@microsoft/api-extractor": "^7.53.3",
|