@aparajita/capacitor-biometric-auth 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -110,12 +110,12 @@ public class AuthActivity extends AppCompatActivity {
|
|
|
110
110
|
|
|
111
111
|
// When allowDeviceCredential is true, I can't seem to force the prompt
|
|
112
112
|
// to go away, so skip attempt counting.
|
|
113
|
-
if (!allowDeviceCredential && attemptCount
|
|
113
|
+
if (!allowDeviceCredential && attemptCount >= maxAttempts) {
|
|
114
114
|
finishActivity(
|
|
115
115
|
BiometryResultType.FAILURE,
|
|
116
116
|
0,
|
|
117
117
|
String.format(
|
|
118
|
-
"The user
|
|
118
|
+
"The user reached the maximum of %d attempt(s)",
|
|
119
119
|
maxAttempts
|
|
120
120
|
)
|
|
121
121
|
);
|
package/dist/esm/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aparajita/capacitor-biometric-auth",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Provides access to the native biometric auth APIs for Capacitor apps",
|
|
5
5
|
"author": "Aparajita Fishman",
|
|
6
6
|
"license": "MIT",
|
|
@@ -82,16 +82,16 @@
|
|
|
82
82
|
"@ionic/swiftlint-config": "^1.1.2",
|
|
83
83
|
"@rollup/plugin-json": "^4.1.0",
|
|
84
84
|
"@types/node": "^18.0.1",
|
|
85
|
-
"@typescript-eslint/eslint-plugin": "^5.30.
|
|
86
|
-
"@typescript-eslint/parser": "^5.30.
|
|
85
|
+
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
86
|
+
"@typescript-eslint/parser": "^5.30.5",
|
|
87
87
|
"chalk": "^5.0.1",
|
|
88
88
|
"commit-and-tag-version": "^10.0.1",
|
|
89
89
|
"eslint": "^8.19.0",
|
|
90
90
|
"eslint-config-prettier": "^8.5.0",
|
|
91
91
|
"eslint-config-standard": "^17.0.0",
|
|
92
|
-
"eslint-import-resolver-typescript": "^3.2.
|
|
92
|
+
"eslint-import-resolver-typescript": "^3.2.1",
|
|
93
93
|
"eslint-plugin-import": "^2.26.0",
|
|
94
|
-
"eslint-plugin-n": "^15.2.
|
|
94
|
+
"eslint-plugin-n": "^15.2.4",
|
|
95
95
|
"eslint-plugin-prettier": "^4.2.1",
|
|
96
96
|
"eslint-plugin-promise": "^6.0.0",
|
|
97
97
|
"nodemon": "^2.0.18",
|