Skip to content

Commit 47e6374

Browse files
bump
1 parent 7c1a6d1 commit 47e6374

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ fingerprintAuth.available().then(
4444
```
4545

4646
#### TypeScript
47-
```js
47+
```typescript
4848
import { FingerprintAuth } from "nativescript-fingerprint-auth";
4949

5050
class MyClass {
@@ -54,11 +54,12 @@ class MyClass {
5454
this.fingerprintAuth = new FingerprintAuth();
5555
}
5656

57-
this.fingerprintAuth.available().then(
57+
this.fingerprintAuth.available()
58+
.then(
5859
(avail: boolean) => {
5960
console.log(`Available? ${avail}`);
60-
});
61-
);
61+
}
62+
);
6263
}
6364
```
6465

@@ -129,6 +130,7 @@ fingerprintAuth.available().then(
129130
```
130131

131132
## Changelog
133+
- 4.0.1 Aligned with [the official NativeScript plugin seed](https://github.com/NativeScript/nativescript-plugin-seed). Requires NativeScript 3.0.0+. Thanks, @angeltsvetkov!
132134
- 4.0.0 Converted to TypeScript. Changed the error response type of `verifyFingerprintWithCustomFallback`.
133135
- 3.0.0 Android support added. Renamed `nativescript-touchid` to `nativescript-fingerprint-auth` (sorry for any inconvenience!).
134136
- 2.1.1 Xcode 8 compatibility - requires NativeScript 2.3.0+.

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-fingerprint-auth",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "A fingerprint authentication plugin for use in NativeScript apps",
55
"main": "fingerprint-auth",
66
"nativescript": {

0 commit comments

Comments
 (0)