@lumoauth/react 1.4.2 → 1.6.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.
- package/README.md +44 -11
- package/dist/index.d.mts +59 -25
- package/dist/index.d.ts +59 -25
- package/dist/index.js +56 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +56 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumoauth/react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Official LumoAuth React SDK — Drop-in authentication components and hooks for React & Next.js applications.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"build": "tsup",
|
|
22
22
|
"dev": "tsup --watch",
|
|
23
23
|
"typecheck": "tsc --noEmit",
|
|
24
|
-
"test": "npm run build && tsup --entry.Protect src/components/Protect.tsx --entry.UserProfile src/components/UserProfile.tsx --entry.styles src/styles.ts --clean --no-config --format esm -d tests/.build --silent --external react --external react-dom --external @lumoauth/client && node --test tests/*.test.mjs",
|
|
24
|
+
"test": "npm run build && tsup --entry.Protect src/components/Protect.tsx --entry.UserProfile src/components/UserProfile.tsx --entry.styles src/styles.ts --entry.magicLink src/utils/magicLink.ts --clean --no-config --format esm -d tests/.build --silent --external react --external react-dom --external @lumoauth/client && node --test tests/*.test.mjs",
|
|
25
25
|
"prepublishOnly": "npm run build"
|
|
26
26
|
},
|
|
27
27
|
"keywords": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"provenance": true
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@lumoauth/client": "^1.
|
|
49
|
+
"@lumoauth/client": "^1.6.0",
|
|
50
50
|
"zod": "^4.6.7"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|