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

capacitor-plugin-nitgen-fingerprint

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-plugin-nitgen-fingerprint - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

98

dist/docs.json

@@ -10,3 +10,3 @@ {

"name": "init",
"signature": "(options: InitOptions & CaptureOptions) => Promise<void>",
"signature": "(options: InitOptions & CaptureOptions) => any",
"parameters": [

@@ -19,3 +19,3 @@ {

],
"returns": "Promise<void>",
"returns": "any",
"tags": [

@@ -36,5 +36,5 @@ {

"name": "connect",
"signature": "() => Promise<void>",
"signature": "() => any",
"parameters": [],
"returns": "Promise<void>",
"returns": "any",
"tags": [

@@ -52,5 +52,5 @@ {

"name": "disconnect",
"signature": "() => Promise<void>",
"signature": "() => any",
"parameters": [],
"returns": "Promise<void>",
"returns": "any",
"tags": [

@@ -68,3 +68,3 @@ {

"name": "capture",
"signature": "(options?: CaptureOptions | undefined) => Promise<CaptureResult>",
"signature": "(options?: CaptureOptions | undefined) => any",
"parameters": [

@@ -77,3 +77,3 @@ {

],
"returns": "Promise<CaptureResult>",
"returns": "any",
"tags": [

@@ -87,4 +87,4 @@ {

"complexTypes": [
"CaptureResult",
"CaptureOptions"
"CaptureOptions",
"CaptureResult"
],

@@ -95,3 +95,3 @@ "slug": "capture"

"name": "match",
"signature": "(options: MatchOptions & CaptureOptions) => Promise<MatchResult>",
"signature": "(options: MatchOptions & CaptureOptions) => any",
"parameters": [

@@ -104,3 +104,3 @@ {

],
"returns": "Promise<MatchResult>",
"returns": "any",
"tags": [

@@ -114,5 +114,5 @@ {

"complexTypes": [
"MatchResult",
"MatchOptions",
"CaptureOptions"
"CaptureOptions",
"MatchResult"
],

@@ -123,3 +123,3 @@ "slug": "match"

"name": "addListener",
"signature": "(eventName: 'onConnected', listenerFunc: OnConnectedListener) => Promise<PluginListenerHandle> & PluginListenerHandle",
"signature": "(eventName: 'onConnected', listenerFunc: OnConnectedListener) => any",
"parameters": [

@@ -137,3 +137,3 @@ {

],
"returns": "Promise<PluginListenerHandle> & PluginListenerHandle",
"returns": "any",
"tags": [

@@ -147,10 +147,10 @@ {

"complexTypes": [
"PluginListenerHandle",
"OnConnectedListener"
"OnConnectedListener",
"PluginListenerHandle"
],
"slug": "addlisteneronconnected"
"slug": "addlisteneronconnected-"
},
{
"name": "addListener",
"signature": "(eventName: 'onDisconnected', listenerFunc: () => void) => Promise<PluginListenerHandle> & PluginListenerHandle",
"signature": "(eventName: 'onDisconnected', listenerFunc: () => void) => any",
"parameters": [

@@ -168,3 +168,3 @@ {

],
"returns": "Promise<PluginListenerHandle> & PluginListenerHandle",
"returns": "any",
"tags": [

@@ -180,3 +180,3 @@ {

],
"slug": "addlistenerondisconnected"
"slug": "addlistenerondisconnected-"
}

@@ -319,2 +319,23 @@ ],

{
"name": "MatchOptions",
"slug": "matchoptions",
"docs": "",
"tags": [],
"methods": [],
"properties": [
{
"name": "textFIR",
"tags": [
{
"text": "0.0.1",
"name": "since"
}
],
"docs": "A stored text FIR to match with captured fingerprint",
"complexTypes": [],
"type": "string"
}
]
},
{
"name": "MatchResult",

@@ -365,4 +386,4 @@ "slug": "matchresult",

{
"name": "MatchOptions",
"slug": "matchoptions",
"name": "OnConnectedListenerEvent",
"slug": "onconnectedlistenerevent",
"docs": "",

@@ -373,3 +394,3 @@ "tags": [],

{
"name": "textFIR",
"name": "openedDeviceID",
"tags": [

@@ -381,5 +402,5 @@ {

],
"docs": "A stored text FIR to match with captured fingerprint",
"docs": "Device ID",
"complexTypes": [],
"type": "string"
"type": "number"
}

@@ -400,26 +421,5 @@ ]

"complexTypes": [],
"type": "() => Promise<void>"
"type": "() => any"
}
]
},
{
"name": "OnConnectedListenerEvent",
"slug": "onconnectedlistenerevent",
"docs": "",
"tags": [],
"methods": [],
"properties": [
{
"name": "openedDeviceID",
"tags": [
{
"text": "0.0.1",
"name": "since"
}
],
"docs": "Device ID",
"complexTypes": [],
"type": "number"
}
]
}

@@ -426,0 +426,0 @@ ],

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

*/
addListener(eventName: 'onConnected', listenerFunc: OnConnectedListener): Promise<PluginListenerHandle> & PluginListenerHandle;
addListener(eventName: 'onConnected', listenerFunc: OnConnectedListener): Promise<PluginListenerHandle>;
/**

@@ -38,3 +38,3 @@ * Listen for disconnected event

*/
addListener(eventName: 'onDisconnected', listenerFunc: () => void): Promise<PluginListenerHandle> & PluginListenerHandle;
addListener(eventName: 'onDisconnected', listenerFunc: () => void): Promise<PluginListenerHandle>;
}

@@ -41,0 +41,0 @@ export interface OnConnectedListenerEvent {

{
"name": "capacitor-plugin-nitgen-fingerprint",
"version": "3.0.0",
"version": "4.0.0",
"description": "Capacitor plugin for Nitgen fingerprint devices.",

@@ -44,8 +44,8 @@ "main": "dist/plugin.cjs.js",

"prepublishOnly": "npm run build",
"release": "np"
"release": "np --no-tests"
},
"devDependencies": {
"@capacitor/android": "^5.0.0",
"@capacitor/core": "^5.0.0",
"@capacitor/docgen": "^0.2.1",
"@capacitor/android": "^6.0.0",
"@capacitor/core": "^6.0.0",
"@capacitor/docgen": "^0.2.2",
"@ionic/eslint-config": "^0.3.0",

@@ -57,7 +57,7 @@ "@ionic/prettier-config": "4.0.0",

"husky": "8.0.3",
"np": "9.2.0",
"np": "10.0.5",
"prettier": "3.1.1",
"prettier-plugin-java": "2.5.0",
"pretty-quick": "^3.1.3",
"rimraf": "5.0.5",
"rimraf": "5.0.7",
"rollup": "^2.32.0",

@@ -67,3 +67,3 @@ "typescript": "4.4.4"

"peerDependencies": {
"@capacitor/core": "^5.0.0"
"@capacitor/core": "^6.0.0"
},

@@ -70,0 +70,0 @@ "eslintConfig": {

# capacitor-plugin-nitgen-fingerprint
Capacitor 5 plugin for Nitgen fingerprint readers (Hamster DX and Hamster III).
Capacitor 6 plugin for Nitgen fingerprint readers (Hamster DX and Hamster III).

@@ -34,4 +34,4 @@ **ANDROID ONLY**

* [`match(...)`](#match)
* [`addListener('onConnected', ...)`](#addlisteneronconnected)
* [`addListener('onDisconnected', ...)`](#addlistenerondisconnected)
* [`addListener('onConnected', ...)`](#addlisteneronconnected-)
* [`addListener('onDisconnected', ...)`](#addlistenerondisconnected-)
* [Interfaces](#interfaces)

@@ -49,3 +49,3 @@ * [Type Aliases](#type-aliases)

```typescript
init(options: InitOptions & CaptureOptions) => Promise<void>
init(options: InitOptions & CaptureOptions) => any
```

@@ -59,2 +59,4 @@

**Returns:** <code>any</code>
**Since:** 0.0.1

@@ -68,3 +70,3 @@

```typescript
connect() => Promise<void>
connect() => any
```

@@ -74,2 +76,4 @@

**Returns:** <code>any</code>
**Since:** 0.0.1

@@ -83,3 +87,3 @@

```typescript
disconnect() => Promise<void>
disconnect() => any
```

@@ -89,2 +93,4 @@

**Returns:** <code>any</code>
**Since:** 0.0.1

@@ -98,3 +104,3 @@

```typescript
capture(options?: CaptureOptions | undefined) => Promise<CaptureResult>
capture(options?: CaptureOptions | undefined) => any
```

@@ -108,3 +114,3 @@

**Returns:** <code>Promise&lt;<a href="#captureresult">CaptureResult</a>&gt;</code>
**Returns:** <code>any</code>

@@ -119,3 +125,3 @@ **Since:** 0.0.1

```typescript
match(options: MatchOptions & CaptureOptions) => Promise<MatchResult>
match(options: MatchOptions & CaptureOptions) => any
```

@@ -129,3 +135,3 @@

**Returns:** <code>Promise&lt;<a href="#matchresult">MatchResult</a>&gt;</code>
**Returns:** <code>any</code>

@@ -140,3 +146,3 @@ **Since:** 0.0.1

```typescript
addListener(eventName: 'onConnected', listenerFunc: OnConnectedListener) => Promise<PluginListenerHandle> & PluginListenerHandle
addListener(eventName: 'onConnected', listenerFunc: OnConnectedListener) => any
```

@@ -151,3 +157,3 @@

**Returns:** <code>Promise&lt;<a href="#pluginlistenerhandle">PluginListenerHandle</a>&gt; & <a href="#pluginlistenerhandle">PluginListenerHandle</a></code>
**Returns:** <code>any</code>

@@ -162,3 +168,3 @@ **Since:** 0.0.1

```typescript
addListener(eventName: 'onDisconnected', listenerFunc: () => void) => Promise<PluginListenerHandle> & PluginListenerHandle
addListener(eventName: 'onDisconnected', listenerFunc: () => void) => any
```

@@ -173,3 +179,3 @@

**Returns:** <code>Promise&lt;<a href="#pluginlistenerhandle">PluginListenerHandle</a>&gt; & <a href="#pluginlistenerhandle">PluginListenerHandle</a></code>
**Returns:** <code>any</code>

@@ -209,11 +215,2 @@ **Since:** 0.0.1

#### MatchResult
| Prop | Type | Description | Since |
| ------------- | -------------------- | ---------------------------------------- | ----- |
| **`isMatch`** | <code>boolean</code> | If captured fingerprint matched text FIR | 0.0.1 |
| **`textFIR`** | <code>string</code> | Captured text FIR | 0.0.1 |
| **`image`** | <code>string</code> | base64 encoded fingerprint image | 0.0.1 |
#### MatchOptions

@@ -226,7 +223,9 @@

#### PluginListenerHandle
#### MatchResult
| Prop | Type |
| ------------ | ----------------------------------------- |
| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |
| Prop | Type | Description | Since |
| ------------- | -------------------- | ---------------------------------------- | ----- |
| **`isMatch`** | <code>boolean</code> | If captured fingerprint matched text FIR | 0.0.1 |
| **`textFIR`** | <code>string</code> | Captured text FIR | 0.0.1 |
| **`image`** | <code>string</code> | base64 encoded fingerprint image | 0.0.1 |

@@ -241,2 +240,9 @@

#### PluginListenerHandle
| Prop | Type |
| ------------ | ------------------------- |
| **`remove`** | <code>() =&gt; any</code> |
### Type Aliases

@@ -243,0 +249,0 @@

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