@fingerprintjs/fingerprintjs-pro-spa
Advanced tools
Comparing version 0.2.4 to 0.3.1
@@ -0,1 +1,27 @@ | ||
#### 0.3.1 (2022-04-06) | ||
##### Chores | ||
* fix npm publish action, fix commit_pattern ([4a615677](https://github.com/fingerprintjs/fingerprintjs-pro-spa/commit/4a615677ca5c4bc05c20f63e45cd3ab403604d96)) | ||
* **deps:** bump minimist from 1.2.5 to 1.2.6 ([46b93e5e](https://github.com/fingerprintjs/fingerprintjs-pro-spa/commit/46b93e5ef619f1af56a7c233585677a13a45aba8)) | ||
### 0.3.0 (2022-04-06) | ||
##### Chores | ||
* chose correct changelog package ([b925c95d](https://github.com/fingerprintjs/fingerprintjs-pro-spa/commit/b925c95db3f93ef328afd45cdf4afc1ec067d644)) | ||
* tests for integrationInfo ([c05aeb51](https://github.com/fingerprintjs/fingerprintjs-pro-spa/commit/c05aeb5180896cd4abbe7f91ecf9b58ac21b7a92)) | ||
* add --isolatedModules flag for typecheck ([c24a3ece](https://github.com/fingerprintjs/fingerprintjs-pro-spa/commit/c24a3eceeb7c85f0aade9e5e040083db2ba20f79)) | ||
* update fingerprintjs-pro agent version ([b4e9aea6](https://github.com/fingerprintjs/fingerprintjs-pro-spa/commit/b4e9aea6eb4b96036ccf77bfa119678af6be8998)) | ||
* add changelog package for releases ([788c3f58](https://github.com/fingerprintjs/fingerprintjs-pro-spa/commit/788c3f5805ab000f05efb414d300104034fae74d)) | ||
##### Documentation Changes | ||
* Apply suggestions from code review ([6cda818e](https://github.com/fingerprintjs/fingerprintjs-pro-spa/commit/6cda818eacc3d66e8281a634ed3d694c7fab3fc4)) | ||
* add contributing.md ([2172bf4f](https://github.com/fingerprintjs/fingerprintjs-pro-spa/commit/2172bf4f346517910efe22d0d118d8532707f532)) | ||
##### New Features | ||
* add fingerprintjs-pro-spa in integrationInfo ([8091eb68](https://github.com/fingerprintjs/fingerprintjs-pro-spa/commit/8091eb683da49e71c3a8c47eb1ae9e2c52ef4cac)) | ||
## 0.2.4 | ||
@@ -2,0 +28,0 @@ ### Documentation Changes |
/** | ||
* FingerprintJS Pro SPA v0.2.4 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprintjs.com) | ||
* FingerprintJS Pro SPA v0.3.1 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprintjs.com) | ||
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. | ||
@@ -207,2 +207,4 @@ */ | ||
var version = "0.3.1"; | ||
const cacheLocationBuilders = { | ||
@@ -231,3 +233,3 @@ [exports.CacheLocation.Memory]: () => new InMemoryCache().enclosedCache, | ||
}; | ||
this.loadOptions = options.loadOptions; | ||
this.loadOptions = Object.assign(Object.assign({}, options.loadOptions), { integrationInfo: [...(options.loadOptions.integrationInfo || []), `fingerprintjs-pro-spa/${version}`] }); | ||
if (options.cache && options.cacheLocation) { | ||
@@ -234,0 +236,0 @@ console.warn('Both `cache` and `cacheLocation` options have been specified in the FpjsClient configuration; ignoring `cacheLocation` and using `cache`.'); |
/** | ||
* FingerprintJS Pro SPA v0.2.4 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprintjs.com) | ||
* FingerprintJS Pro SPA v0.3.1 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprintjs.com) | ||
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* FingerprintJS Pro SPA v0.2.4 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprintjs.com) | ||
* FingerprintJS Pro SPA v0.3.1 - Copyright (c) FingerprintJS, Inc, 2022 (https://fingerprintjs.com) | ||
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. | ||
@@ -183,2 +183,4 @@ */ | ||
var version = "0.3.1"; | ||
const cacheLocationBuilders = { | ||
@@ -207,3 +209,3 @@ [CacheLocation.Memory]: () => new InMemoryCache().enclosedCache, | ||
}; | ||
this.loadOptions = options.loadOptions; | ||
this.loadOptions = Object.assign(Object.assign({}, options.loadOptions), { integrationInfo: [...(options.loadOptions.integrationInfo || []), `fingerprintjs-pro-spa/${version}`] }); | ||
if (options.cache && options.cacheLocation) { | ||
@@ -210,0 +212,0 @@ console.warn('Both `cache` and `cacheLocation` options have been specified in the FpjsClient configuration; ignoring `cacheLocation` and using `cache`.'); |
{ | ||
"name": "@fingerprintjs/fingerprintjs-pro-spa", | ||
"version": "0.2.4", | ||
"version": "0.3.1", | ||
"description": "FingerprintJS Pro JavaScript agent for Single-Page Applications (SPA)", | ||
@@ -25,3 +25,6 @@ "main": "dist/fp-pro-spa.cjs.js", | ||
"test": "jest", | ||
"test:dts": "tsc --noEmit dist/fp-pro-spa.d.ts" | ||
"test:dts": "tsc --noEmit --isolatedModules dist/fp-pro-spa.d.ts", | ||
"release:major": "changelog -M && git add CHANGELOG.md && yarn version --major", | ||
"release:minor": "changelog -m && git add CHANGELOG.md && yarn version --minor", | ||
"release:patch": "changelog -p && git add CHANGELOG.md && yarn version --patch" | ||
}, | ||
@@ -42,3 +45,3 @@ "files": [ | ||
"dependencies": { | ||
"@fingerprintjs/fingerprintjs-pro": "^3.5.6", | ||
"@fingerprintjs/fingerprintjs-pro": "^3.6.0", | ||
"tslib": "^2.2.0" | ||
@@ -55,2 +58,3 @@ }, | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"generate-changelog": "^1.8.0", | ||
"jest": "^27.5.1", | ||
@@ -57,0 +61,0 @@ "prettier": "^2.5.1", |
@@ -9,2 +9,3 @@ # @fingerprintjs/fingerprintjs-pro-spa | ||
If just need the [JS agent](https://github.com/fingerprintjs/fingerprintjs), you can use it directly, without this wrapper. | ||
If you're looking for a dedicated React integration, you can find it [here](https://github.com/fingerprintjs/fingerprintjs-pro-react). | ||
@@ -11,0 +12,0 @@ **This SDK works with FingerprintJS Pro, it will not work with the OSS version!** |
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
39775
714
177
17