@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.
Files changed (144) hide show
  1. package/dist/core-ultra.min.js +10 -0
  2. package/dist/index.cjs +1615 -34
  3. package/dist/index.d.ts +11 -7
  4. package/dist/index.esm.js +1615 -34
  5. package/dist/v2/chunks/browser-apis-AyU2utpF.min.js +6 -0
  6. package/dist/v2/chunks/confidence-BslwbUCt.min.js +6 -0
  7. package/dist/v2/chunks/device-signals-2L_62qNZ.min.js +6 -0
  8. package/dist/v2/chunks/dom-blockers-C467-IRd.min.js +6 -0
  9. package/dist/v2/chunks/fingerprint-FfUEEIAd.min.js +6 -0
  10. package/dist/v2/chunks/hardware-9ikfSEs-.min.js +6 -0
  11. package/dist/v2/chunks/incognito-CkKAdE8Z.min.js +6 -0
  12. package/dist/v2/chunks/math-Q4s6nkVD.min.js +6 -0
  13. package/dist/v2/chunks/plugins-enhanced-mUjU1EXe.min.js +6 -0
  14. package/dist/v2/chunks/session-replay-C5Tp0d16.min.js +6 -0
  15. package/dist/v2/chunks/storage-Bl_8oytT.min.js +6 -0
  16. package/dist/v2/chunks/system-DTjxyOZF.min.js +6 -0
  17. package/dist/v2/core.d.ts +7 -0
  18. package/dist/v2/core.js +2 -2
  19. package/dist/v2/core.min.js +2 -2
  20. package/dist/v2/modules/anti-adblock.js +2 -2
  21. package/dist/v2/modules/browser-apis-C32PGYAh.js +6 -0
  22. package/dist/v2/modules/browser-apis-DzzjRXFN.js +6 -0
  23. package/dist/v2/modules/confidence-CLylpqVh.js +6 -0
  24. package/dist/v2/modules/device-signals-ChNkNSJR.js +6 -0
  25. package/dist/v2/modules/device-signals-D-VQg-o6.js +6 -0
  26. package/dist/v2/modules/dom-blockers-BamKJxCs.js +6 -0
  27. package/dist/v2/modules/dom-blockers-D9M2aO9M.js +6 -0
  28. package/dist/v2/modules/fingerprint-CRCL21-p.js +6 -0
  29. package/dist/v2/modules/fingerprint-Ddq30bun.js +6 -0
  30. package/dist/v2/modules/fingerprint.js +2 -2
  31. package/dist/v2/modules/hardware-BxWqOjae.js +6 -0
  32. package/dist/v2/modules/heatmap.js +1 -1
  33. package/dist/v2/modules/incognito-CBxUhUOT.js +6 -0
  34. package/dist/v2/modules/incognito-DpuYoC8S.js +6 -0
  35. package/dist/v2/modules/math-B13vt1ND.js +6 -0
  36. package/dist/v2/modules/plugins-enhanced-CnBdC9_k.js +6 -0
  37. package/dist/v2/modules/plugins-enhanced-D5ft0k0e.js +6 -0
  38. package/dist/v2/modules/replay.js +2 -2
  39. package/dist/v2/modules/storage-D8dcMojB.js +6 -0
  40. package/dist/v2/modules/system-ZMflVbka.js +6 -0
  41. package/package.json +47 -22
  42. package/dist/index.cjs.map +0 -1
  43. package/dist/index.esm.js.map +0 -1
  44. package/dist/index.js +0 -3517
  45. package/dist/index.js.map +0 -1
  46. package/dist/sdk.js +0 -26960
  47. package/dist/sdk.js.map +0 -1
  48. package/dist/sdk.legacy.min.js +0 -6
  49. package/dist/sdk.min.js +0 -7
  50. package/dist/src/core.d.ts +0 -87
  51. package/dist/src/core.d.ts.map +0 -1
  52. package/dist/src/index.d.ts +0 -15
  53. package/dist/src/index.d.ts.map +0 -1
  54. package/dist/src/modules/anti-adblock.d.ts +0 -113
  55. package/dist/src/modules/anti-adblock.d.ts.map +0 -1
  56. package/dist/src/modules/auto-tracker.d.ts +0 -240
  57. package/dist/src/modules/auto-tracker.d.ts.map +0 -1
  58. package/dist/src/modules/bot-detection.d.ts +0 -15
  59. package/dist/src/modules/bot-detection.d.ts.map +0 -1
  60. package/dist/src/modules/fingerprint/accessibility.d.ts +0 -155
  61. package/dist/src/modules/fingerprint/accessibility.d.ts.map +0 -1
  62. package/dist/src/modules/fingerprint/audio.d.ts +0 -15
  63. package/dist/src/modules/fingerprint/audio.d.ts.map +0 -1
  64. package/dist/src/modules/fingerprint/browser-apis.d.ts +0 -108
  65. package/dist/src/modules/fingerprint/browser-apis.d.ts.map +0 -1
  66. package/dist/src/modules/fingerprint/browser.d.ts +0 -14
  67. package/dist/src/modules/fingerprint/browser.d.ts.map +0 -1
  68. package/dist/src/modules/fingerprint/canvas.d.ts +0 -14
  69. package/dist/src/modules/fingerprint/canvas.d.ts.map +0 -1
  70. package/dist/src/modules/fingerprint/confidence.d.ts +0 -89
  71. package/dist/src/modules/fingerprint/confidence.d.ts.map +0 -1
  72. package/dist/src/modules/fingerprint/datetime-locale.d.ts +0 -76
  73. package/dist/src/modules/fingerprint/datetime-locale.d.ts.map +0 -1
  74. package/dist/src/modules/fingerprint/device-signals.d.ts +0 -29
  75. package/dist/src/modules/fingerprint/device-signals.d.ts.map +0 -1
  76. package/dist/src/modules/fingerprint/dom-blockers.d.ts +0 -56
  77. package/dist/src/modules/fingerprint/dom-blockers.d.ts.map +0 -1
  78. package/dist/src/modules/fingerprint/font-preferences.d.ts +0 -70
  79. package/dist/src/modules/fingerprint/font-preferences.d.ts.map +0 -1
  80. package/dist/src/modules/fingerprint/fonts-enhanced.d.ts +0 -43
  81. package/dist/src/modules/fingerprint/fonts-enhanced.d.ts.map +0 -1
  82. package/dist/src/modules/fingerprint/fonts.d.ts +0 -14
  83. package/dist/src/modules/fingerprint/fonts.d.ts.map +0 -1
  84. package/dist/src/modules/fingerprint/hardware.d.ts +0 -40
  85. package/dist/src/modules/fingerprint/hardware.d.ts.map +0 -1
  86. package/dist/src/modules/fingerprint/hashing.d.ts +0 -29
  87. package/dist/src/modules/fingerprint/hashing.d.ts.map +0 -1
  88. package/dist/src/modules/fingerprint/incognito.d.ts +0 -6
  89. package/dist/src/modules/fingerprint/incognito.d.ts.map +0 -1
  90. package/dist/src/modules/fingerprint/math-enhanced.d.ts +0 -70
  91. package/dist/src/modules/fingerprint/math-enhanced.d.ts.map +0 -1
  92. package/dist/src/modules/fingerprint/math.d.ts +0 -32
  93. package/dist/src/modules/fingerprint/math.d.ts.map +0 -1
  94. package/dist/src/modules/fingerprint/plugins-enhanced.d.ts +0 -97
  95. package/dist/src/modules/fingerprint/plugins-enhanced.d.ts.map +0 -1
  96. package/dist/src/modules/fingerprint/screen.d.ts +0 -15
  97. package/dist/src/modules/fingerprint/screen.d.ts.map +0 -1
  98. package/dist/src/modules/fingerprint/storage.d.ts +0 -45
  99. package/dist/src/modules/fingerprint/storage.d.ts.map +0 -1
  100. package/dist/src/modules/fingerprint/system.d.ts +0 -40
  101. package/dist/src/modules/fingerprint/system.d.ts.map +0 -1
  102. package/dist/src/modules/fingerprint/webgl.d.ts +0 -15
  103. package/dist/src/modules/fingerprint/webgl.d.ts.map +0 -1
  104. package/dist/src/modules/fingerprint.d.ts +0 -35
  105. package/dist/src/modules/fingerprint.d.ts.map +0 -1
  106. package/dist/src/modules/global-interface.d.ts +0 -157
  107. package/dist/src/modules/global-interface.d.ts.map +0 -1
  108. package/dist/src/modules/heatmap.d.ts +0 -145
  109. package/dist/src/modules/heatmap.d.ts.map +0 -1
  110. package/dist/src/modules/incognito-detection.d.ts +0 -23
  111. package/dist/src/modules/incognito-detection.d.ts.map +0 -1
  112. package/dist/src/modules/session-replay.d.ts +0 -93
  113. package/dist/src/modules/session-replay.d.ts.map +0 -1
  114. package/dist/src/modules/user-agent.d.ts +0 -35
  115. package/dist/src/modules/user-agent.d.ts.map +0 -1
  116. package/dist/src/modules/visitor-persistence.d.ts +0 -51
  117. package/dist/src/modules/visitor-persistence.d.ts.map +0 -1
  118. package/dist/src/sdk.d.ts +0 -289
  119. package/dist/src/sdk.d.ts.map +0 -1
  120. package/dist/src/types/config.d.ts +0 -44
  121. package/dist/src/types/config.d.ts.map +0 -1
  122. package/dist/src/types/detection.d.ts +0 -114
  123. package/dist/src/types/detection.d.ts.map +0 -1
  124. package/dist/src/types/events.d.ts +0 -174
  125. package/dist/src/types/events.d.ts.map +0 -1
  126. package/dist/src/types/fingerprint.d.ts +0 -252
  127. package/dist/src/types/fingerprint.d.ts.map +0 -1
  128. package/dist/src/types/index.d.ts +0 -83
  129. package/dist/src/types/index.d.ts.map +0 -1
  130. package/dist/src/types/methods.d.ts +0 -83
  131. package/dist/src/types/methods.d.ts.map +0 -1
  132. package/dist/src/types/visitor.d.ts +0 -90
  133. package/dist/src/types/visitor.d.ts.map +0 -1
  134. package/dist/src/utils/browser.d.ts +0 -114
  135. package/dist/src/utils/browser.d.ts.map +0 -1
  136. package/dist/src/utils/lazy-loader.d.ts +0 -60
  137. package/dist/src/utils/lazy-loader.d.ts.map +0 -1
  138. package/dist/src/utils/session-utils.d.ts +0 -58
  139. package/dist/src/utils/session-utils.d.ts.map +0 -1
  140. package/dist/src/utils/webgl-cache.d.ts +0 -43
  141. package/dist/src/utils/webgl-cache.d.ts.map +0 -1
  142. package/dist/v2/chunks/fingerprint-ergvAID6.js +0 -8461
  143. package/dist/v2/chunks/replay-CM8dTFmL.js +0 -12158
  144. package/dist/v2/chunks/session-replay-C_UkGoTj.js +0 -240
