@fingerprintjs/fingerprintjs-pro-spa
Advanced tools
Comparing version 0.4.1 to 0.5.0
/** | ||
* FingerprintJS Pro SPA v0.4.1 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprintjs.com) | ||
* FingerprintJS Pro SPA v0.4.1 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprint.com) | ||
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. | ||
@@ -301,3 +301,3 @@ */ | ||
* Loads FPJS JS agent with certain settings and stores the instance in memory | ||
* [https://dev.fingerprintjs.com/docs/js-agent#agent-initialization] | ||
* [https://dev.fingerprint.com/docs/js-agent#agent-initialization] | ||
*/ | ||
@@ -317,3 +317,3 @@ init() { | ||
* Returns visitor identification data based on the request options | ||
* [https://dev.fingerprintjs.com/docs/js-agent#visitor-identification] | ||
* [https://dev.fingerprint.com/docs/js-agent#visitor-identification] | ||
* | ||
@@ -320,0 +320,0 @@ * @param options |
/** | ||
* FingerprintJS Pro SPA v0.4.1 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprintjs.com) | ||
* FingerprintJS Pro SPA v0.4.1 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprint.com) | ||
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. | ||
@@ -139,3 +139,3 @@ */ | ||
* Loads FPJS JS agent with certain settings and stores the instance in memory | ||
* [https://dev.fingerprintjs.com/docs/js-agent#agent-initialization] | ||
* [https://dev.fingerprint.com/docs/js-agent#agent-initialization] | ||
*/ | ||
@@ -145,3 +145,3 @@ init(): Promise<FingerprintJS.Agent>; | ||
* Returns visitor identification data based on the request options | ||
* [https://dev.fingerprintjs.com/docs/js-agent#visitor-identification] | ||
* [https://dev.fingerprint.com/docs/js-agent#visitor-identification] | ||
* | ||
@@ -148,0 +148,0 @@ * @param options |
/** | ||
* FingerprintJS Pro SPA v0.4.1 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprintjs.com) | ||
* FingerprintJS Pro SPA v0.4.1 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprint.com) | ||
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. | ||
@@ -277,3 +277,3 @@ */ | ||
* Loads FPJS JS agent with certain settings and stores the instance in memory | ||
* [https://dev.fingerprintjs.com/docs/js-agent#agent-initialization] | ||
* [https://dev.fingerprint.com/docs/js-agent#agent-initialization] | ||
*/ | ||
@@ -293,3 +293,3 @@ init() { | ||
* Returns visitor identification data based on the request options | ||
* [https://dev.fingerprintjs.com/docs/js-agent#visitor-identification] | ||
* [https://dev.fingerprint.com/docs/js-agent#visitor-identification] | ||
* | ||
@@ -296,0 +296,0 @@ * @param options |
147
package.json
{ | ||
"name": "@fingerprintjs/fingerprintjs-pro-spa", | ||
"version": "0.4.1", | ||
"description": "FingerprintJS Pro JavaScript agent for Single-Page Applications (SPA)", | ||
"main": "dist/fp-pro-spa.cjs.js", | ||
"module": "dist/fp-pro-spa.esm.js", | ||
"types": "dist/fp-pro-spa.d.ts", | ||
"keywords": [ | ||
"fraud", | ||
"fraud detection", | ||
"fraud prevention", | ||
"browser", | ||
"identification", | ||
"fingerprint", | ||
"fingerprinting", | ||
"browser fingerprint", | ||
"device fingerprint", | ||
"privacy" | ||
], | ||
"scripts": { | ||
"build": "rimraf dist && rollup -c rollup.config.js", | ||
"lint": "eslint --ext .js,.ts --ignore-path .gitignore --max-warnings 0 .", | ||
"lint:fix": "yarn lint --fix", | ||
"test": "jest", | ||
"test:dts": "tsc --noEmit --isolatedModules dist/fp-pro-spa.d.ts", | ||
"release:major": "changelog -M && git add CHANGELOG.md && yarn version --major --no-git-tag-version", | ||
"release:minor": "changelog -m && git add CHANGELOG.md && yarn version --minor --no-git-tag-version", | ||
"release:patch": "changelog -p && git add CHANGELOG.md && yarn version --patch --no-git-tag-version" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/fingerprintjs/fingerprintjs-pro-spa.git" | ||
}, | ||
"author": "FingerprintJS, Inc (https://fingerprintjs.com)", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/fingerprintjs/fingerprintjs-pro-spa/issues" | ||
}, | ||
"homepage": "https://github.com/fingerprintjs/fingerprintjs-pro-spa#readme", | ||
"dependencies": { | ||
"@fingerprintjs/fingerprintjs-pro": "^3.6.2", | ||
"tslib": "^2.2.0" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-typescript": "^8.2.1", | ||
"@types/jest": "^27.0.1", | ||
"@typescript-eslint/eslint-plugin": "^5.10.1", | ||
"@typescript-eslint/parser": "^5.10.1", | ||
"eslint": "^8.7.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"generate-changelog": "^1.8.0", | ||
"jest": "^27.5.1", | ||
"prettier": "^2.5.1", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.44.0", | ||
"rollup-plugin-dts": "^3.0.1", | ||
"rollup-plugin-license": "^2.7.0", | ||
"ts-jest": "^27.1.3", | ||
"typescript": "^4.4.2" | ||
} | ||
"name": "@fingerprintjs/fingerprintjs-pro-spa", | ||
"version": "0.5.0", | ||
"description": "FingerprintJS Pro JavaScript agent for Single-Page Applications (SPA)", | ||
"main": "dist/fp-pro-spa.cjs.js", | ||
"module": "dist/fp-pro-spa.esm.js", | ||
"types": "dist/fp-pro-spa.d.ts", | ||
"keywords": [ | ||
"fraud", | ||
"fraud detection", | ||
"fraud prevention", | ||
"browser", | ||
"identification", | ||
"fingerprint", | ||
"fingerprinting", | ||
"browser fingerprint", | ||
"device fingerprint", | ||
"privacy" | ||
], | ||
"scripts": { | ||
"prepare": "husky install", | ||
"build": "rimraf dist && rollup -c rollup.config.js", | ||
"lint": "eslint --ext .js,.ts --ignore-path .gitignore --max-warnings 0 .", | ||
"lint:fix": "yarn lint --fix", | ||
"test": "jest", | ||
"test:dts": "tsc --noEmit --isolatedModules dist/fp-pro-spa.d.ts", | ||
"release": "semantic-release" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"lint-staged": { | ||
"*.ts": "yarn run lint:fix" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/fingerprintjs/fingerprintjs-pro-spa.git" | ||
}, | ||
"author": "FingerprintJS, Inc (https://fingerprint.com)", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/fingerprintjs/fingerprintjs-pro-spa/issues" | ||
}, | ||
"homepage": "https://github.com/fingerprintjs/fingerprintjs-pro-spa#readme", | ||
"dependencies": { | ||
"@fingerprintjs/fingerprintjs-pro": "^3.7.1", | ||
"tslib": "^2.2.0" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.0.2", | ||
"@commitlint/config-conventional": "^17.0.2", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-typescript": "^8.2.1", | ||
"@semantic-release/changelog": "6.0.1", | ||
"@semantic-release/git": "10.0.1", | ||
"@semantic-release/github": "8.0.4", | ||
"@semantic-release/npm": "9.0.1", | ||
"@types/jest": "^27.0.1", | ||
"@typescript-eslint/eslint-plugin": "^5.10.1", | ||
"@typescript-eslint/parser": "^5.10.1", | ||
"commitizen": "^4.2.4", | ||
"conventional-changelog-conventionalcommits": "^5.0.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^8.7.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"husky": "^8.0.1", | ||
"generate-changelog": "^1.8.0", | ||
"lint-staged": "^13.0.2", | ||
"jest": "^27.5.1", | ||
"prettier": "^2.5.1", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.44.0", | ||
"rollup-plugin-dts": "^3.0.1", | ||
"rollup-plugin-license": "^2.7.0", | ||
"semantic-release": "19.0.3", | ||
"ts-jest": "^27.1.3", | ||
"typescript": "^4.4.2" | ||
} | ||
} |
@@ -12,3 +12,3 @@ # @fingerprintjs/fingerprintjs-pro-spa | ||
**This SDK works with FingerprintJS Pro, it will not work with the OSS version!** | ||
Learn more about the [difference between Pro and OSS](https://dev.fingerprintjs.com/docs/pro-vs-open-source). | ||
Learn more about the [difference between Pro and OSS](https://dev.fingerprint.com/docs/pro-vs-open-source). | ||
If you'd like to have a similar SPA wrapper for the OSS version of FingerprintJS, consider [raising and issue on our issue tracker](https://github.com/fingerprintjs/fingerprintjs-pro-spa/issues). | ||
@@ -27,4 +27,4 @@ | ||
This library uses [FingerprintJS Pro](https://fingerprintjs.com/github/) under the hood, you can view the document for the core technology. | ||
- [Documentation](https://dev.fingerprintjs.com/docs) | ||
This library uses [FingerprintJS Pro](https://fingerprint.com/github/) under the hood, you can view the document for the core technology. | ||
- [Documentation](https://dev.fingerprint.com/docs) | ||
@@ -49,5 +49,5 @@ ## Installation | ||
In order to identify visitors you'll need a FingerprintJS Pro account (you can [sign up for free](https://dashboard.fingerprintjs.com/signup/)). | ||
In order to identify visitors you'll need a FingerprintJS Pro account (you can [sign up for free](https://dashboard.fingerprint.com/signup/)). | ||
- Go to [FingerprintJS Dashboard](https://dashboard.fingerprintjs.com/) | ||
- Go to [FingerprintJS Dashboard](https://dashboard.fingerprint.com/) | ||
- Open the _API keys_ page from the sidebar | ||
@@ -70,3 +70,3 @@ - Find your _Public_ API key | ||
``` | ||
You can learn more about different load options here: https://dev.fingerprintjs.com/docs/js-agent#agent-initialization | ||
You can learn more about different load options here: https://dev.fingerprint.com/docs/js-agent#agent-initialization | ||
@@ -91,3 +91,3 @@ ### 1 - Init the JS agent | ||
### 2 - Calling an API | ||
The `getVisitorData` method returns visitor identification data based on the request options [https://dev.fingerprintjs.com/docs/js-agent#visitor-identification]. | ||
The `getVisitorData` method returns visitor identification data based on the request [options](https://dev.fingerprint.com/docs/js-agent#visitor-identification). | ||
The second parameter `ignoreCache` will make sure that a request to the API be made even if the data is present in cache. | ||
@@ -177,3 +177,3 @@ | ||
Learn more on our [official documentation page](https://dev.fingerprintjs.com/docs/introduction) | ||
Learn more on our [official documentation page](https://dev.fingerprint.com/docs/introduction) | ||
@@ -180,0 +180,0 @@ ## License |
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
42858
29
6