@aparajita/capacitor-biometric-auth 2.0.1 → 2.0.2

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/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { registerPlugin } from '@capacitor/core';
2
2
  import { kPluginName } from './definitions';
3
- import { name, version } from './package.json';
3
+ import { name } from './package.json';
4
4
  import { BiometricAuth } from './web';
5
- console.log(`loaded ${name} v${version}`);
5
+ console.log(`loaded ${name}`);
6
6
  // Because we are using @aparajita/capacitor-native-decorator,
7
7
  // we have one version of the TS code to rule them all, and there
8
8
  // is no need to lazy load. 😁
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aparajita/capacitor-biometric-auth",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Provides access to the native biometric auth APIs for Capacitor apps",
5
5
  "author": "Aparajita Fishman",
6
6
  "license": "MIT",
@@ -42,8 +42,9 @@
42
42
  "verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..",
43
43
  "verify:android": "cd android && ./gradlew clean build test && cd ..",
44
44
  "verify:web": "pnpm build",
45
- "release": "commit-and-tag-version",
46
- "push": "git push --follow-tags origin main"
45
+ "push": "git push --follow-tags origin main",
46
+ "release.check": "commit-and-tag-version $VERSION --dry-run",
47
+ "release": "commit-and-tag-version $VERSION && pnpm push && pnpm publish"
47
48
  },
48
49
  "keywords": [
49
50
  "capacitor",
@@ -101,7 +102,7 @@
101
102
  "typescript": "~4.7.4"
102
103
  },
103
104
  "dependencies": {
104
- "@aparajita/capacitor-native-decorator": "^2.0.2",
105
+ "@aparajita/capacitor-native-decorator": "link:../capacitor-native-decorator",
105
106
  "@capacitor/android": "^3.6.0",
106
107
  "@capacitor/app": "^1.1.1",
107
108
  "@capacitor/ios": "^3.6.0"
@@ -65,7 +65,6 @@ class BiometryError {
65
65
  const kPluginName = 'BiometricAuth';
66
66
 
67
67
  const name = "@aparajita/capacitor-biometric-auth";
68
- const version = "2.0.0";
69
68
 
70
69
  var __decorate = (window && window.__decorate) || function (decorators, target, key, desc) {
71
70
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -155,7 +154,7 @@ function getBiometryName(type) {
155
154
  return kBiometryTypeNameMap[type] || '';
156
155
  }
157
156
 
158
- console.log(`loaded ${name} v${version}`);
157
+ console.log(`loaded ${name}`);
159
158
  // Because we are using @aparajita/capacitor-native-decorator,
160
159
  // we have one version of the TS code to rule them all, and there
161
160
  // is no need to lazy load. 😁
package/dist/plugin.js CHANGED
@@ -60,7 +60,6 @@ var capacitorBiometricAuth = (function (exports, core, capacitorNativeDecorator,
60
60
  const kPluginName = 'BiometricAuth';
61
61
 
62
62
  const name = "@aparajita/capacitor-biometric-auth";
63
- const version = "2.0.0";
64
63
 
65
64
  var __decorate = (window && window.__decorate) || function (decorators, target, key, desc) {
66
65
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -150,7 +149,7 @@ var capacitorBiometricAuth = (function (exports, core, capacitorNativeDecorator,
150
149
  return kBiometryTypeNameMap[type] || '';
151
150
  }
152
151
 
153
- console.log(`loaded ${name} v${version}`);
152
+ console.log(`loaded ${name}`);
154
153
  // Because we are using @aparajita/capacitor-native-decorator,
155
154
  // we have one version of the TS code to rule them all, and there
156
155
  // is no need to lazy load. 😁
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aparajita/capacitor-biometric-auth",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Provides access to the native biometric auth APIs for Capacitor apps",
5
5
  "author": "Aparajita Fishman",
6
6
  "license": "MIT",
@@ -75,7 +75,7 @@
75
75
  "typescript": "~4.7.4"
76
76
  },
77
77
  "dependencies": {
78
- "@aparajita/capacitor-native-decorator": "^2.0.2",
78
+ "@aparajita/capacitor-native-decorator": "^2.0.3",
79
79
  "@capacitor/android": "^3.6.0",
80
80
  "@capacitor/app": "^1.1.1",
81
81
  "@capacitor/ios": "^3.6.0"
@@ -106,7 +106,8 @@
106
106
  "verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..",
107
107
  "verify:android": "cd android && ./gradlew clean build test && cd ..",
108
108
  "verify:web": "pnpm build",
109
- "release": "commit-and-tag-version",
110
- "push": "git push --follow-tags origin main"
109
+ "push": "git push --follow-tags origin main",
110
+ "release.check": "commit-and-tag-version $VERSION --dry-run",
111
+ "release": "commit-and-tag-version $VERSION && pnpm push && pnpm publish"
111
112
  }
112
113
  }