browser-with-fingerprints
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -7,3 +7,3 @@ { | ||
"author": "CheshireCaat", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "bugs": { |
@@ -236,3 +236,3 @@ import type { Browser, Options } from './plugin/launcher'; | ||
/** | ||
* Select only those fingerprints whose date of addition matches a certain condition. | ||
* Select only those fingerprints whose date of addition matches the specified one. | ||
* | ||
@@ -281,3 +281,3 @@ * If this option is not specified, a fingerprint without an addition date limit will be selected. | ||
* @param options - Set of configurable options for applying a fingerprint. | ||
* @returns The same plugin instance with an updated fingrprint settings (for optional chaining). | ||
* @returns The same plugin instance with an updated fingerprint settings (for optional chaining). | ||
*/ | ||
@@ -284,0 +284,0 @@ useFingerprint(value?: string, options?: FingerprintOptions): this; |
@@ -25,3 +25,4 @@ const connect = require('chrome-remote-interface'); | ||
} else if (i === MAX_RESIZE_RETRIES - 1) { | ||
throw new Error('Unable to set correct viewport size.'); | ||
// TODO: improve handling of incorrect viewport size. | ||
console.warn('Unable to set correct viewport size.'); | ||
} | ||
@@ -28,0 +29,0 @@ |
@@ -20,3 +20,3 @@ const { env } = require('process'); | ||
setTimeout( | ||
() => reject(new Error(`Timed out while calling a "${name}" method.`)), | ||
() => reject(new Error(`Timed out while calling the "${name}" method.`)), | ||
env.FINGERPRINT_TIMEOUT ?? 300000 | ||
@@ -23,0 +23,0 @@ ).unref(); |
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
1057485
843