Skip to content

Commit

Permalink
prepared for the 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NappyPirate committed Apr 18, 2019
1 parent 63f0cef commit f91ce97
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file.

## [1.5.0] - 2019-4-17
### Added
- Added the ability to not display a biometrics prompt when creating keys

## [1.4.0] - 2019-4-3
### Changed
- Fixed reported security issues from npm
Expand Down Expand Up @@ -65,3 +69,4 @@ All notable changes to this project will be documented in this file.
[1.2.0]: https://github.com/SelfLender/react-native-biometrics/compare/1.1.3...1.2.0
[1.3.0]: https://github.com/SelfLender/react-native-biometrics/compare/1.2.0...1.3.0
[1.4.0]: https://github.com/SelfLender/react-native-biometrics/compare/1.3.0...1.4.0
[1.5.0]: https://github.com/SelfLender/react-native-biometrics/compare/1.4.0...1.5.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ Biometrics.isSensorAvailable()
})
```

### createKeys(promptMessage)
### createKeys([promptMessage])

Prompts the user for their fingerprint or face id, then generates a public private RSA 2048 key pair that will be stored in the device keystore. Returns a `Promise` that resolves to a base64 encoded string representing the public key.

__Arguments__

- `promptMessage` - string that will be displayed in the fingerprint or face id prompt
- `promptMessage` - optional string that will be displayed in the fingerprint or face id prompt, if no prompt message is provided, no prompt will be displayed.

__Example__

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-biometrics",
"version": "1.4.0",
"version": "1.5.0",
"summary": "A React Native library for biometrics",
"description": "React Native biometric functionality for signing and encryption",
"main": "lib/index.js",
Expand Down

0 comments on commit f91ce97

Please sign in to comment.