@fingerprintjs/fingerprintjs-pro-spa
Advanced tools
Comparing version 1.3.1 to 1.3.2
/** | ||
* FingerprintJS Pro SPA v1.3.1 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
* FingerprintJS Pro SPA v1.3.2 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. | ||
@@ -250,3 +250,3 @@ */ | ||
var version = "1.3.1"; | ||
var version = "1.3.2"; | ||
@@ -253,0 +253,0 @@ const cacheLocationBuilders = { |
/** | ||
* FingerprintJS Pro SPA v1.3.1 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
* FingerprintJS Pro SPA v1.3.2 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* FingerprintJS Pro SPA v1.3.1 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
* FingerprintJS Pro SPA v1.3.2 - Copyright (c) FingerprintJS, Inc, 2024 (https://fingerprint.com) | ||
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. | ||
@@ -230,3 +230,3 @@ */ | ||
var version = "1.3.1"; | ||
var version = "1.3.2"; | ||
@@ -233,0 +233,0 @@ const cacheLocationBuilders = { |
{ | ||
"name": "@fingerprintjs/fingerprintjs-pro-spa", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "FingerprintJS Pro JavaScript agent for Single-Page Applications (SPA)", | ||
@@ -55,12 +55,12 @@ "main": "dist/fp-pro-spa.cjs.js", | ||
"dependencies": { | ||
"@fingerprintjs/fingerprintjs-pro": "^3.9.2", | ||
"tslib": "^2.6.2" | ||
"@fingerprintjs/fingerprintjs-pro": "^3.11.0", | ||
"tslib": "^2.7.0" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^19.2.1", | ||
"@commitlint/config-conventional": "^19.1.0", | ||
"@commitlint/cli": "^19.4.1", | ||
"@commitlint/config-conventional": "^19.4.1", | ||
"@fingerprintjs/commit-lint-dx-team": "^0.0.2", | ||
"@fingerprintjs/conventional-changelog-dx-team": "^0.1.0", | ||
"@fingerprintjs/eslint-config-dx-team": "^0.1.0", | ||
"@fingerprintjs/prettier-config-dx-team": "^0.1.0", | ||
"@fingerprintjs/prettier-config-dx-team": "^0.2.0", | ||
"@fingerprintjs/tsconfig-dx-team": "^0.0.2", | ||
@@ -70,18 +70,18 @@ "@rollup/plugin-json": "^6.1.0", | ||
"@types/jest": "^29.5.12", | ||
"@types/node": "^20.11.30", | ||
"@types/node": "^20.16.2", | ||
"commitizen": "^4.3.0", | ||
"conventional-changelog-conventionalcommits": "^7.0.2", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"husky": "^9.0.11", | ||
"husky": "^9.1.5", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"lint-staged": "^15.2.2", | ||
"rimraf": "^5.0.5", | ||
"rollup": "^4.13.0", | ||
"rollup-plugin-dts": "^6.1.0", | ||
"rollup-plugin-license": "^3.3.1", | ||
"ts-jest": "^29.1.2", | ||
"typedoc": "^0.25.12", | ||
"typescript": "^5.4.2" | ||
"lint-staged": "^15.2.9", | ||
"rimraf": "^5.0.10", | ||
"rollup": "^4.21.1", | ||
"rollup-plugin-dts": "^6.1.1", | ||
"rollup-plugin-license": "^3.5.2", | ||
"ts-jest": "^29.2.5", | ||
"typedoc": "^0.25.13", | ||
"typescript": "^5.5.4" | ||
} | ||
} |
@@ -86,4 +86,10 @@ <p align="center"> | ||
apiKey: '<PUBLIC_API_KEY>', | ||
// endpoint: ["<CUSTOM_ENDPOINT>", FingerprintJSPro.defaultEndpoint], | ||
// scriptUrlPattern: ["<CUSTOM_SCRIPT_URL>", FingerprintJSPro.defaultScriptUrlPattern], | ||
endpoint: [ | ||
//'https://metrics.yourwebsite.com', | ||
FingerprintJSPro.defaultEndpoint, | ||
], | ||
scriptUrlPattern: [ | ||
// 'https://metrics.yourwebsite.com/web/v<version>/<apiKey>/loader_v<loaderVersion>.js', | ||
FingerprintJSPro.defaultScriptUrlPattern, | ||
], | ||
// region: "eu" | ||
@@ -95,3 +101,3 @@ }, | ||
> [!NOTE] | ||
> You must provide `loadOptions` containing your public API key either in the constructor or in the `init` method. If you don't, the SDK will throw an error. You can learn more about different load options here in the [JS Agent documentation](https://dev.fingerprint.com/docs/js-agent#initializing-the-agent). | ||
> You must provide `loadOptions` containing your public API key either in the constructor or in the `init` method. If you don't, the SDK will throw an error. You can learn more about different load options here in the [JS Agent documentation](https://dev.fingerprint.com/reference/load-function). | ||
@@ -127,3 +133,3 @@ ### 3. Initialize the JS Agent | ||
The `getVisitorData` method returns visitor identification data based on the request [options](https://dev.fingerprint.com/docs/js-agent#get-options). | ||
The `getVisitorData` method returns visitor identification data based on the request [options](https://dev.fingerprint.com/reference/get-function#get-options). | ||
Set `ignoreCache` to `true` to call the API even if the data is present in the cache. | ||
@@ -142,3 +148,3 @@ | ||
See the [JS Agent API reference](https://dev.fingerprint.com/docs/js-agent) for more details. | ||
See the [JS Agent API reference](https://dev.fingerprint.com/reference/javascript-agent) for more details. | ||
@@ -184,3 +190,3 @@ #### Linking and tagging information | ||
> [!NOTE] | ||
> If you use data from [`extendedResult`](https://dev.fingerprint.com/docs/js-agent#extendedresult), pay additional attention to your caching strategy. Some fields, for example, `ip` or `lastSeenAt`, might change over time for the same visitor. | ||
> If you use data from [`extendedResult`](https://dev.fingerprint.com/reference/get-function#extendedresult), pay additional attention to your caching strategy. Some fields, for example, `ip` or `lastSeenAt`, might change over time for the same visitor. | ||
@@ -187,0 +193,0 @@ You can ignore the cached result for a specific API call and using `{ ignoreCache: true }`: |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
56701
248
1
Updatedtslib@^2.7.0