Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aparajita/capacitor-biometric-auth

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aparajita/capacitor-biometric-auth - npm Package Compare versions

Comparing version 7.0.2 to 7.1.0

28

dist/esm/definitions.d.ts

@@ -213,13 +213,31 @@ import type { PluginListenerHandle, WebPlugin } from '@capacitor/core';

/**
* If biometry is not available and the system gives a reason why,
* it will be returned here. Otherwise it's an empty string.
* If weak or better biometry is not available and the system gives
* a reason why, it will be returned here. Otherwise it's an empty string.
*/
reason: string;
/**
* If biometry is not available, the error code will be returned here.
* Otherwise it's an empty string. The error code will be one of the
* `BiometryErrorType` enum values, and is consistent across
* If weak or better biometry is not available, the error code will be
* returned here. Otherwise it's an empty string. The error code will be
* one of the `BiometryErrorType` enum values, and is consistent across
* platforms.
*/
code: BiometryErrorType;
/**
* If strong biometry is not available and the system gives
* a reason why, it will be returned here. Otherwise it's an empty string.
*
* On iOS, this will always be the same as `reason`, since all biometry
* on iOS is strong.
*/
strongReason?: string;
/**
* If strong biometry is not available, the error code will be
* returned here. Otherwise it's an empty string. The error code will be
* one of the `BiometryErrorType` enum values, and is consistent across
* platforms.
*
* On iOS, this will always be the same as `code`, since all biometry
* on iOS is strong.
*/
strongCode?: BiometryErrorType;
}

@@ -226,0 +244,0 @@ /**

@@ -33,2 +33,4 @@ import { BiometricAuthBase } from './base';

code: BiometryErrorType.none,
strongReason: '',
strongCode: BiometryErrorType.none,
});

@@ -35,0 +37,0 @@ }

@@ -301,2 +301,4 @@ 'use strict';

code: exports.BiometryErrorType.none,
strongReason: '',
strongCode: exports.BiometryErrorType.none,
});

@@ -303,0 +305,0 @@ }

@@ -299,2 +299,4 @@ var capacitorBiometricAuth = (function (exports, core, app) {

code: exports.BiometryErrorType.none,
strongReason: '',
strongCode: exports.BiometryErrorType.none,
});

@@ -301,0 +303,0 @@ }

18

package.json
{
"name": "@aparajita/capacitor-biometric-auth",
"version": "7.0.2",
"version": "7.1.0",
"description": "Provides access to the native biometric auth & device security APIs for Capacitor apps",

@@ -61,10 +61,10 @@ "author": "Aparajita Fishman",

"@capacitor/cli": "^5.6.0",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@ionic/swiftlint-config": "^1.1.2",
"@rollup/plugin-json": "^6.1.0",
"@types/node": "^20.10.6",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"commit-and-tag-version": "^12.0.0",
"@types/node": "^20.10.8",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"commit-and-tag-version": "^12.1.0",
"eslint": "^8.56.0",

@@ -75,3 +75,3 @@ "eslint-config-prettier": "^9.1.0",

"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",

@@ -82,3 +82,3 @@ "nodemon": "^3.0.2",

"rimraf": "^5.0.5",
"rollup": "^4.9.2",
"rollup": "^4.9.4",
"simple-git-hooks": "^2.9.0",

@@ -85,0 +85,0 @@ "swiftlint": "^1.0.2",

@@ -255,4 +255,6 @@ <div class="markdown-body">

| deviceIsSecure | boolean | Returns true if the device is secure. On iOS, this means that the device has a passcode set. On Android, this means that the device has a PIN, pattern, or password set. |
| reason | string | If biometry is not available and the system gives a reason why, it will be returned here. Otherwise it's an empty string. |
| code | <a href="#biometryerrortype">BiometryErrorType</a> | If biometry is not available, the error code will be returned here. Otherwise it's an empty string. The error code will be one of the <a href="#biometryerrortype">`BiometryErrorType`</a> enum values, and is consistent across platforms. |
| reason | string | If weak or better biometry is not available and the system gives a reason why, it will be returned here. Otherwise it's an empty string. |
| code | <a href="#biometryerrortype">BiometryErrorType</a> | If weak or better biometry is not available, the error code will be returned here. Otherwise it's an empty string. The error code will be one of the <a href="#biometryerrortype">`BiometryErrorType`</a> enum values, and is consistent across platforms. |
| strongReason | string | If strong biometry is not available and the system gives a reason why, it will be returned here. Otherwise it's an empty string.<br><br>On iOS, this will always be the same as `reason`, since all biometry on iOS is strong. |
| strongCode | <a href="#biometryerrortype">BiometryErrorType</a> | If strong biometry is not available, the error code will be returned here. Otherwise it's an empty string. The error code will be one of the <a href="#biometryerrortype">`BiometryErrorType`</a> enum values, and is consistent across platforms.<br><br>On iOS, this will always be the same as `code`, since all biometry on iOS is strong. |

@@ -259,0 +261,0 @@ #### Array

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc