@symbiote-native/local-auth 2.0.0 → 3.0.0

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.
Files changed (2) hide show
  1. package/README.md +8 -4
  2. package/package.json +14 -14
package/README.md CHANGED
@@ -15,6 +15,10 @@ re-exports of the same `core`.
15
15
  npm install @symbiote-native/local-auth
16
16
  ```
17
17
 
18
+ Scaffolding or extending a SymbioteNative app? `npx @symbiote-native/cli new --local-auth` (or
19
+ `add --local-auth` in an existing app) installs and wires this for you — see
20
+ [`@symbiote-native/cli`](../cli).
21
+
18
22
  `expo-local-authentication` and `expo-modules-core` come along as regular dependencies, pinned
19
23
  to exact versions — never install either yourself, and never add the `expo` meta-package to
20
24
  your project (it bundles its own Metro/Babel pipeline, which conflicts with this project's own).
@@ -330,13 +334,13 @@ export class LocalAuthScreen {
330
334
  ```
331
335
 
332
336
  There's no per-instance service to `inject()` in the Angular case — every function is a plain
333
- free function off the core package, called straight from the constructor. The React/Vue/Angular
334
- examples are trimmed from the real canary demo screens
337
+ free function off the core package, called straight from the constructor. The examples above are
338
+ trimmed from the real canary demo screens, which exist for all six Expo canaries
335
339
  (`examples/expo-react/screens/LocalAuthScreen.tsx`,
336
340
  `examples/expo-vue-sfc/screens/LocalAuthScreen.vue`, `examples/expo-vue-tsx/screens/LocalAuthScreen.tsx`,
341
+ `examples/expo-svelte/screens/LocalAuthScreen.svelte`, `examples/expo-solid/screens/LocalAuthScreen.tsx`,
337
342
  `examples/expo-angular/src/screens/LocalAuthScreen.ts`), which also cover
338
- `getEnrolledLevelAsync`/`supportedAuthenticationTypesAsync` and render a capabilities card. No
339
- canary demo screen exists yet for Svelte/Solid — the two snippets above follow the same surface.
343
+ `getEnrolledLevelAsync`/`supportedAuthenticationTypesAsync` and render a capabilities card.
340
344
 
341
345
  ## API
342
346
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbiote-native/local-auth",
3
- "version": "2.0.0",
3
+ "version": "3.0.0",
4
4
  "description": "expo-local-authentication wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. FaceID/TouchID on iOS, the Fingerprint/Biometric API on Android.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -81,12 +81,12 @@
81
81
  "solid-js": ">=1.9.0",
82
82
  "svelte": ">=5.56.0",
83
83
  "vue": ">=3.5.0",
84
- "@symbiote-native/angular": "^2.0.0",
85
- "@symbiote-native/engine": "^0.5.0",
86
- "@symbiote-native/react": "^2.0.0",
87
- "@symbiote-native/solid": "^2.0.0",
88
- "@symbiote-native/svelte": "^2.0.0",
89
- "@symbiote-native/vue": "^2.0.0"
84
+ "@symbiote-native/angular": "^3.0.0",
85
+ "@symbiote-native/engine": "^1.0.0",
86
+ "@symbiote-native/react": "^3.0.0",
87
+ "@symbiote-native/solid": "^3.0.0",
88
+ "@symbiote-native/svelte": "^3.0.0",
89
+ "@symbiote-native/vue": "^3.0.0"
90
90
  },
91
91
  "peerDependenciesMeta": {
92
92
  "@symbiote-native/angular": {
@@ -135,13 +135,13 @@
135
135
  "solid-js": "^1.9.14",
136
136
  "svelte": "^5.56.0",
137
137
  "typescript": "~6.0.0",
138
- "@symbiote-native/angular": "2.0.0",
139
- "@symbiote-native/engine": "0.5.0",
140
- "@symbiote-native/react": "2.0.0",
141
- "@symbiote-native/solid": "2.0.0",
142
- "@symbiote-native/svelte": "2.0.0",
143
- "@symbiote-native/test-utils": "0.3.0",
144
- "@symbiote-native/vue": "2.0.0"
138
+ "@symbiote-native/angular": "3.0.0",
139
+ "@symbiote-native/engine": "1.0.0",
140
+ "@symbiote-native/react": "3.0.0",
141
+ "@symbiote-native/solid": "3.0.0",
142
+ "@symbiote-native/svelte": "3.0.0",
143
+ "@symbiote-native/test-utils": "0.3.1",
144
+ "@symbiote-native/vue": "3.0.0"
145
145
  },
146
146
  "scripts": {
147
147
  "typecheck": "tsc --build",