@umituz/react-native-auth 4.3.73 → 4.3.74

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-auth",
3
- "version": "4.3.73",
3
+ "version": "4.3.74",
4
4
  "description": "Authentication service for React Native apps - Secure, type-safe, and production-ready. Provider-agnostic design with dependency injection, configurable validation, and comprehensive error handling.",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -1,49 +0,0 @@
1
- ---
2
- description: Sets up or updates the @umituz/react-native-auth package in a React Native app.
3
- ---
4
-
5
- # Auth Module Setup Skill
6
-
7
- When this workflow/skill is invoked, follow these explicit instructions to configure `@umituz/react-native-auth`.
8
-
9
- ## Step 1: Check and Update `package.json`
10
- - Locate the project's `package.json`.
11
- - Check if `@umituz/react-native-auth` is installed.
12
- - If missing: Install with `npm install @umituz/react-native-auth`.
13
- - If outdated: Update it to the latest version.
14
-
15
- ## Step 2: Ensure Peer Dependencies
16
- This module strictly requires the Firebase package and other navigation/UI primitives. Check and install missing peer dependencies (use `npx expo install` for Expo):
17
- - `@umituz/react-native-firebase`
18
- - `@umituz/react-native-design-system`
19
- - `@tanstack/react-query` & `zustand`
20
- - `firebase`
21
- - `expo-apple-authentication`, `expo-auth-session`, `expo-web-browser`, `expo-crypto`
22
- - `@react-navigation/native` & `@react-navigation/stack`
23
-
24
- // turbo
25
- ## Step 3: Run Pod Install (If bare React Native)
26
- If targeting iOS and `ios/` folder is present, run:
27
- ```bash
28
- cd ios && pod install
29
- ```
30
-
31
- ## Step 4: Inject Global Auth Provider
32
- - Locate the main entry file (`App.tsx`, `app/_layout.tsx`, etc.).
33
- - Import `AuthProvider` and `initializeAuth` (or `createAuthInitModule`) from `@umituz/react-native-auth`.
34
- - Ensure the app component tree is wrapped in `<AuthProvider>`.
35
- - Make sure that Firebase has been initialized first or initialized simultaneously, and then `initializeAuth` is called to bind the auth store to the Firebase driver.
36
- ```tsx
37
- import { AuthProvider } from '@umituz/react-native-auth';
38
-
39
- export default function App() {
40
- return (
41
- <AuthProvider>
42
- <RootNavigation />
43
- </AuthProvider>
44
- );
45
- }
46
- ```
47
-
48
- ## Step 5: Summary
49
- Summarize the action: list which packages were upgraded/installed and the entry files modified to inject the `<AuthProvider>`.