@fingerprintjs/fingerprintjs-pro-spa
Advanced tools
Comparing version 1.1.2 to 1.1.3
/** | ||
* FingerprintJS Pro SPA v1.1.2 - Copyright (c) FingerprintJS, Inc, 2023 (https://fingerprint.com) | ||
* FingerprintJS Pro SPA v1.1.3 - Copyright (c) FingerprintJS, Inc, 2023 (https://fingerprint.com) | ||
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. | ||
@@ -253,3 +253,3 @@ */ | ||
var version = "1.1.2"; | ||
var version = "1.1.3"; | ||
@@ -293,3 +293,2 @@ const cacheLocationBuilders = { | ||
var _a; | ||
this.options = options; | ||
this.inFlightRequests = new Map(); | ||
@@ -296,0 +295,0 @@ this.agentPromise = null; |
/** | ||
* FingerprintJS Pro SPA v1.1.2 - Copyright (c) FingerprintJS, Inc, 2023 (https://fingerprint.com) | ||
* FingerprintJS Pro SPA v1.1.3 - Copyright (c) FingerprintJS, Inc, 2023 (https://fingerprint.com) | ||
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. | ||
@@ -128,2 +128,5 @@ */ | ||
} | ||
interface FpjsSpaOptions extends FpjsClientOptions { | ||
customAgent?: CustomAgent; | ||
} | ||
/** | ||
@@ -133,3 +136,2 @@ * FingerprintJS SDK for Single Page Applications | ||
declare class FpjsClient { | ||
private options; | ||
private cacheManager; | ||
@@ -139,8 +141,6 @@ private loadOptions; | ||
private agentPromise; | ||
private customAgent?; | ||
private readonly customAgent?; | ||
readonly cacheLocation?: CacheLocation; | ||
private inFlightRequests; | ||
constructor(options: FpjsClientOptions & { | ||
customAgent?: CustomAgent; | ||
}); | ||
constructor(options: FpjsSpaOptions); | ||
/** | ||
@@ -170,2 +170,2 @@ * Loads FPJS JS agent with certain settings and stores the instance in memory | ||
export { CacheLocation, CacheStub, Cacheable, FpjsClient, FpjsClientOptions, ICache, InMemoryCache, LocalStorageCache, SessionStorageCache, VisitorData }; | ||
export { CacheLocation, CacheStub, Cacheable, CustomAgent, FpjsClient, FpjsClientOptions, FpjsSpaOptions, ICache, InMemoryCache, LocalStorageCache, SessionStorageCache, VisitorData }; |
/** | ||
* FingerprintJS Pro SPA v1.1.2 - Copyright (c) FingerprintJS, Inc, 2023 (https://fingerprint.com) | ||
* FingerprintJS Pro SPA v1.1.3 - Copyright (c) FingerprintJS, Inc, 2023 (https://fingerprint.com) | ||
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. | ||
@@ -230,3 +230,3 @@ */ | ||
var version = "1.1.2"; | ||
var version = "1.1.3"; | ||
@@ -270,3 +270,2 @@ const cacheLocationBuilders = { | ||
var _a; | ||
this.options = options; | ||
this.inFlightRequests = new Map(); | ||
@@ -273,0 +272,0 @@ this.agentPromise = null; |
{ | ||
"name": "@fingerprintjs/fingerprintjs-pro-spa", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "FingerprintJS Pro JavaScript agent for Single-Page Applications (SPA)", | ||
@@ -5,0 +5,0 @@ "main": "dist/fp-pro-spa.cjs.js", |
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
46021
919