@@ -1,108 +0,0 @@
1
- /**
2
- * Browser-Specific APIs Detection Module
3
- * Based on FingerprintJS browser-specific API detection
4
- * Detects availability and state of browser-specific features and APIs
5
- */
6
- /**
7
- * Error types for browser APIs detection
8
- */
9
- export declare const enum BrowserAPIError {
10
- NotSupported = "NOT_SUPPORTED",
11
- SecurityError = "SECURITY_ERROR",
12
- FeatureUnavailable = "FEATURE_UNAVAILABLE",
13
- BrowserIncompatible = "BROWSER_INCOMPATIBLE"
14
- }
15
- /**
16
- * PDF Viewer Detection
17
- * Detects if native PDF viewer is enabled (Chrome/Edge feature)
18
- */
19
- export declare function getPdfViewerEnabled(): boolean | null;
20
- /**
21
- * Apple Pay State Detection
22
- * Detects Apple Pay availability and state (Safari/iOS feature)
23
- */
24
- export declare const enum ApplePayState {
25
- Disabled = 0,
26
- Enabled = 1,
27
- NoAPI = -1,
28
- NotAvailableInInsecureContext = -2,
29
- NotAvailableInFrame = -3
30
- }
31
- export declare function getApplePayState(): ApplePayState;
32
- /**
33
- * Private Click Measurement Detection
34
- * Detects Safari's Private Click Measurement API
35
- */
36
- export declare function getPrivateClickMeasurement(): boolean | null;
37
- /**
38
- * Enhanced Cookies Detection
39
- * More detailed cookie support detection
40
- */
41
- export interface CookieCapabilities {
42
- enabled: boolean;
43
- sameSiteSupport: boolean;
44
- secureSupport: boolean;
45
- partitionedSupport: boolean;
46
- }
47
- export declare function getCookieCapabilities(): CookieCapabilities;
48
- /**
49
- * WebGL Extensions Detection
50
- * Enhanced WebGL extension detection
51
- */
52
- export declare function getWebGLExtensions(): string[];
53
- /**
54
- * Performance Memory Detection
55
- * Chrome-specific memory information
56
- */
57
- export interface PerformanceMemory {
58
- usedJSHeapSize?: number;
59
- totalJSHeapSize?: number;
60
- jsHeapSizeLimit?: number;
61
- }
62
- export declare function getPerformanceMemory(): PerformanceMemory | null;
63
- /**
64
- * Connection Information Detection
65
- * Network connection information (Chrome/Edge)
66
- */
67
- export interface ConnectionInfo {
68
- effectiveType?: string;
69
- downlink?: number;
70
- rtt?: number;
71
- saveData?: boolean;
72
- }
73
- export declare function getConnectionInfo(): ConnectionInfo | null;
74
- /**
75
- * Vendor-specific Properties Detection
76
- * Detects browser vendor-specific properties
77
- */
78
- export interface VendorProperties {
79
- webkitTemporaryStorage?: boolean;
80
- webkitPersistentStorage?: boolean;
81
- safariObjectTypes?: string[];
82
- chromeRuntime?: boolean;
83
- mozInnerScreenX?: boolean;
84
- msCredentials?: boolean;
85
- }
86
- export declare function getVendorProperties(): VendorProperties;
87
- /**
88
- * Check if browser APIs detection is available
89
- */
90
- export declare function isBrowserApisDetectionAvailable(): boolean;
91
- /**
92
- * Complete browser APIs fingerprint
93
- */
94
- export interface BrowserApisFingerprint {
95
- pdfViewerEnabled: boolean | null;
96
- applePayState: ApplePayState;
97
- privateClickMeasurement: boolean | null;
98
- cookieCapabilities: CookieCapabilities;
99
- webglExtensions: string[];
100
- performanceMemory: PerformanceMemory | null;
101
- connectionInfo: ConnectionInfo | null;
102
- vendorProperties: VendorProperties;
103
- browserVendor: string;
104
- hasNativeFeatures: boolean;
105
- apiScore: number;
106
- }
107
- export declare function getBrowserApisFingerprint(): BrowserApisFingerprint;
108
- //# sourceMappingURL=browser-apis.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"browser-apis.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/browser-apis.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH;;GAEG;AACH,0BAAkB,eAAe;IAC/B,YAAY,kBAAkB;IAC9B,aAAa,mBAAmB;IAChC,kBAAkB,wBAAwB;IAC1C,mBAAmB,yBAAyB;CAC7C;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,IAAI,OAAO,GAAG,IAAI,CAUpD;AAED;;;GAGG;AACH,0BAAkB,aAAa;IAC7B,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,KAAK,KAAK;IACV,6BAA6B,KAAK;IAClC,mBAAmB,KAAK;CACzB;AAED,wBAAgB,gBAAgB,IAAI,aAAa,CAqChD;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,IAAI,OAAO,GAAG,IAAI,CAS3D;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AAED,wBAAgB,qBAAqB,IAAI,kBAAkB,CAoC1D;AA0DD;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,EAAE,CAc7C;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,oBAAoB,IAAI,iBAAiB,GAAG,IAAI,CAe/D;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,iBAAiB,IAAI,cAAc,GAAG,IAAI,CAmBzD;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,mBAAmB,IAAI,gBAAgB,CA0BtD;AAED;;GAEG;AACH,wBAAgB,+BAA+B,IAAI,OAAO,CAEzD;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,gBAAgB,EAAE,OAAO,GAAG,IAAI,CAAC;IACjC,aAAa,EAAE,aAAa,CAAC;IAC7B,uBAAuB,EAAE,OAAO,GAAG,IAAI,CAAC;IACxC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,iBAAiB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAC5C,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,gBAAgB,EAAE,gBAAgB,CAAC;IAEnC,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,yBAAyB,IAAI,sBAAsB,CA0DlE"}
@@ -1,14 +0,0 @@
1
- /**
2
- * Browser and System Information Fingerprinting
3
- * Based on FingerprintJS browser component with enhanced detection
4
- */
5
- import type { FingerprintComponent, BrowserFingerprint } from '../../types/fingerprint';
6
- /**
7
- * Generate browser fingerprint
8
- */
9
- export declare function getBrowserFingerprint(): Promise<FingerprintComponent<BrowserFingerprint>>;
10
- /**
11
- * Check if browser fingerprinting is available
12
- */
13
- export declare function isBrowserFingerprintingAvailable(): boolean;
14
- //# sourceMappingURL=browser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/browser.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AA8MxF;;GAEG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,CAAC,CA2E/F;AAED;;GAEG;AACH,wBAAgB,gCAAgC,IAAI,OAAO,CAM1D"}
@@ -1,14 +0,0 @@
1
- /**
2
- * Canvas Fingerprinting
3
- * Based on FingerprintJS canvas component with incognito detection
4
- */
5
- import type { CanvasFingerprint, FingerprintComponent } from "../../types/fingerprint";
6
- /**
7
- * Generate enhanced canvas fingerprint with multiple primitives and sub-pixel analysis
8
- */
9
- export declare function getCanvasFingerprint(): Promise<FingerprintComponent<CanvasFingerprint>>;
10
- /**
11
- * Check if canvas fingerprinting is available
12
- */
13
- export declare function isCanvasAvailable(): boolean;
14
- //# sourceMappingURL=canvas.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"canvas.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/canvas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AA4WjC;;GAEG;AACH,wBAAsB,oBAAoB,IAAI,OAAO,CACnD,oBAAoB,CAAC,iBAAiB,CAAC,CACxC,CA8FA;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAQ3C"}
@@ -1,89 +0,0 @@
1
- /**
2
- * Confidence Scoring System
3
- * Based on FingerprintJS confidence calculation methodology
4
- * Provides intelligent weighting and stability scoring for fingerprint components
5
- */
6
- import type { FingerprintComponentType } from '../../types/fingerprint';
7
- /**
8
- * Confidence levels enum
9
- */
10
- export declare const enum Confidence {
11
- /** At least 99.5% chance of correct identification */
12
- VeryHigh = 0.995,
13
- /** At least 99% chance of correct identification */
14
- High = 0.99,
15
- /** At least 95% chance of correct identification */
16
- Medium = 0.95,
17
- /** At least 80% chance of correct identification */
18
- Low = 0.8,
19
- /** Less than 80% chance - not reliable for identification */
20
- VeryLow = 0.5
21
- }
22
- /**
23
- * Component stability levels
24
- */
25
- export interface ComponentStability {
26
- /** How stable the component is across sessions (0-1) */
27
- stability: number;
28
- /** How much entropy the component provides (0-1) */
29
- entropy: number;
30
- /** How unique the component is across users (0-1) */
31
- uniqueness: number;
32
- /** How resistant the component is to spoofing (0-1) */
33
- spoofResistance: number;
34
- }
35
- /**
36
- * Component weights and characteristics
37
- * Based on extensive research and real-world data analysis
38
- */
39
- export declare const COMPONENT_CHARACTERISTICS: Record<FingerprintComponentType, ComponentStability>;
40
- /**
41
- * New advanced components characteristics
42
- */
43
- export declare const ADVANCED_COMPONENT_CHARACTERISTICS: Record<string, ComponentStability>;
44
- /**
45
- * Calculate component weight based on its characteristics
46
- */
47
- export declare function calculateComponentWeight(componentType: string): number;
48
- /**
49
- * Component result for confidence calculation
50
- */
51
- export interface ComponentResult {
52
- component: string;
53
- success: boolean;
54
- duration: number;
55
- value?: any;
56
- error?: string;
57
- }
58
- /**
59
- * Confidence calculation result
60
- */
61
- export interface ConfidenceResult {
62
- score: Confidence;
63
- level: string;
64
- factors: {
65
- componentCount: number;
66
- weightedScore: number;
67
- stabilityScore: number;
68
- entropyScore: number;
69
- spoofResistanceScore: number;
70
- };
71
- recommendations: string[];
72
- }
73
- /**
74
- * Calculate overall confidence score for a fingerprint
75
- */
76
- export declare function calculateConfidence(componentResults: ComponentResult[], options?: {
77
- requireMinimumComponents?: number;
78
- penalizeMissingCore?: boolean;
79
- adjustForIncognito?: boolean;
80
- }): ConfidenceResult;
81
- /**
82
- * Get confidence level name from score
83
- */
84
- export declare function getConfidenceLevelName(score: number): string;
85
- /**
86
- * Check if a confidence score is acceptable for identification
87
- */
88
- export declare function isConfidenceAcceptable(score: number, minLevel?: Confidence): boolean;
89
- //# sourceMappingURL=confidence.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"confidence.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/confidence.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAExE;;GAEG;AACH,0BAAkB,UAAU;IAC1B,sDAAsD;IACtD,QAAQ,QAAQ;IAChB,oDAAoD;IACpD,IAAI,OAAO;IACX,oDAAoD;IACpD,MAAM,OAAO;IACb,oDAAoD;IACpD,GAAG,MAAM;IACT,6DAA6D;IAC7D,OAAO,MAAM;CACd;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,wDAAwD;IACxD,SAAS,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,OAAO,EAAE,MAAM,CAAC;IAChB,qDAAqD;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,eAAe,EAAE,MAAM,CAAC;CACzB;AAED;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,wBAAwB,EAAE,kBAAkB,CAsI1F,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAmBjF,CAAC;AAEF;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAiBtE;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE;QACP,cAAc,EAAE,MAAM,CAAC;QACvB,aAAa,EAAE,MAAM,CAAC;QACtB,cAAc,EAAE,MAAM,CAAC;QACvB,YAAY,EAAE,MAAM,CAAC;QACrB,oBAAoB,EAAE,MAAM,CAAC;KAC9B,CAAC;IACF,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,gBAAgB,EAAE,eAAe,EAAE,EACnC,OAAO,GAAE;IACP,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CACzB,GACL,gBAAgB,CAwIlB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAM5D;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,MAAM,EACb,QAAQ,GAAE,UAA8B,GACvC,OAAO,CAET"}
@@ -1,76 +0,0 @@
1
- /**
2
- * DateTime Locale Detection
3
- * Based on FingerprintJS datetime locale detection
4
- *
5
- * This component uses the Intl API to detect user's actual locale preferences
6
- * which is more accurate than navigator.language and reveals true user settings.
7
- *
8
- * Key advantages:
9
- * - More accurate than navigator.language
10
- * - Reveals actual system locale settings
11
- * - Detects number formatting preferences
12
- * - Shows date/time formatting preferences
13
- * - Captures currency and timezone preferences
14
- *
15
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/resolvedOptions
16
- */
17
- export interface DateTimeLocaleData {
18
- locale: string;
19
- calendar: string;
20
- numberingSystem: string;
21
- timeZone: string;
22
- dateStyle: string;
23
- timeStyle: string;
24
- hourCycle: string;
25
- hour12: boolean;
26
- numberLocale: string;
27
- currencyDisplay: string;
28
- currencySign: string;
29
- notation: string;
30
- signDisplay: string;
31
- listStyle: string;
32
- relativeTimeStyle: string;
33
- pluralRules: string;
34
- navigatorLanguage: string;
35
- localeMatch: boolean;
36
- intlSupport: {
37
- DateTimeFormat: boolean;
38
- NumberFormat: boolean;
39
- RelativeTimeFormat: boolean;
40
- ListFormat: boolean;
41
- PluralRules: boolean;
42
- Collator: boolean;
43
- };
44
- }
45
- export declare const enum LocaleStatus {
46
- /** The browser doesn't support Intl API */
47
- IntlAPINotSupported = -1,
48
- /** The browser doesn't support DateTimeFormat constructor */
49
- DateTimeFormatNotSupported = -2,
50
- /** DateTimeFormat locale is undefined or null */
51
- LocaleNotAvailable = -3,
52
- /** NumberFormat is not supported */
53
- NumberFormatNotSupported = -4
54
- }
55
- /**
56
- * Get comprehensive datetime locale information
57
- */
58
- export declare function getDateTimeLocale(): DateTimeLocaleData | LocaleStatus;
59
- /**
60
- * Check if datetime locale detection is available
61
- */
62
- export declare function isDateTimeLocaleAvailable(): boolean;
63
- /**
64
- * Analyze datetime locale data for confidence and uniqueness
65
- */
66
- export declare function analyzeDateTimeLocale(localeData: DateTimeLocaleData): {
67
- confidence: number;
68
- uniqueness: number;
69
- intlApiSupport: number;
70
- localeComplexity: number;
71
- };
72
- /**
73
- * Get a compact hash of datetime locale for quick comparison
74
- */
75
- export declare function getDateTimeLocaleHash(localeData: DateTimeLocaleData): string;
76
- //# sourceMappingURL=datetime-locale.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"datetime-locale.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/datetime-locale.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,WAAW,kBAAkB;IAEjC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAGhB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IAGpB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IAGpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,OAAO,CAAC;IAGrB,WAAW,EAAE;QACX,cAAc,EAAE,OAAO,CAAC;QACxB,YAAY,EAAE,OAAO,CAAC;QACtB,kBAAkB,EAAE,OAAO,CAAC;QAC5B,UAAU,EAAE,OAAO,CAAC;QACpB,WAAW,EAAE,OAAO,CAAC;QACrB,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH;AAED,0BAAkB,YAAY;IAC5B,2CAA2C;IAC3C,mBAAmB,KAAK;IACxB,6DAA6D;IAC7D,0BAA0B,KAAK;IAC/B,iDAAiD;IACjD,kBAAkB,KAAK;IACvB,oCAAoC;IACpC,wBAAwB,KAAK;CAC9B;AA8ID;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,kBAAkB,GAAG,YAAY,CAyErE;AAED;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,OAAO,CAOnD;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,kBAAkB,GAAG;IACrE,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAuDA;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,kBAAkB,GAAG,MAAM,CAiB5E"}
@@ -1,29 +0,0 @@
1
- /**
2
- * Device-specific signals inspired by FingerprintJS
3
- * Helps differentiate devices by hardware characteristics
4
- */
5
- export interface DeviceSignals {
6
- screenFrame?: {
7
- top: number | null;
8
- right: number | null;
9
- bottom: number | null;
10
- left: number | null;
11
- } | null;
12
- hardwareConcurrency?: number;
13
- deviceMemory?: number;
14
- architecture?: number;
15
- touchSupport?: {
16
- maxTouchPoints: number;
17
- touchEvent: boolean;
18
- touchStart: boolean;
19
- };
20
- vendorFlavors?: string[];
21
- cpuClass?: string;
22
- colorDepth?: number;
23
- colorGamut?: "srgb" | "p3" | "rec2020";
24
- }
25
- /**
26
- * Collect all device signals
27
- */
28
- export declare function collectDeviceSignals(): DeviceSignals;
29
- //# sourceMappingURL=device-signals.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"device-signals.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/device-signals.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,aAAa;IAG5B,WAAW,CAAC,EAAE;QACZ,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;QACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;KACrB,GAAG,IAAI,CAAC;IAGT,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,YAAY,CAAC,EAAE;QACb,cAAc,EAAE,MAAM,CAAC;QACvB,UAAU,EAAE,OAAO,CAAC;QACpB,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC;IAGF,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAGzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC;AA6PD;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,aAAa,CAYpD"}
@@ -1,56 +0,0 @@
1
- /**
2
- * DOM Blockers Detection Module
3
- * Based on FingerprintJS advanced content blocker detection
4
- * Detects ad blockers, privacy extensions, and content filters
5
- */
6
- type BlockerFilters = Record<string, string[]>;
7
- /**
8
- * Error types for DOM blockers detection
9
- */
10
- export declare const enum DOMBlockerError {
11
- NotSupported = "NOT_SUPPORTED",
12
- BrowserIncompatible = "BROWSER_INCOMPATIBLE",
13
- DOMNotAvailable = "DOM_NOT_AVAILABLE",
14
- Timeout = "TIMEOUT",
15
- SecurityError = "SECURITY_ERROR"
16
- }
17
- /**
18
- * Ad blocker and content blocker selectors
19
- * Obfuscated using base64 to avoid detection by the blockers themselves
20
- */
21
- export declare function getBlockerFilters(): BlockerFilters;
22
- /**
23
- * Tests which CSS selectors are blocked by content blockers
24
- * Optimized for performance and stability
25
- */
26
- export declare function getBlockedSelectors<T extends string>(selectors: readonly T[]): Promise<{
27
- [K in T]?: true;
28
- }>;
29
- /**
30
- * Main DOM blockers detection function
31
- * Enhanced with browser compatibility and error handling
32
- */
33
- export declare function getDomBlockers(options?: {
34
- debug?: boolean;
35
- timeout?: number;
36
- }): Promise<string[] | DOMBlockerError>;
37
- /**
38
- * Check if DOM blockers detection is applicable
39
- * Based on FingerprintJS best practices
40
- */
41
- export declare function isDomBlockersDetectionAvailable(): boolean;
42
- /**
43
- * Complete DOM blockers fingerprint
44
- */
45
- export interface DomBlockersFingerprint {
46
- activeBlockers: string[];
47
- blockerCount: number;
48
- hasAdBlocker: boolean;
49
- hasPrivacyExtension: boolean;
50
- hasTrackingProtection: boolean;
51
- }
52
- export declare function getDomBlockersFingerprint(options?: {
53
- debug?: boolean;
54
- }): Promise<DomBlockersFingerprint>;
55
- export {};
56
- //# sourceMappingURL=dom-blockers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dom-blockers.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/dom-blockers.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,KAAK,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;AAE/C;;GAEG;AACH,0BAAkB,eAAe;IAC/B,YAAY,kBAAkB;IAC9B,mBAAmB,yBAAyB;IAC5C,eAAe,sBAAsB;IACrC,OAAO,YAAY;IACnB,aAAa,mBAAmB;CACjC;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,IAAI,cAAc,CAqFlD;AA6DD;;;GAGG;AACH,wBAAsB,mBAAmB,CAAC,CAAC,SAAS,MAAM,EACxD,SAAS,EAAE,SAAS,CAAC,EAAE,GACtB,OAAO,CAAC;KAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI;CAAE,CAAC,CAwF9B;AASD;;;GAGG;AACH,wBAAsB,cAAc,CAAC,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAO,GAAG,OAAO,CAAC,MAAM,EAAE,GAAG,eAAe,CAAC,CA0E7H;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,IAAI,OAAO,CAGzD;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,qBAAqB,EAAE,OAAO,CAAC;CAChC;AAED,wBAAsB,yBAAyB,CAAC,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAiBlH"}
@@ -1,70 +0,0 @@
1
- /**
2
- * Enhanced Font Preferences Detection with Iframe Isolation
3
- * Based on FingerprintJS font preferences detection with enhanced security and accuracy
4
- *
5
- * This component measures text rendering with different font settings using isolated iframes
6
- * to detect user's font preferences, OS-specific fonts, and browser rendering differences.
7
- *
8
- * Key advantages:
9
- * - Iframe isolation prevents external interference
10
- * - Detects OS-specific font rendering and anti-aliasing
11
- * - Captures user font size preferences and system settings
12
- * - Reveals browser-specific text rendering differences
13
- * - Very stable across sessions and difficult to spoof
14
- * - Enhanced with sub-pixel rendering analysis
15
- */
16
- export interface FontPreferences {
17
- default: number;
18
- serif: number;
19
- sans: number;
20
- mono: number;
21
- apple: number;
22
- system: number;
23
- min: number;
24
- large: number;
25
- ui: number;
26
- emoji: number;
27
- math: number;
28
- cjk: number;
29
- arabic: number;
30
- hebrew: number;
31
- subpixel: number;
32
- kerning: number;
33
- ligatures: number;
34
- antiAliasing: {
35
- enabled: boolean;
36
- type: string;
37
- smoothingLevel: number;
38
- };
39
- systemFontHints: {
40
- clearType: boolean;
41
- hintingLevel: number;
42
- subpixelRendering: boolean;
43
- };
44
- fallbackBehavior: Record<string, string>;
45
- isolatedHash: string;
46
- }
47
- /**
48
- * Get enhanced font preferences fingerprint with iframe isolation
49
- */
50
- export declare function getFontPreferences(): Promise<FontPreferences>;
51
- /**
52
- * Check if font preferences detection is available
53
- */
54
- export declare function isFontPreferencesAvailable(): boolean;
55
- /**
56
- * Analyze enhanced font preferences for confidence and uniqueness
57
- */
58
- export declare function analyzeFontPreferences(preferences: FontPreferences): {
59
- confidence: number;
60
- uniqueness: number;
61
- hasSystemFonts: boolean;
62
- hasAdvancedFeatures: boolean;
63
- renderingQuality: "high" | "medium" | "low";
64
- isolationIntegrity: boolean;
65
- };
66
- /**
67
- * Get a compact hash of enhanced font preferences for quick comparison
68
- */
69
- export declare function getFontPreferencesHash(preferences: FontPreferences): string;
70
- //# sourceMappingURL=font-preferences.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"font-preferences.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/font-preferences.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,MAAM,WAAW,eAAe;IAE9B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IAGf,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IAGd,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IAGb,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAGlB,YAAY,EAAE;QACZ,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,eAAe,EAAE;QACf,SAAS,EAAE,OAAO,CAAC;QACnB,YAAY,EAAE,MAAM,CAAC;QACrB,iBAAiB,EAAE,OAAO,CAAC;KAC5B,CAAC;IACF,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,YAAY,EAAE,MAAM,CAAC;CACtB;AA0aD;;GAEG;AACH,wBAAsB,kBAAkB,IAAI,OAAO,CAAC,eAAe,CAAC,CA+FnE;AAED;;GAEG;AACH,wBAAgB,0BAA0B,IAAI,OAAO,CAUpD;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,eAAe,GAAG;IACpE,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;IAC5C,kBAAkB,EAAE,OAAO,CAAC;CAC7B,CAsGA;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,eAAe,GAAG,MAAM,CAoC3E"}
@@ -1,43 +0,0 @@
1
- /**
2
- * Enhanced Font Detection with Iframe Isolation
3
- * Based on FingerprintJS advanced font detection techniques
4
- *
5
- * Key improvements over basic font detection:
6
- * - Uses iframe isolation to prevent CSS interference
7
- * - More comprehensive font list from FingerprintJS
8
- * - Better measurement precision
9
- * - Fallback compatibility for various browsers
10
- */
11
- export interface EnhancedFontFingerprint {
12
- available: string[];
13
- method: 'iframe' | 'dom' | 'fallback';
14
- measurements: Record<string, {
15
- width: number;
16
- height: number;
17
- }>;
18
- precision: number;
19
- totalTested: number;
20
- detectionTime: number;
21
- }
22
- /**
23
- * Enhanced font detection using iframe isolation
24
- */
25
- export declare function getEnhancedFontFingerprint(): Promise<EnhancedFontFingerprint>;
26
- /**
27
- * Check if enhanced font detection is available
28
- */
29
- export declare function isEnhancedFontDetectionAvailable(): boolean;
30
- /**
31
- * Analyze enhanced font fingerprint for confidence and uniqueness
32
- */
33
- export declare function analyzeEnhancedFontFingerprint(fingerprint: EnhancedFontFingerprint): {
34
- confidence: number;
35
- uniqueness: number;
36
- osSignature: string;
37
- browserCapabilities: number;
38
- };
39
- /**
40
- * Get a compact hash of the font fingerprint
41
- */
42
- export declare function getEnhancedFontFingerprintHash(fingerprint: EnhancedFontFingerprint): string;
43
- //# sourceMappingURL=fonts-enhanced.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fonts-enhanced.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/fonts-enhanced.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,EAAE,QAAQ,GAAG,KAAK,GAAG,UAAU,CAAC;IACtC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAChE,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACvB;AAgOD;;GAEG;AACH,wBAAsB,0BAA0B,IAAI,OAAO,CAAC,uBAAuB,CAAC,CAsFnF;AA4FD;;GAEG;AACH,wBAAgB,gCAAgC,IAAI,OAAO,CAQ1D;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,WAAW,EAAE,uBAAuB,GAAG;IACpF,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CA+CA;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,WAAW,EAAE,uBAAuB,GAAG,MAAM,CAG3F"}
@@ -1,14 +0,0 @@
1
- /**
2
- * Font Detection Fingerprinting
3
- * Based on FingerprintJS font detection techniques
4
- */
5
- import type { FingerprintComponent, FontFingerprint } from '../../types/fingerprint';
6
- /**
7
- * Generate font fingerprint
8
- */
9
- export declare function getFontFingerprint(useAdvanced?: boolean): Promise<FingerprintComponent<FontFingerprint>>;
10
- /**
11
- * Check if font detection is available
12
- */
13
- export declare function isFontDetectionAvailable(): boolean;
14
- //# sourceMappingURL=fonts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/fonts.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAgLrF;;GAEG;AACH,wBAAsB,kBAAkB,CAAC,WAAW,GAAE,OAAc,GAAG,OAAO,CAAC,oBAAoB,CAAC,eAAe,CAAC,CAAC,CAwCpH;AAeD;;GAEG;AACH,wBAAgB,wBAAwB,IAAI,OAAO,CAQlD"}
@@ -1,40 +0,0 @@
1
- /**
2
- * Hardware Fingerprinting Module
3
- * Based on FingerprintJS hardware detection techniques
4
- */
5
- /**
6
- * Device Memory Detection
7
- * Detects available device memory in GB
8
- */
9
- export declare function getDeviceMemory(): number | null;
10
- /**
11
- * Hardware Concurrency Detection
12
- * Detects number of logical processors
13
- */
14
- export declare function getHardwareConcurrency(): number | null;
15
- /**
16
- * CPU Architecture Detection
17
- * Attempts to detect CPU architecture from various sources
18
- */
19
- export declare function getArchitecture(): string;
20
- /**
21
- * Max Touch Points Detection
22
- * Detects maximum number of simultaneous touch contact points
23
- */
24
- export declare function getMaxTouchPoints(): number;
25
- /**
26
- * Check if hardware fingerprinting is available
27
- */
28
- export declare function isHardwareDetectionAvailable(): boolean;
29
- /**
30
- * Get complete hardware fingerprint
31
- */
32
- export interface HardwareFingerprint {
33
- deviceMemory: number | null;
34
- hardwareConcurrency: number | null;
35
- architecture: string;
36
- maxTouchPoints: number;
37
- platform: string;
38
- }
39
- export declare function getHardwareFingerprint(): HardwareFingerprint;
40
- //# sourceMappingURL=hardware.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hardware.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/hardware.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;GAGG;AACH,wBAAgB,eAAe,IAAI,MAAM,GAAG,IAAI,CAW/C;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,IAAI,MAAM,GAAG,IAAI,CAUtD;AAED;;;GAGG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAsBxC;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAM1C;AAED;;GAEG;AACH,wBAAgB,4BAA4B,IAAI,OAAO,CAEtD;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,sBAAsB,IAAI,mBAAmB,CAQ5D"}
@@ -1,29 +0,0 @@
1
- /**
2
- * MurmurHash3 x64 Implementation
3
- * Based on FingerprintJS hashing utility for consistent fingerprint generation
4
- *
5
- * Provides 128-bit hash output using the x64 variant of MurmurHash3
6
- */
7
- /**
8
- * MurmurHash3 x64 128-bit hash function
9
- * Returns a 128-bit hash as a hex string
10
- */
11
- export declare function x64hash128(input: string, seed?: number): string;
12
- /**
13
- * Simple 32-bit hash for basic use cases
14
- */
15
- export declare function hash32(input: string): string;
16
- /**
17
- * Hash fingerprint components into a stable identifier
18
- */
19
- export declare function hashFingerprint(components: Record<string, any>, debug?: boolean): string;
20
- /**
21
- * Generate a visitor ID from fingerprint hash
22
- * Returns a proper UUID v4 format for database compatibility
23
- */
24
- export declare function generateVisitorId(fingerprintHash: string): string;
25
- /**
26
- * Compute stable core hash from a minimal, invariant vector
27
- */
28
- export declare function hashStableCore(coreVector: Record<string, any>, debug?: boolean): string;
29
- //# sourceMappingURL=hashing.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hashing.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/hashing.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA2FH;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,GAAE,MAAU,GAAG,MAAM,CAyFlE;AAED;;GAEG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAW5C;AAED;;GAEG;AACH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC/B,KAAK,GAAE,OAAe,GACrB,MAAM,CA2BR;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAcjE;AAmFD;;GAEG;AACH,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC/B,KAAK,GAAE,OAAe,GACrB,MAAM,CAuBR"}
@@ -1,6 +0,0 @@
1
- export interface IncognitoDetection {
2
- likelihood: number;
3
- methods: string[];
4
- }
5
- export declare function detectIncognitoHeuristics(): Promise<IncognitoDetection>;
6
- //# sourceMappingURL=incognito.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"incognito.d.ts","sourceRoot":"","sources":["../../../../src/modules/fingerprint/incognito.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAmGD,wBAAsB,yBAAyB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAuJ7E"}