@aparajita/capacitor-biometric-auth
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -31,3 +31,4 @@ import type { DecoratedNativePlugin } from '@aparajita/capacitor-native-decorator'; | ||
/** | ||
* The reason for requesting authentication. Displays in the authentication dialog presented to the user. If not supplied, a default message is displayed. | ||
* The reason for requesting authentication. Displays in the authentication dialog | ||
* presented to the user. If not supplied, a default message is displayed. | ||
*/ | ||
@@ -34,0 +35,0 @@ reason?: string; |
@@ -58,2 +58,1 @@ export var BiometryType; | ||
export const kPluginName = 'BiometricAuth'; | ||
//# sourceMappingURL=definitions.js.map |
import { registerPlugin } from '@capacitor/core'; | ||
import { kPluginName } from './definitions'; | ||
import { name, version } from './package.json'; | ||
import { BiometricAuth } from './web'; | ||
console.log(`loaded ${name} v${version}`); | ||
// Because we are using @aparajita/capacitor-native-decorator, | ||
@@ -17,2 +19,1 @@ // we have one version of the TS code to rule them all, and there | ||
export { getBiometryName } from './web'; | ||
//# sourceMappingURL=index.js.map |
@@ -92,2 +92,1 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
} | ||
//# sourceMappingURL=web.js.map |
@@ -67,2 +67,5 @@ 'use strict'; | ||
const name = "@aparajita/capacitor-biometric-auth"; | ||
const version = "2.0.0"; | ||
var __decorate = (window && window.__decorate) || function (decorators, target, key, desc) { | ||
@@ -156,2 +159,3 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
console.log(`loaded ${name} v${version}`); | ||
// Because we are using @aparajita/capacitor-native-decorator, | ||
@@ -172,2 +176,1 @@ // we have one version of the TS code to rule them all, and there | ||
exports.kPluginName = kPluginName; | ||
//# sourceMappingURL=plugin.cjs.js.map |
@@ -62,2 +62,5 @@ var capacitorBiometricAuth = (function (exports, core, capacitorNativeDecorator, app) { | ||
const name = "@aparajita/capacitor-biometric-auth"; | ||
const version = "2.0.0"; | ||
var __decorate = (window && window.__decorate) || function (decorators, target, key, desc) { | ||
@@ -151,2 +154,3 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
console.log(`loaded ${name} v${version}`); | ||
// Because we are using @aparajita/capacitor-native-decorator, | ||
@@ -173,2 +177,1 @@ // we have one version of the TS code to rule them all, and there | ||
})({}, capacitorExports, capacitorNativeDecorator, app); | ||
//# sourceMappingURL=plugin.js.map |
{ | ||
"name": "@aparajita/capacitor-biometric-auth", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Provides access to the native biometric auth APIs for Capacitor apps", | ||
@@ -56,8 +56,9 @@ "author": "Aparajita Fishman", | ||
"@ionic/swiftlint-config": "^1.1.2", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@types/node": "^18.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.30.2", | ||
"@typescript-eslint/parser": "^5.30.2", | ||
"@typescript-eslint/eslint-plugin": "^5.30.3", | ||
"@typescript-eslint/parser": "^5.30.3", | ||
"chalk": "^5.0.1", | ||
"commit-and-tag-version": "^10.0.1", | ||
"eslint": "^8.18.0", | ||
"eslint": "^8.19.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
@@ -78,3 +79,3 @@ "eslint-config-standard": "^17.0.0", | ||
"dependencies": { | ||
"@aparajita/capacitor-native-decorator": "link:../capacitor-native-decorator", | ||
"@aparajita/capacitor-native-decorator": "^2.0.2", | ||
"@capacitor/android": "^3.6.0", | ||
@@ -89,9 +90,8 @@ "@capacitor/app": "^1.1.1", | ||
"clean": "rimraf ./dist", | ||
"verify": "pnpm verify:ios && pnpm verify:android && pnpm verify:web", | ||
"verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..", | ||
"verify:android": "cd android && ./gradlew clean build test && cd ..", | ||
"verify:web": "pnpm build", | ||
"build": "pnpm clean && tsc && rollup -c rollup.config.js && pnpm docgen && pnpm make", | ||
"make": "make-ios-plugin", | ||
"watch": "nodemon -w ./src -w tsconfig.json -w rollup.config.js --exec 'pnpm build --silent' -e ts", | ||
"build": "pnpm check && pnpm build.only", | ||
"build.dev": "pnpm check && pnpm build.only.dev", | ||
"build.only": "pnpm clean && tsc $SOURCE_MAP && pnpm rollup && make-ios-plugin && pnpm docgen", | ||
"build.only.dev": "SOURCE_MAP=--sourceMap pnpm build.only", | ||
"rollup": "rollup -c rollup.config.mjs", | ||
"watch": "nodemon -w ./src -w tsconfig.json -w rollup.config.mjs --exec 'pnpm build --silent' -e ts", | ||
"lint": "eslint . && pnpm typecheck", | ||
@@ -101,3 +101,3 @@ "lint.fix": "eslint --fix . && pnpm typecheck", | ||
"lint.swift": "pnpm swiftlint", | ||
"prettier": "prettier --check \"**/*.{css,html,ts,js,java}\"", | ||
"prettier": "prettier --check \"**/*.{css,html,ts,js,json,java}\"", | ||
"prettier.fix": "pnpm prettier --write", | ||
@@ -109,2 +109,6 @@ "swiftlint": "swiftly ios", | ||
"docgen": "docgen --api BiometricAuthPlugin --output-readme README.md && docgen-format", | ||
"verify": "pnpm verify:ios && pnpm verify:android && pnpm verify:web", | ||
"verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..", | ||
"verify:android": "cd android && ./gradlew clean build test && cd ..", | ||
"verify:web": "pnpm build", | ||
"release": "commit-and-tag-version", | ||
@@ -111,0 +115,0 @@ "push": "git push --follow-tags origin main" |
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1074
0
0
84468
27
29
+ Added@aparajita/capacitor-native-decorator@2.0.8(transitive)