@aparajita/capacitor-biometric-auth 6.0.0 → 6.0.1
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.
- package/dist/esm/base.js +2 -2
- package/dist/plugin.cjs.js +2 -2
- package/dist/plugin.js +2 -2
- package/package.json +1 -1
package/dist/esm/base.js
CHANGED
|
@@ -12,8 +12,8 @@ export class BiometricAuthBase extends WebPlugin {
|
|
|
12
12
|
// an instance of BiometryError on the web.
|
|
13
13
|
if (error instanceof CapacitorException) {
|
|
14
14
|
throw new BiometryError(error.message,
|
|
15
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions --
|
|
16
|
-
error.
|
|
15
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- we are converting from ExceptionCode to BiometryErrorType
|
|
16
|
+
error.code);
|
|
17
17
|
}
|
|
18
18
|
else {
|
|
19
19
|
throw error;
|
package/dist/plugin.cjs.js
CHANGED
|
@@ -98,8 +98,8 @@ class BiometricAuthBase extends core.WebPlugin {
|
|
|
98
98
|
// an instance of BiometryError on the web.
|
|
99
99
|
if (error instanceof core.CapacitorException) {
|
|
100
100
|
throw new BiometryError(error.message,
|
|
101
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions --
|
|
102
|
-
error.
|
|
101
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- we are converting from ExceptionCode to BiometryErrorType
|
|
102
|
+
error.code);
|
|
103
103
|
}
|
|
104
104
|
else {
|
|
105
105
|
throw error;
|
package/dist/plugin.js
CHANGED
|
@@ -96,8 +96,8 @@ var capacitorBiometricAuth = (function (exports, core, app) {
|
|
|
96
96
|
// an instance of BiometryError on the web.
|
|
97
97
|
if (error instanceof core.CapacitorException) {
|
|
98
98
|
throw new BiometryError(error.message,
|
|
99
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions --
|
|
100
|
-
error.
|
|
99
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- we are converting from ExceptionCode to BiometryErrorType
|
|
100
|
+
error.code);
|
|
101
101
|
}
|
|
102
102
|
else {
|
|
103
103
|
throw error;
|