From f91ce9706096e8d2a4cf13d72184813bce026893 Mon Sep 17 00:00:00 2001 From: Brandon Hines Date: Wed, 17 Apr 2019 22:08:44 -0500 Subject: [PATCH] prepared for the 1.5.0 --- CHANGELOG.md | 5 +++++ README.md | 4 ++-- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3804f43..e9d3e0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/README.md b/README.md index 280bc58..6128133 100644 --- a/README.md +++ b/README.md @@ -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__ diff --git a/package-lock.json b/package-lock.json index 6264b76..c7c45cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-native-biometrics", - "version": "1.4.0", + "version": "1.5.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index d91ccce..0c6d882 100644 --- a/package.json +++ b/package.json @@ -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",