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.0 to 7.0.1

3

dist/esm/definitions.d.ts

@@ -195,3 +195,4 @@ import type { PluginListenerHandle, WebPlugin } from '@capacitor/core';

* (currently only Android devices support multiple biometry types).
* If no biometry is supported, this will be an empty array.
* If no biometry is supported, i.e. `biometryType === BiometryType.none`,
* this will be an empty array.
*

@@ -198,0 +199,0 @@ * Note that _supported_ is not the same as _available_, which requires

@@ -97,3 +97,5 @@ import { BiometricAuthBase } from './base';

this.biometryType = types[0];
this.biometryTypes = types;
if (this.biometryType !== BiometryType.none) {
this.biometryTypes = types;
}
}

@@ -107,3 +109,8 @@ else {

BiometryType[types[i]];
this.biometryTypes.push(biometryType);
if (this.biometryType === BiometryType.none) {
this.biometryTypes = [];
}
else {
this.biometryTypes.push(biometryType);
}
if (i === 0) {

@@ -110,0 +117,0 @@ this.biometryType = biometryType;

@@ -225,3 +225,5 @@ 'use strict';

this.biometryType = types[0];
this.biometryTypes = types;
if (this.biometryType !== exports.BiometryType.none) {
this.biometryTypes = types;
}
}

@@ -235,3 +237,8 @@ else {

exports.BiometryType[types[i]];
this.biometryTypes.push(biometryType);
if (this.biometryType === exports.BiometryType.none) {
this.biometryTypes = [];
}
else {
this.biometryTypes.push(biometryType);
}
if (i === 0) {

@@ -238,0 +245,0 @@ this.biometryType = biometryType;

@@ -223,3 +223,5 @@ var capacitorBiometricAuth = (function (exports, core, app) {

this.biometryType = types[0];
this.biometryTypes = types;
if (this.biometryType !== exports.BiometryType.none) {
this.biometryTypes = types;
}
}

@@ -233,3 +235,8 @@ else {

exports.BiometryType[types[i]];
this.biometryTypes.push(biometryType);
if (this.biometryType === exports.BiometryType.none) {
this.biometryTypes = [];
}
else {
this.biometryTypes.push(biometryType);
}
if (i === 0) {

@@ -236,0 +243,0 @@ this.biometryType = biometryType;

{
"name": "@aparajita/capacitor-biometric-auth",
"version": "7.0.0",
"version": "7.0.1",
"description": "Provides access to the native biometric auth & device security APIs for Capacitor apps",

@@ -5,0 +5,0 @@ "author": "Aparajita Fishman",

@@ -253,3 +253,3 @@ <div class="markdown-body">

| biometryType | <a href="#biometrytype">BiometryType</a> | The primary (most secure) type of biometry supported by the device. Note that _supported_ is not the same as _available_, which requires the biometry to be enrolled. |
| biometryTypes | BiometryType[] | All of the biometry types supported by the hardware on the device (currently only Android devices support multiple biometry types). If no biometry is supported, this will be an empty array.<br><br>Note that _supported_ is not the same as _available_, which requires the biometry to be enrolled. |
| biometryTypes | BiometryType[] | All of the biometry types supported by the hardware on the device (currently only Android devices support multiple biometry types). If no biometry is supported, i.e. `biometryType === <a href="#biometrytype">BiometryType.none`</a>, this will be an empty array.<br><br>Note that _supported_ is not the same as _available_, which requires the biometry to be enrolled. |
| 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. |

@@ -256,0 +256,0 @@ | 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. |

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