fingerprintjs / fingerprintjs-pro-react-native

Official React Native client for Fingerprint PRO. 100% accurate device identification for fraud detection.
https://fingerprint.com
MIT License
61 stars 4 forks source link

Update native agents #100

Closed ilfa closed 9 months ago

github-actions[bot] commented 1 year ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
πŸ”΄ Statements 42.4% 53/125
πŸ”΄ Branches 22.22% 8/36
πŸ”΄ Functions 42.5% 17/40
πŸ”΄ Lines 40.5% 49/121

Test suite run success

10 tests passing in 3 suites.

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

Show full coverage report St|File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s --|------------------------------|---------|----------|---------|---------|----------------------------------------- πŸ”΄|All files | 42.4 | 22.22 | 42.5 | 40.49 | 🟑| [FingerprintJsProAgent.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/FingerprintJsProAgent.ts)| 50 | 40 | 66.66 | 50 |[22-39](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/FingerprintJsProAgent.ts#L22-L39),[69](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/FingerprintJsProAgent.ts#L69) 🟑| [FingerprintJsProContext.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/FingerprintJsProContext.ts)| 75 | 100 | 0 | 75 |[5](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/FingerprintJsProContext.ts#L5) 🟒| [FingerprintJsProProvider.tsx](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/FingerprintJsProProvider.tsx)| 93.33 | 50 | 100 | 93.33 |[43](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/FingerprintJsProProvider.tsx#L43) πŸ”΄| [errors.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/errors.ts)| 16 | 11.11 | 16 | 16 |[8-33](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/errors.ts#L8-L33),[56-249](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/errors.ts#L56-L249),[272-273](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/errors.ts#L272-L273),[319-323](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/errors.ts#L319-L323),[330-364](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/errors.ts#L330-L364),[368](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/errors.ts#L368) πŸ”΄| [index.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/index.ts)| 0 | 0 | 0 | 0 | πŸ”΄| [types.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/types.ts)| 0 | 0 | 0 | 0 | 🟒| [useVisitorData.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react-native/blob/e1bfaf3b95fa4e0ffe3edd4590bc623eb419ec2a/src/useVisitorData.ts)| 100 | 100 | 100 | 100 |
github-actions[bot] commented 1 year ago

Wrong commit message format detected

We use Semantic Commit Messages in our project.

Warning Probably you forgot to activate local git hooks.

Run the next command in the project root to activate local hooks:

sh ./install_hooks.sh

More info you can find in job logs

github-actions[bot] commented 1 year ago

This PR will create a minor release :rocket:

2.6.0 (2023-11-02)

Features

ilfa commented 9 months ago

Merged in #103