@zaplier/sdk 1.8.0 → 1.8.2
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/core-ultra.min.js +10 -0
- package/dist/index.cjs +1615 -34
- package/dist/index.d.ts +11 -7
- package/dist/index.esm.js +1615 -34
- package/dist/v2/chunks/browser-apis-AyU2utpF.min.js +6 -0
- package/dist/v2/chunks/confidence-BslwbUCt.min.js +6 -0
- package/dist/v2/chunks/device-signals-2L_62qNZ.min.js +6 -0
- package/dist/v2/chunks/dom-blockers-C467-IRd.min.js +6 -0
- package/dist/v2/chunks/fingerprint-FfUEEIAd.min.js +6 -0
- package/dist/v2/chunks/hardware-9ikfSEs-.min.js +6 -0
- package/dist/v2/chunks/incognito-CkKAdE8Z.min.js +6 -0
- package/dist/v2/chunks/math-Q4s6nkVD.min.js +6 -0
- package/dist/v2/chunks/plugins-enhanced-mUjU1EXe.min.js +6 -0
- package/dist/v2/chunks/session-replay-C5Tp0d16.min.js +6 -0
- package/dist/v2/chunks/storage-Bl_8oytT.min.js +6 -0
- package/dist/v2/chunks/system-DTjxyOZF.min.js +6 -0
- package/dist/v2/core.d.ts +7 -0
- package/dist/v2/core.js +2 -2
- package/dist/v2/core.min.js +2 -2
- package/dist/v2/modules/anti-adblock.js +2 -2
- package/dist/v2/modules/browser-apis-C32PGYAh.js +6 -0
- package/dist/v2/modules/browser-apis-DzzjRXFN.js +6 -0
- package/dist/v2/modules/confidence-CLylpqVh.js +6 -0
- package/dist/v2/modules/device-signals-ChNkNSJR.js +6 -0
- package/dist/v2/modules/device-signals-D-VQg-o6.js +6 -0
- package/dist/v2/modules/dom-blockers-BamKJxCs.js +6 -0
- package/dist/v2/modules/dom-blockers-D9M2aO9M.js +6 -0
- package/dist/v2/modules/fingerprint-CRCL21-p.js +6 -0
- package/dist/v2/modules/fingerprint-Ddq30bun.js +6 -0
- package/dist/v2/modules/fingerprint.js +2 -2
- package/dist/v2/modules/hardware-BxWqOjae.js +6 -0
- package/dist/v2/modules/heatmap.js +1 -1
- package/dist/v2/modules/incognito-CBxUhUOT.js +6 -0
- package/dist/v2/modules/incognito-DpuYoC8S.js +6 -0
- package/dist/v2/modules/math-B13vt1ND.js +6 -0
- package/dist/v2/modules/plugins-enhanced-CnBdC9_k.js +6 -0
- package/dist/v2/modules/plugins-enhanced-D5ft0k0e.js +6 -0
- package/dist/v2/modules/replay.js +2 -2
- package/dist/v2/modules/storage-D8dcMojB.js +6 -0
- package/dist/v2/modules/system-ZMflVbka.js +6 -0
- package/package.json +47 -22
- package/dist/index.cjs.map +0 -1
- package/dist/index.esm.js.map +0 -1
- package/dist/index.js +0 -3517
- package/dist/index.js.map +0 -1
- package/dist/sdk.js +0 -26960
- package/dist/sdk.js.map +0 -1
- package/dist/sdk.legacy.min.js +0 -6
- package/dist/sdk.min.js +0 -7
- package/dist/src/core.d.ts +0 -87
- package/dist/src/core.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -15
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/modules/anti-adblock.d.ts +0 -113
- package/dist/src/modules/anti-adblock.d.ts.map +0 -1
- package/dist/src/modules/auto-tracker.d.ts +0 -240
- package/dist/src/modules/auto-tracker.d.ts.map +0 -1
- package/dist/src/modules/bot-detection.d.ts +0 -15
- package/dist/src/modules/bot-detection.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/accessibility.d.ts +0 -155
- package/dist/src/modules/fingerprint/accessibility.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/audio.d.ts +0 -15
- package/dist/src/modules/fingerprint/audio.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/browser-apis.d.ts +0 -108
- package/dist/src/modules/fingerprint/browser-apis.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/browser.d.ts +0 -14
- package/dist/src/modules/fingerprint/browser.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/canvas.d.ts +0 -14
- package/dist/src/modules/fingerprint/canvas.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/confidence.d.ts +0 -89
- package/dist/src/modules/fingerprint/confidence.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/datetime-locale.d.ts +0 -76
- package/dist/src/modules/fingerprint/datetime-locale.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/device-signals.d.ts +0 -29
- package/dist/src/modules/fingerprint/device-signals.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/dom-blockers.d.ts +0 -56
- package/dist/src/modules/fingerprint/dom-blockers.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/font-preferences.d.ts +0 -70
- package/dist/src/modules/fingerprint/font-preferences.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/fonts-enhanced.d.ts +0 -43
- package/dist/src/modules/fingerprint/fonts-enhanced.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/fonts.d.ts +0 -14
- package/dist/src/modules/fingerprint/fonts.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/hardware.d.ts +0 -40
- package/dist/src/modules/fingerprint/hardware.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/hashing.d.ts +0 -29
- package/dist/src/modules/fingerprint/hashing.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/incognito.d.ts +0 -6
- package/dist/src/modules/fingerprint/incognito.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/math-enhanced.d.ts +0 -70
- package/dist/src/modules/fingerprint/math-enhanced.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/math.d.ts +0 -32
- package/dist/src/modules/fingerprint/math.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/plugins-enhanced.d.ts +0 -97
- package/dist/src/modules/fingerprint/plugins-enhanced.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/screen.d.ts +0 -15
- package/dist/src/modules/fingerprint/screen.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/storage.d.ts +0 -45
- package/dist/src/modules/fingerprint/storage.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/system.d.ts +0 -40
- package/dist/src/modules/fingerprint/system.d.ts.map +0 -1
- package/dist/src/modules/fingerprint/webgl.d.ts +0 -15
- package/dist/src/modules/fingerprint/webgl.d.ts.map +0 -1
- package/dist/src/modules/fingerprint.d.ts +0 -35
- package/dist/src/modules/fingerprint.d.ts.map +0 -1
- package/dist/src/modules/global-interface.d.ts +0 -157
- package/dist/src/modules/global-interface.d.ts.map +0 -1
- package/dist/src/modules/heatmap.d.ts +0 -145
- package/dist/src/modules/heatmap.d.ts.map +0 -1
- package/dist/src/modules/incognito-detection.d.ts +0 -23
- package/dist/src/modules/incognito-detection.d.ts.map +0 -1
- package/dist/src/modules/session-replay.d.ts +0 -93
- package/dist/src/modules/session-replay.d.ts.map +0 -1
- package/dist/src/modules/user-agent.d.ts +0 -35
- package/dist/src/modules/user-agent.d.ts.map +0 -1
- package/dist/src/modules/visitor-persistence.d.ts +0 -51
- package/dist/src/modules/visitor-persistence.d.ts.map +0 -1
- package/dist/src/sdk.d.ts +0 -289
- package/dist/src/sdk.d.ts.map +0 -1
- package/dist/src/types/config.d.ts +0 -44
- package/dist/src/types/config.d.ts.map +0 -1
- package/dist/src/types/detection.d.ts +0 -114
- package/dist/src/types/detection.d.ts.map +0 -1
- package/dist/src/types/events.d.ts +0 -174
- package/dist/src/types/events.d.ts.map +0 -1
- package/dist/src/types/fingerprint.d.ts +0 -252
- package/dist/src/types/fingerprint.d.ts.map +0 -1
- package/dist/src/types/index.d.ts +0 -83
- package/dist/src/types/index.d.ts.map +0 -1
- package/dist/src/types/methods.d.ts +0 -83
- package/dist/src/types/methods.d.ts.map +0 -1
- package/dist/src/types/visitor.d.ts +0 -90
- package/dist/src/types/visitor.d.ts.map +0 -1
- package/dist/src/utils/browser.d.ts +0 -114
- package/dist/src/utils/browser.d.ts.map +0 -1
- package/dist/src/utils/lazy-loader.d.ts +0 -60
- package/dist/src/utils/lazy-loader.d.ts.map +0 -1
- package/dist/src/utils/session-utils.d.ts +0 -58
- package/dist/src/utils/session-utils.d.ts.map +0 -1
- package/dist/src/utils/webgl-cache.d.ts +0 -43
- package/dist/src/utils/webgl-cache.d.ts.map +0 -1
- package/dist/v2/chunks/fingerprint-ergvAID6.js +0 -8461
- package/dist/v2/chunks/replay-CM8dTFmL.js +0 -12158
- package/dist/v2/chunks/session-replay-C_UkGoTj.js +0 -240
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Enhanced Math Fingerprinting
|
|
3
|
-
* Based on FingerprintJS math fingerprinting with additional precision tests
|
|
4
|
-
*
|
|
5
|
-
* This component tests JavaScript math operations precision which varies between:
|
|
6
|
-
* - Different JavaScript engines (V8, SpiderMonkey, JavaScriptCore)
|
|
7
|
-
* - Different hardware architectures (x86, ARM, etc.)
|
|
8
|
-
* - Different operating systems
|
|
9
|
-
* - Different browser versions
|
|
10
|
-
*
|
|
11
|
-
* @see https://gitlab.torproject.org/legacy/trac/-/issues/13018
|
|
12
|
-
* @see https://bugzilla.mozilla.org/show_bug.cgi?id=531915
|
|
13
|
-
*/
|
|
14
|
-
export interface MathFingerprint {
|
|
15
|
-
acos: number;
|
|
16
|
-
asin: number;
|
|
17
|
-
atan: number;
|
|
18
|
-
cos: number;
|
|
19
|
-
sin: number;
|
|
20
|
-
tan: number;
|
|
21
|
-
acosh: number;
|
|
22
|
-
asinh: number;
|
|
23
|
-
atanh: number;
|
|
24
|
-
cosh: number;
|
|
25
|
-
sinh: number;
|
|
26
|
-
tanh: number;
|
|
27
|
-
exp: number;
|
|
28
|
-
expm1: number;
|
|
29
|
-
log1p: number;
|
|
30
|
-
powPI: number;
|
|
31
|
-
cbrt: number;
|
|
32
|
-
hypot: number;
|
|
33
|
-
log10: number;
|
|
34
|
-
log2: number;
|
|
35
|
-
acoshPf: number;
|
|
36
|
-
asinhPf: number;
|
|
37
|
-
atanhPf: number;
|
|
38
|
-
sinhPf: number;
|
|
39
|
-
coshPf: number;
|
|
40
|
-
expm1Pf: number;
|
|
41
|
-
tanhPf: number;
|
|
42
|
-
log1pPf: number;
|
|
43
|
-
precision: {
|
|
44
|
-
float32: number;
|
|
45
|
-
float64: number;
|
|
46
|
-
bigNumbers: number;
|
|
47
|
-
smallNumbers: number;
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Enhanced math fingerprinting with additional precision tests
|
|
52
|
-
*/
|
|
53
|
-
export declare function getMathFingerprint(): MathFingerprint;
|
|
54
|
-
/**
|
|
55
|
-
* Check if math fingerprinting is available
|
|
56
|
-
*/
|
|
57
|
-
export declare function isMathFingerprintingAvailable(): boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Get a hash of the math fingerprint for quick comparison
|
|
60
|
-
*/
|
|
61
|
-
export declare function getMathFingerprintHash(): string;
|
|
62
|
-
/**
|
|
63
|
-
* Analyze math fingerprint stability and provide confidence score
|
|
64
|
-
*/
|
|
65
|
-
export declare function analyzeMathFingerprint(mathData: MathFingerprint): {
|
|
66
|
-
confidence: number;
|
|
67
|
-
stability: 'high' | 'medium' | 'low';
|
|
68
|
-
uniqueness: number;
|
|
69
|
-
};
|
|
70
|
-
//# sourceMappingURL=math-enhanced.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"math-enhanced.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/math-enhanced.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,MAAM,WAAW,eAAe;IAE9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IAGb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IAGd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAGhB,SAAS,EAAE;QACT,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAKD;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,eAAe,CA8GpD;AAED;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,OAAO,CAOvD;AAED;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,MAAM,CAqB/C;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,eAAe,GAAG;IACjE,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;IACrC,UAAU,EAAE,MAAM,CAAC;CACpB,CA+BA"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Math Fingerprinting Module
|
|
3
|
-
* Based on FingerprintJS mathematical operations fingerprinting
|
|
4
|
-
* Different JavaScript engines and browsers handle floating-point operations differently
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Math operations that produce different results across browsers/engines
|
|
8
|
-
* These are based on engine-specific implementations and optimizations
|
|
9
|
-
*/
|
|
10
|
-
export declare function getMathFingerprint(): Record<string, number>;
|
|
11
|
-
/**
|
|
12
|
-
* Additional mathematical constants that might vary
|
|
13
|
-
*/
|
|
14
|
-
export declare function getMathConstants(): Record<string, number>;
|
|
15
|
-
/**
|
|
16
|
-
* Test floating-point precision differences
|
|
17
|
-
*/
|
|
18
|
-
export declare function getFloatingPointBehavior(): Record<string, number>;
|
|
19
|
-
/**
|
|
20
|
-
* Check if math fingerprinting is available
|
|
21
|
-
*/
|
|
22
|
-
export declare function isMathDetectionAvailable(): boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Get complete math fingerprint
|
|
25
|
-
*/
|
|
26
|
-
export interface MathFingerprint {
|
|
27
|
-
operations: Record<string, number>;
|
|
28
|
-
constants: Record<string, number>;
|
|
29
|
-
floatingPoint: Record<string, number>;
|
|
30
|
-
}
|
|
31
|
-
export declare function getCompleteMathFingerprint(): MathFingerprint;
|
|
32
|
-
//# sourceMappingURL=math.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/math.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA0F3D;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAezD;AAED;;GAEG;AACH,wBAAgB,wBAAwB,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAyBjE;AAED;;GAEG;AACH,wBAAgB,wBAAwB,IAAI,OAAO,CAElD;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACvC;AAED,wBAAgB,0BAA0B,IAAI,eAAe,CAM5D"}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Enhanced Plugin Detection Module
|
|
3
|
-
* Based on FingerprintJS advanced plugin enumeration and detection
|
|
4
|
-
* Provides comprehensive browser plugin, extension, and capability detection
|
|
5
|
-
* Enhanced with browser compatibility and edge case handling
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Error types for plugin detection
|
|
9
|
-
*/
|
|
10
|
-
export declare const enum PluginDetectionError {
|
|
11
|
-
NotSupported = "NOT_SUPPORTED",
|
|
12
|
-
SecurityRestricted = "SECURITY_RESTRICTED",
|
|
13
|
-
NavigatorUnavailable = "NAVIGATOR_UNAVAILABLE",
|
|
14
|
-
PluginsBlocked = "PLUGINS_BLOCKED"
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Plugin information interface
|
|
18
|
-
*/
|
|
19
|
-
export interface PluginInfo {
|
|
20
|
-
name: string;
|
|
21
|
-
filename: string;
|
|
22
|
-
description: string;
|
|
23
|
-
version?: string;
|
|
24
|
-
mimeTypes: string[];
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Enhanced plugin detection result
|
|
28
|
-
*/
|
|
29
|
-
export interface EnhancedPluginFingerprint {
|
|
30
|
-
plugins: PluginInfo[];
|
|
31
|
-
pluginCount: number;
|
|
32
|
-
mimeTypes: string[];
|
|
33
|
-
mimeTypeCount: number;
|
|
34
|
-
flashEnabled: boolean;
|
|
35
|
-
javaEnabled: boolean;
|
|
36
|
-
silverLightEnabled: boolean;
|
|
37
|
-
chromeExtensionsBlocked: boolean;
|
|
38
|
-
firefoxExtensionsBlocked: boolean;
|
|
39
|
-
securityPlugins: string[];
|
|
40
|
-
adBlockerPlugins: string[];
|
|
41
|
-
pluginSignature: string;
|
|
42
|
-
securityScore: number;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Get traditional navigator.plugins information (enhanced)
|
|
46
|
-
*/
|
|
47
|
-
export declare function getNavigatorPlugins(): PluginInfo[] | PluginDetectionError;
|
|
48
|
-
/**
|
|
49
|
-
* Get MIME types from navigator.mimeTypes
|
|
50
|
-
*/
|
|
51
|
-
export declare function getMimeTypes(): string[];
|
|
52
|
-
/**
|
|
53
|
-
* Test if Flash is enabled and available
|
|
54
|
-
*/
|
|
55
|
-
export declare function testFlashEnabled(): boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Test if Java is enabled and available
|
|
58
|
-
*/
|
|
59
|
-
export declare function testJavaEnabled(): boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Test if Silverlight is enabled and available
|
|
62
|
-
*/
|
|
63
|
-
export declare function testSilverlightEnabled(): boolean;
|
|
64
|
-
/**
|
|
65
|
-
* Detect Chrome extension blocking (enhanced)
|
|
66
|
-
*/
|
|
67
|
-
export declare function detectChromeExtensionsBlocked(): boolean | PluginDetectionError;
|
|
68
|
-
/**
|
|
69
|
-
* Detect Firefox extension blocking (enhanced)
|
|
70
|
-
*/
|
|
71
|
-
export declare function detectFirefoxExtensionsBlocked(): boolean | PluginDetectionError;
|
|
72
|
-
/**
|
|
73
|
-
* Identify security-related plugins
|
|
74
|
-
*/
|
|
75
|
-
export declare function identifySecurityPlugins(plugins: PluginInfo[]): string[];
|
|
76
|
-
/**
|
|
77
|
-
* Identify ad blocker plugins
|
|
78
|
-
*/
|
|
79
|
-
export declare function identifyAdBlockerPlugins(plugins: PluginInfo[]): string[];
|
|
80
|
-
/**
|
|
81
|
-
* Calculate plugin-based security score
|
|
82
|
-
*/
|
|
83
|
-
export declare function calculateSecurityScore(securityPlugins: string[], adBlockerPlugins: string[], flashEnabled: boolean, javaEnabled: boolean): number;
|
|
84
|
-
/**
|
|
85
|
-
* Generate plugin signature for fingerprinting
|
|
86
|
-
*/
|
|
87
|
-
export declare function generatePluginSignature(plugins: PluginInfo[], mimeTypes: string[]): string;
|
|
88
|
-
/**
|
|
89
|
-
* Check if enhanced plugin detection is available
|
|
90
|
-
* Enhanced with browser capability checks
|
|
91
|
-
*/
|
|
92
|
-
export declare function isEnhancedPluginDetectionAvailable(): boolean;
|
|
93
|
-
/**
|
|
94
|
-
* Get complete enhanced plugin fingerprint
|
|
95
|
-
*/
|
|
96
|
-
export declare function getEnhancedPluginFingerprint(): EnhancedPluginFingerprint;
|
|
97
|
-
//# sourceMappingURL=plugins-enhanced.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugins-enhanced.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/plugins-enhanced.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;GAEG;AACH,0BAAkB,oBAAoB;IACpC,YAAY,kBAAkB;IAC9B,kBAAkB,wBAAwB;IAC1C,oBAAoB,0BAA0B;IAC9C,cAAc,oBAAoB;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IAEtB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,OAAO,CAAC;IAE5B,uBAAuB,EAAE,OAAO,CAAC;IACjC,wBAAwB,EAAE,OAAO,CAAC;IAElC,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAE3B,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,UAAU,EAAE,GAAG,oBAAoB,CA+CzE;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAI,MAAM,EAAE,CAkBvC;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAoC1C;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAsCzC;AAED;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,OAAO,CAmChD;AAED;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,OAAO,GAAG,oBAAoB,CAkD9E;AAED;;GAEG;AACH,wBAAgB,8BAA8B,IAAI,OAAO,GAAG,oBAAoB,CA2C/E;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,MAAM,EAAE,CAevE;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,MAAM,EAAE,CAcxE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,eAAe,EAAE,MAAM,EAAE,EACzB,gBAAgB,EAAE,MAAM,EAAE,EAC1B,YAAY,EAAE,OAAO,EACrB,WAAW,EAAE,OAAO,GACnB,MAAM,CAqBR;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,UAAU,EAAE,EACrB,SAAS,EAAE,MAAM,EAAE,GAClB,MAAM,CAYR;AAED;;;GAGG;AACH,wBAAgB,kCAAkC,IAAI,OAAO,CAG5D;AA8BD;;GAEG;AACH,wBAAgB,4BAA4B,IAAI,yBAAyB,CA0CxE"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Screen and Viewport Fingerprinting
|
|
3
|
-
* Based on FingerprintJS screen components
|
|
4
|
-
*/
|
|
5
|
-
import type { FingerprintComponent, ScreenFingerprint } from "../../types/fingerprint";
|
|
6
|
-
/**
|
|
7
|
-
* Generate screen fingerprint with stabilization techniques
|
|
8
|
-
* Based on FingerprintJS approach: uses rounding and consistent ordering
|
|
9
|
-
*/
|
|
10
|
-
export declare function getScreenFingerprint(): Promise<FingerprintComponent<ScreenFingerprint>>;
|
|
11
|
-
/**
|
|
12
|
-
* Check if screen fingerprinting is available
|
|
13
|
-
*/
|
|
14
|
-
export declare function isScreenAvailable(): boolean;
|
|
15
|
-
//# sourceMappingURL=screen.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"screen.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/screen.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,yBAAyB,CAAC;AAsIjC;;;GAGG;AACH,wBAAsB,oBAAoB,IAAI,OAAO,CACnD,oBAAoB,CAAC,iBAAiB,CAAC,CACxC,CAoEA;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAU3C"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Storage Fingerprinting Module
|
|
3
|
-
* Based on FingerprintJS storage detection techniques
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Local Storage Detection
|
|
7
|
-
* Tests availability and behavior of localStorage
|
|
8
|
-
*/
|
|
9
|
-
export declare function getLocalStorageSupport(): boolean | "blocked";
|
|
10
|
-
/**
|
|
11
|
-
* Session Storage Detection
|
|
12
|
-
* Tests availability and behavior of sessionStorage
|
|
13
|
-
*/
|
|
14
|
-
export declare function getSessionStorageSupport(): boolean | "blocked";
|
|
15
|
-
/**
|
|
16
|
-
* IndexedDB Detection
|
|
17
|
-
* Tests availability of IndexedDB
|
|
18
|
-
*/
|
|
19
|
-
export declare function getIndexedDBSupport(): Promise<boolean | "blocked">;
|
|
20
|
-
/**
|
|
21
|
-
* WebSQL Detection (Legacy)
|
|
22
|
-
* Tests availability of WebSQL (deprecated but still useful for fingerprinting)
|
|
23
|
-
*/
|
|
24
|
-
export declare function getWebSQLSupport(): boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Storage Quota Detection
|
|
27
|
-
* Attempts to detect storage quota information
|
|
28
|
-
*/
|
|
29
|
-
export declare function getStorageQuota(): Promise<Record<string, any>>;
|
|
30
|
-
/**
|
|
31
|
-
* Check if storage fingerprinting is available
|
|
32
|
-
*/
|
|
33
|
-
export declare function isStorageDetectionAvailable(): boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Get complete storage fingerprint
|
|
36
|
-
*/
|
|
37
|
-
export interface StorageFingerprint {
|
|
38
|
-
localStorage: boolean | "blocked";
|
|
39
|
-
sessionStorage: boolean | "blocked";
|
|
40
|
-
indexedDB: boolean | "blocked";
|
|
41
|
-
webSQL: boolean;
|
|
42
|
-
quota: Record<string, any>;
|
|
43
|
-
}
|
|
44
|
-
export declare function getStorageFingerprint(): Promise<StorageFingerprint>;
|
|
45
|
-
//# sourceMappingURL=storage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/storage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;GAGG;AACH,wBAAgB,sBAAsB,IAAI,OAAO,GAAG,SAAS,CAkB5D;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,IAAI,OAAO,GAAG,SAAS,CAiB9D;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAmDlE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAS1C;AAED;;;GAGG;AACH,wBAAsB,eAAe,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAiBpE;AAED;;GAEG;AACH,wBAAgB,2BAA2B,IAAI,OAAO,CAErD;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,cAAc,EAAE,OAAO,GAAG,SAAS,CAAC;IACpC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5B;AAED,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAazE"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* System Fingerprinting Module
|
|
3
|
-
* Based on FingerprintJS system detection techniques
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Timezone Detection
|
|
7
|
-
* Gets the user's timezone with multiple fallbacks
|
|
8
|
-
*/
|
|
9
|
-
export declare function getTimezone(): string;
|
|
10
|
-
/**
|
|
11
|
-
* Languages Detection
|
|
12
|
-
* Gets complete language preferences list
|
|
13
|
-
*/
|
|
14
|
-
export declare function getLanguages(): string[];
|
|
15
|
-
/**
|
|
16
|
-
* Date/Time Locale Detection
|
|
17
|
-
* Detects locale formatting preferences
|
|
18
|
-
*/
|
|
19
|
-
export declare function getDateTimeLocale(): Record<string, string>;
|
|
20
|
-
/**
|
|
21
|
-
* Platform Extended Detection
|
|
22
|
-
* Enhanced platform detection with additional info
|
|
23
|
-
*/
|
|
24
|
-
export declare function getPlatformExtended(): Record<string, any>;
|
|
25
|
-
/**
|
|
26
|
-
* Check if system fingerprinting is available
|
|
27
|
-
*/
|
|
28
|
-
export declare function isSystemDetectionAvailable(): boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Get complete system fingerprint
|
|
31
|
-
*/
|
|
32
|
-
export interface SystemFingerprint {
|
|
33
|
-
timezone: string;
|
|
34
|
-
languages: string[];
|
|
35
|
-
dateTimeLocale: Record<string, string>;
|
|
36
|
-
platform: Record<string, any>;
|
|
37
|
-
cookiesEnabled: boolean;
|
|
38
|
-
}
|
|
39
|
-
export declare function getSystemFingerprint(): SystemFingerprint;
|
|
40
|
-
//# sourceMappingURL=system.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/system.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;GAGG;AACH,wBAAgB,WAAW,IAAI,MAAM,CAgBpC;AAED;;;GAGG;AACH,wBAAgB,YAAY,IAAI,MAAM,EAAE,CAyBvC;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAkB1D;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAoCzD;AAED;;GAEG;AACH,wBAAgB,0BAA0B,IAAI,OAAO,CAEpD;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACvC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC9B,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,oBAAoB,IAAI,iBAAiB,CAQxD"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WebGL Fingerprinting
|
|
3
|
-
* Based on FingerprintJS WebGL component for GPU and driver detection
|
|
4
|
-
* Enhanced with context caching for performance
|
|
5
|
-
*/
|
|
6
|
-
import type { FingerprintComponent, WebGLFingerprint } from '../../types/fingerprint';
|
|
7
|
-
/**
|
|
8
|
-
* Generate WebGL fingerprint (enhanced with 3D rendering and advanced capabilities)
|
|
9
|
-
*/
|
|
10
|
-
export declare function getWebGLFingerprint(): Promise<FingerprintComponent<WebGLFingerprint>>;
|
|
11
|
-
/**
|
|
12
|
-
* Check if WebGL fingerprinting is available (with proper cleanup)
|
|
13
|
-
*/
|
|
14
|
-
export declare function isWebGLAvailable(): boolean;
|
|
15
|
-
//# sourceMappingURL=webgl.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webgl.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/webgl.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AA6ZtF;;GAEG;AACH,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,CAAC,CAsH3F;AAOD;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAqD1C"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fingerprint Orchestrator
|
|
3
|
-
* Main fingerprinting engine that coordinates all components
|
|
4
|
-
* Based on FingerprintJS architecture with privacy-first approach
|
|
5
|
-
*/
|
|
6
|
-
import type { FingerprintComponentType, FingerprintData, FingerprintOptions, FingerprintResult } from "../types/fingerprint";
|
|
7
|
-
/**
|
|
8
|
-
* Main fingerprint collection function
|
|
9
|
-
*/
|
|
10
|
-
export declare function collectFingerprint(options?: Partial<FingerprintOptions>): Promise<FingerprintResult>;
|
|
11
|
-
/**
|
|
12
|
-
* Generate visitor ID from fingerprint
|
|
13
|
-
*/
|
|
14
|
-
export declare function generateVisitorIdFromFingerprint(fingerprintData: FingerprintData): string;
|
|
15
|
-
/**
|
|
16
|
-
* Get a lightweight fingerprint (GDPR-compliant)
|
|
17
|
-
*/
|
|
18
|
-
export declare function getLightweightFingerprint(): Promise<FingerprintResult>;
|
|
19
|
-
/**
|
|
20
|
-
* Get a complete fingerprint (enhanced mode)
|
|
21
|
-
*/
|
|
22
|
-
export declare function getCompleteFingerprint(): Promise<FingerprintResult>;
|
|
23
|
-
/**
|
|
24
|
-
* Clear session fingerprint cache (memory only)
|
|
25
|
-
*/
|
|
26
|
-
export declare function clearFingerprintCache(): void;
|
|
27
|
-
/**
|
|
28
|
-
* Check if fingerprinting is available
|
|
29
|
-
*/
|
|
30
|
-
export declare function isFingerprintingAvailable(): boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Get available fingerprinting components
|
|
33
|
-
*/
|
|
34
|
-
export declare function getAvailableComponents(): FingerprintComponentType[];
|
|
35
|
-
//# sourceMappingURL=fingerprint.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fingerprint.d.ts","sourceRoot":"","sources":["../../../src/modules/fingerprint.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAEV,wBAAwB,EACxB,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,sBAAsB,CAAC;AAyO9B;;GAEG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,GAAE,OAAO,CAAC,kBAAkB,CAAM,GACxC,OAAO,CAAC,iBAAiB,CAAC,CA0iC5B;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAC9C,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER;AAED;;GAEG;AACH,wBAAsB,yBAAyB,IAAI,OAAO,CAAC,iBAAiB,CAAC,CAO5E;AAED;;GAEG;AACH,wBAAsB,sBAAsB,IAAI,OAAO,CAAC,iBAAiB,CAAC,CAMzE;AAED;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAE5C;AAED;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,OAAO,CAGnD;AAED;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,wBAAwB,EAAE,CAWnE"}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Global Interface for Zaplier SDK
|
|
3
|
-
* Provides unified API for both Script tag and NPM usage
|
|
4
|
-
*/
|
|
5
|
-
import { ZaplierSDK } from "../sdk";
|
|
6
|
-
import type { SDKConfig } from "../types";
|
|
7
|
-
import type { AutoTrackerConfig } from "./auto-tracker";
|
|
8
|
-
/**
|
|
9
|
-
* Unified Zaplier interface
|
|
10
|
-
*/
|
|
11
|
-
export declare const Zaplier: {
|
|
12
|
-
/**
|
|
13
|
-
* Initialize SDK
|
|
14
|
-
*/
|
|
15
|
-
init: (config: SDKConfig) => ZaplierSDK;
|
|
16
|
-
/**
|
|
17
|
-
* Get current instance
|
|
18
|
-
*/
|
|
19
|
-
getInstance: () => ZaplierSDK | null;
|
|
20
|
-
/**
|
|
21
|
-
* Track custom event
|
|
22
|
-
*/
|
|
23
|
-
track: (eventType: string, eventData?: Record<string, any>) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Track page view
|
|
26
|
-
*/
|
|
27
|
-
trackPageView: (data?: any) => void;
|
|
28
|
-
/**
|
|
29
|
-
* Track custom event (alias for track)
|
|
30
|
-
*/
|
|
31
|
-
trackEvent: (eventName: string, metadata?: Record<string, any>) => boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Track conversion
|
|
34
|
-
*/
|
|
35
|
-
trackConversion: (conversionType: string, value?: number, currency?: string, metadata?: Record<string, any>) => void;
|
|
36
|
-
/**
|
|
37
|
-
* Track purchase
|
|
38
|
-
*/
|
|
39
|
-
trackPurchase: (data: {
|
|
40
|
-
value: number;
|
|
41
|
-
currency?: string;
|
|
42
|
-
items?: Array<{
|
|
43
|
-
id: string;
|
|
44
|
-
name: string;
|
|
45
|
-
category?: string;
|
|
46
|
-
quantity?: number;
|
|
47
|
-
price?: number;
|
|
48
|
-
}>;
|
|
49
|
-
orderId?: string;
|
|
50
|
-
coupon?: string;
|
|
51
|
-
}) => void;
|
|
52
|
-
/**
|
|
53
|
-
* Track add to cart
|
|
54
|
-
*/
|
|
55
|
-
trackAddToCart: (data?: {
|
|
56
|
-
productId?: string;
|
|
57
|
-
productName?: string;
|
|
58
|
-
price?: number;
|
|
59
|
-
quantity?: number;
|
|
60
|
-
customData?: Record<string, any>;
|
|
61
|
-
}) => void;
|
|
62
|
-
/**
|
|
63
|
-
* Identify user
|
|
64
|
-
*/
|
|
65
|
-
identify: (userData: {
|
|
66
|
-
email?: string;
|
|
67
|
-
name?: string;
|
|
68
|
-
id?: string;
|
|
69
|
-
properties?: Record<string, any>;
|
|
70
|
-
}) => void;
|
|
71
|
-
/**
|
|
72
|
-
* Get visitor ID
|
|
73
|
-
*/
|
|
74
|
-
getVisitorId: () => string | null;
|
|
75
|
-
/**
|
|
76
|
-
* Get visitor info
|
|
77
|
-
*/
|
|
78
|
-
getVisitorInfo: () => Promise<any>;
|
|
79
|
-
/**
|
|
80
|
-
* Get user data
|
|
81
|
-
*/
|
|
82
|
-
getUserData: () => any;
|
|
83
|
-
/**
|
|
84
|
-
* Enable enhanced tracking
|
|
85
|
-
*/
|
|
86
|
-
enableEnhancedTracking: () => boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Disable enhanced tracking
|
|
89
|
-
*/
|
|
90
|
-
disableEnhancedTracking: () => void;
|
|
91
|
-
/**
|
|
92
|
-
* Check if enhanced mode is active
|
|
93
|
-
*/
|
|
94
|
-
isEnhancedMode: () => boolean;
|
|
95
|
-
/**
|
|
96
|
-
* Heatmap controls
|
|
97
|
-
*/
|
|
98
|
-
heatmap: {
|
|
99
|
-
enable: () => void;
|
|
100
|
-
disable: () => void;
|
|
101
|
-
enableMouseTracking: () => void;
|
|
102
|
-
disableMouseTracking: () => void;
|
|
103
|
-
getStats: () => {
|
|
104
|
-
clickCount: number;
|
|
105
|
-
maxScrollDepth: number;
|
|
106
|
-
isRecording: boolean;
|
|
107
|
-
mouseMovements: number;
|
|
108
|
-
rageClicks: number;
|
|
109
|
-
} | null;
|
|
110
|
-
isRecording: () => boolean;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* Session replay controls
|
|
114
|
-
*/
|
|
115
|
-
replay: {
|
|
116
|
-
enable: () => void;
|
|
117
|
-
disable: () => void;
|
|
118
|
-
start: () => boolean;
|
|
119
|
-
stop: () => void;
|
|
120
|
-
isRecording: () => boolean;
|
|
121
|
-
getEventCount: () => number;
|
|
122
|
-
addFunnelStep: (stepData: Record<string, any>) => void;
|
|
123
|
-
markConversion: (data: Record<string, any>) => void;
|
|
124
|
-
};
|
|
125
|
-
/**
|
|
126
|
-
* Auto Tracker API
|
|
127
|
-
*/
|
|
128
|
-
autoTrack: {
|
|
129
|
-
enable: () => void;
|
|
130
|
-
disable: () => void;
|
|
131
|
-
configure: (config: Partial<AutoTrackerConfig>) => void;
|
|
132
|
-
getStats: () => {
|
|
133
|
-
observedElements: number;
|
|
134
|
-
config: AutoTrackerConfig;
|
|
135
|
-
isModern: boolean;
|
|
136
|
-
diagnostics?: object;
|
|
137
|
-
} | null;
|
|
138
|
-
isEnabled: () => boolean;
|
|
139
|
-
};
|
|
140
|
-
/**
|
|
141
|
-
* Debug and utility functions
|
|
142
|
-
*/
|
|
143
|
-
debug: {
|
|
144
|
-
getStats: () => any;
|
|
145
|
-
getSuccessRates: () => any;
|
|
146
|
-
testTransports: () => any;
|
|
147
|
-
};
|
|
148
|
-
/**
|
|
149
|
-
* Version info
|
|
150
|
-
*/
|
|
151
|
-
version: string;
|
|
152
|
-
};
|
|
153
|
-
/**
|
|
154
|
-
* Auto-initialization from script tag data attributes
|
|
155
|
-
*/
|
|
156
|
-
export declare function autoInitializeFromScript(): void;
|
|
157
|
-
//# sourceMappingURL=global-interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"global-interface.d.ts","sourceRoot":"","sources":["../../../src/modules/global-interface.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAKxD;;GAEG;AACH,eAAO,MAAM,OAAO;IAClB;;OAEG;mBACY,SAAS,KAAG,UAAU;IAUrC;;OAEG;uBACc,UAAU,GAAG,IAAI;IAIlC;;OAEG;uBACgB,MAAM,cAAc,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAG,IAAI;IAQjE;;OAEG;2BACoB,GAAG,KAAG,IAAI;IAQjC;;OAEG;4BACqB,MAAM,aAAa,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAG,OAAO;IAQxE;;OAEG;sCAEe,MAAM,UACd,MAAM,aACH,MAAM,aACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAC7B,IAAI;IAQP;;OAEG;0BACmB;QACpB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE,KAAK,CAAC;YACZ,EAAE,EAAE,MAAM,CAAC;YACX,IAAI,EAAE,MAAM,CAAC;YACb,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB,CAAC,CAAC;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,KAAG,IAAI;IAQR;;OAEG;4BACqB;QACtB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAClC,KAAG,IAAI;IAQR;;OAEG;yBACkB;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAClC,KAAG,IAAI;IAQR;;OAEG;wBACe,MAAM,GAAG,IAAI;IAO/B;;OAEG;0BACiB,OAAO,CAAC,GAAG,CAAC;IAOhC;;OAEG;uBACc,GAAG;IAOpB;;OAEG;kCACyB,OAAO;IAQnC;;OAEG;mCAC0B,IAAI;IAQjC;;OAEG;0BACiB,OAAO;IAO3B;;OAEG;;sBAEW,IAAI;uBAOH,IAAI;mCAOQ,IAAI;oCAOH,IAAI;;;;;;;;2BAab,OAAO;;IAQ1B;;OAEG;;sBAEW,IAAI;uBAOH,IAAI;qBAON,OAAO;oBAOR,IAAI;2BAOG,OAAO;6BAML,MAAM;kCAMC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAG,IAAI;+BAO7B,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAG,IAAI;;IASnD;;OAEG;;sBAEW,IAAI;uBAOH,IAAI;4BAOG,OAAO,CAAC,iBAAiB,CAAC,KAAG,IAAI;;;;;;;yBAatC,OAAO;;IAQxB;;OAEG;;;;;;IAsBH;;OAEG;;CAEJ,CAAC;AAEF;;GAEG;AACH,wBAAgB,wBAAwB,IAAI,IAAI,CA4C/C"}
|