fingerprint-generator
Advanced tools
Comparing version 2.1.40 to 2.1.41
@@ -58,2 +58,3 @@ import { HeaderGenerator, HeaderGeneratorOptions, Headers } from 'header-generator'; | ||
fonts: string[]; | ||
mockWebRTC: boolean; | ||
}; | ||
@@ -76,2 +77,3 @@ export type BrowserFingerprintWithHeaders = { | ||
}; | ||
mockWebRTC?: boolean; | ||
} | ||
@@ -78,0 +80,0 @@ /** |
@@ -30,2 +30,3 @@ "use strict"; | ||
screen: options.screen, | ||
mockWebRTC: options.mockWebRTC, | ||
}; | ||
@@ -100,3 +101,6 @@ this.fingerprintGeneratorNetwork = new generative_bayesian_network_1.BayesianNetwork({ path: `${__dirname}/data_files/fingerprint-network-definition.zip` }); | ||
return { | ||
fingerprint: this.transformFingerprint(fingerprint), | ||
fingerprint: { | ||
...this.transformFingerprint(fingerprint), | ||
mockWebRTC: options.mockWebRTC ?? this.fingerprintGlobalOptions.mockWebRTC ?? false, | ||
}, | ||
headers, | ||
@@ -103,0 +107,0 @@ }; |
{ | ||
"name": "fingerprint-generator", | ||
"version": "2.1.40", | ||
"version": "2.1.41", | ||
"description": "NodeJS package for generating realistic browser fingerprints.", | ||
@@ -36,6 +36,6 @@ "homepage": "https://github.com/apify/fingerprint-suite", | ||
"dependencies": { | ||
"generative-bayesian-network": "^2.1.40", | ||
"header-generator": "^2.1.40", | ||
"generative-bayesian-network": "^2.1.41", | ||
"header-generator": "^2.1.41", | ||
"tslib": "^2.4.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
275
856695