Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fingerprintjs/fingerprintjs-pro-spa

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fingerprintjs/fingerprintjs-pro-spa - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

14

dist/fp-pro-spa.cjs.js
/**
* FingerprintJS Pro SPA v0.5.0 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprint.com)
* FingerprintJS Pro SPA v0.6.0 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprint.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.

@@ -253,3 +253,3 @@ */

var version = "0.5.0";
var version = "0.6.0";

@@ -307,5 +307,10 @@ const cacheLocationBuilders = {

if (!this.agentPromise) {
this.agentPromise = FingerprintJS__namespace.load(this.loadOptions).then((agent) => {
this.agentPromise = FingerprintJS__namespace.load(this.loadOptions)
.then((agent) => {
this.agent = agent;
return agent;
})
.catch((error) => {
this.agentPromise = null;
throw error;
});

@@ -328,5 +333,4 @@ }

if (!this.inFlightRequests.has(key)) {
const promise = this._identify(options, ignoreCache).then((visitorData) => {
const promise = this._identify(options, ignoreCache).finally(() => {
this.inFlightRequests.delete(key);
return visitorData;
});

@@ -333,0 +337,0 @@ this.inFlightRequests.set(key, promise);

/**
* FingerprintJS Pro SPA v0.5.0 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprint.com)
* FingerprintJS Pro SPA v0.6.0 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprint.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.

@@ -4,0 +4,0 @@ */

/**
* FingerprintJS Pro SPA v0.5.0 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprint.com)
* FingerprintJS Pro SPA v0.6.0 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprint.com)
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.

@@ -229,3 +229,3 @@ */

var version = "0.5.0";
var version = "0.6.0";

@@ -283,5 +283,10 @@ const cacheLocationBuilders = {

if (!this.agentPromise) {
this.agentPromise = FingerprintJS.load(this.loadOptions).then((agent) => {
this.agentPromise = FingerprintJS.load(this.loadOptions)
.then((agent) => {
this.agent = agent;
return agent;
})
.catch((error) => {
this.agentPromise = null;
throw error;
});

@@ -304,5 +309,4 @@ }

if (!this.inFlightRequests.has(key)) {
const promise = this._identify(options, ignoreCache).then((visitorData) => {
const promise = this._identify(options, ignoreCache).finally(() => {
this.inFlightRequests.delete(key);
return visitorData;
});

@@ -309,0 +313,0 @@ this.inFlightRequests.set(key, promise);

{
"name": "@fingerprintjs/fingerprintjs-pro-spa",
"version": "0.6.0",
"version": "0.7.0",
"description": "FingerprintJS Pro JavaScript agent for Single-Page Applications (SPA)",

@@ -23,2 +23,3 @@ "main": "dist/fp-pro-spa.cjs.js",

"build": "rimraf dist && rollup -c rollup.config.js",
"watch": "rimraf dist && rollup -c rollup.config.js -w",
"lint": "eslint --ext .js,.ts --ignore-path .gitignore --max-warnings 0 .",

@@ -53,3 +54,3 @@ "lint:fix": "yarn lint --fix",

"dependencies": {
"@fingerprintjs/fingerprintjs-pro": "^3.8.0",
"@fingerprintjs/fingerprintjs-pro": "^3.8.1",
"tslib": "^2.2.0"

@@ -56,0 +57,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc