fingerprintjs / fingerprintjs-pro-react

Fingerprint Pro Wrapper for React Single Page Applications (SPA)
MIT License
52 stars 8 forks source link

fix: update SPA library to 0.7.0 #80

Closed TheUnderScorer closed 1 year ago

TheUnderScorer commented 1 year ago

Closes #70

github-actions[bot] commented 1 year ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟒 Statements 90.82% 188/207
🟒 Branches 81.03% 47/58
🟑 Functions 76.47% 39/51
🟒 Lines 90.71% 166/183

Test suite run success

16 tests passing in 5 suites.

Report generated by πŸ§ͺjest coverage report action from 2018592f52fe78bf3870c8da992c2e1e4829ab88

Show full coverage report St|File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s --|-----------------------|---------|----------|---------|---------|--------------------- 🟒|All files | 90.82 | 81.03 | 76.47 | 90.71 | 🟒| src| 92.38 | 88.57 | 67.85 | 91.3 | πŸ”΄|  [agent-server-mock.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/agent-server-mock.ts)| 0 | 100 | 0 | 0 |[3-5](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/agent-server-mock.ts#L3-L5) 🟒|  [detect-env.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/detect-env.ts)| 92.3 | 86.66 | 100 | 91.3 |[15](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/detect-env.ts#L15),[85](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/detect-env.ts#L85) 🟒|  [env.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/env.ts)| 100 | 100 | 100 | 100 | 🟒|  [env.types.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/env.types.ts)| 100 | 100 | 100 | 100 | 🟒|  [fpjs-context.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/fpjs-context.ts)| 83.33 | 100 | 0 | 83.33 |[38](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/fpjs-context.ts#L38) 🟑|  [get-env.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/get-env.ts)| 75 | 0 | 100 | 75 |[9-10](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/get-env.ts#L9-L10) 🟒|  [index.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/index.ts)| 100 | 100 | 14.28 | 100 | 🟒|  [ssr.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/ssr.ts)| 100 | 100 | 100 | 100 | 🟒|  [use-visitor-data.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/use-visitor-data.ts)| 97.67 | 93.33 | 87.5 | 97.22 |[77](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/use-visitor-data.ts#L77) 🟒| src/components| 90.54 | 75 | 86.66 | 92.64 | 🟒|  [fpjs-provider.tsx](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/components/fpjs-provider.tsx)| 88.33 | 69.23 | 83.33 | 91.07 |[106](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/components/fpjs-provider.tsx#L106),[112-117](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/components/fpjs-provider.tsx#L112-L117),[136-138](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/components/fpjs-provider.tsx#L136-L138) 🟒|  [with-environment.tsx](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/components/with-environment.tsx)| 100 | 100 | 100 | 100 | 🟒| src/utils| 85.71 | 57.14 | 87.5 | 82.6 | 🟑|  [assert-is-truthy.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/utils/assert-is-truthy.ts)| 66.66 | 0 | 100 | 66.66 |[3](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/utils/assert-is-truthy.ts#L3) 🟑|  [to-error.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/utils/to-error.ts)| 75 | 100 | 100 | 75 |[6](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/utils/to-error.ts#L6) 🟒|  [use-previous.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/utils/use-previous.ts)| 100 | 100 | 100 | 100 | 🟒|  [wait-until.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/utils/wait-until.ts)| 86.66 | 60 | 75 | 80 |[10-12](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/894d50df09a14527531b9860decf01a6dd9636f3/src/utils/wait-until.ts#L10-L12)
ilfa commented 1 year ago

:tada: This PR is included in version 2.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: