@emblemvault/emblem-auth-react 2.3.9 → 2.3.11

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 +11 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -8,6 +8,17 @@ React hooks and components for Emblem wallet authentication.
8
8
  npm install @emblemvault/emblem-auth-react
9
9
  ```
10
10
 
11
+ ## Why Use Emblem Auth React?
12
+
13
+ This library provides a secure, user-friendly authentication experience for Emblem Vault applications:
14
+
15
+ - **Better Security:** User-controlled wallet authentication instead of embedded API keys
16
+ - **Better UX:** Modal-based wallet connection flow with session management
17
+ - **Auto Token Refresh:** Handles JWT lifecycle automatically
18
+ - **Ready-to-use Components:** Pre-built UI components like `ConnectButton` and `AuthStatus`
19
+
20
+ > **Migrating from API keys?** This library replaces the deprecated `apiKey` prop pattern used in other Emblem packages. Users connect their own wallets instead of using a shared API key.
21
+
11
22
  ## Quick Start
12
23
 
13
24
  ```tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emblemvault/emblem-auth-react",
3
- "version": "2.3.9",
3
+ "version": "2.3.11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -68,6 +68,6 @@
68
68
  ],
69
69
  "license": "MIT",
70
70
  "dependencies": {
71
- "@emblemvault/auth-sdk": "^2.3.7"
71
+ "@emblemvault/auth-sdk": "^2.3.8"
72
72
  }
73
73
  }