@spfn/auth 0.3.0-beta.2 → 0.3.0-beta.20
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 +1382 -23
- package/dist/client-proof.d.ts +45 -15
- package/dist/client-proof.js +198 -4
- package/dist/client-proof.js.map +1 -1
- package/dist/client.d.ts +92 -1
- package/dist/client.js +58 -0
- package/dist/client.js.map +1 -1
- package/dist/config.d.ts +302 -0
- package/dist/config.js +134 -4
- package/dist/config.js.map +1 -1
- package/dist/errors.d.ts +370 -3
- package/dist/errors.js +245 -2
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +185 -2
- package/dist/index.js +256 -2
- package/dist/index.js.map +1 -1
- package/dist/machine-principals-BD4tnASp.d.ts +2739 -0
- package/dist/nextjs/api.js +350 -12
- package/dist/nextjs/api.js.map +1 -1
- package/dist/nextjs/client.d.ts +28 -1
- package/dist/nextjs/client.js +24 -3
- package/dist/nextjs/client.js.map +1 -1
- package/dist/nextjs/server.d.ts +173 -3
- package/dist/nextjs/server.js +372 -10
- package/dist/nextjs/server.js.map +1 -1
- package/dist/server.d.ts +3761 -414
- package/dist/server.js +5865 -1043
- package/dist/server.js.map +1 -1
- package/dist/{session-DTHahDQ9.d.ts → session-Dfwu5g2W.d.ts} +28 -1
- package/migrations/20260810112144_colorful_tomorrow_man/migration.sql +18 -0
- package/migrations/20260810112144_colorful_tomorrow_man/snapshot.json +3576 -0
- package/migrations/20260901091716_fine_arclight/migration.sql +21 -0
- package/migrations/20260901091716_fine_arclight/snapshot.json +3849 -0
- package/migrations/20260906155957_natural_moonstone/migration.sql +33 -0
- package/migrations/20260906155957_natural_moonstone/snapshot.json +4275 -0
- package/migrations/20260907020904_giant_eternals/migration.sql +21 -0
- package/migrations/20260907020904_giant_eternals/snapshot.json +4561 -0
- package/migrations/20260907044807_eminent_angel/migration.sql +2 -0
- package/migrations/20260907044807_eminent_angel/snapshot.json +4561 -0
- package/migrations/20260918083158_foamy_roughhouse/migration.sql +55 -0
- package/migrations/20260918083158_foamy_roughhouse/snapshot.json +5271 -0
- package/package.json +9 -6
- package/dist/authenticate-55LeXHqZ.d.ts +0 -1447
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spfn/auth",
|
|
3
|
-
"version": "0.3.0-beta.
|
|
3
|
+
"version": "0.3.0-beta.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Authentication for a Next.js full-stack app: sessions, social login, OAuth, RBAC and admin roles, without assembling an auth stack yourself",
|
|
6
6
|
"author": "Ray Im <rayim@fxy.global>",
|
|
@@ -119,12 +119,15 @@
|
|
|
119
119
|
},
|
|
120
120
|
"dependencies": {
|
|
121
121
|
"@node-rs/bcrypt": "^1.10.7",
|
|
122
|
+
"@simplewebauthn/browser": "^14.0.0",
|
|
123
|
+
"@simplewebauthn/server": "^14.0.1",
|
|
122
124
|
"jose": "^6.1.0",
|
|
123
125
|
"jsonwebtoken": "^9.0.2",
|
|
124
126
|
"postgres": "^3.4.0"
|
|
125
127
|
},
|
|
126
128
|
"devDependencies": {
|
|
127
129
|
"@spfn/core": "workspace:*",
|
|
130
|
+
"@spfn/mcp": "workspace:*",
|
|
128
131
|
"@spfn/notification": "workspace:*",
|
|
129
132
|
"@types/jsonwebtoken": "^9.0.6",
|
|
130
133
|
"@types/node": "^20.11.0",
|
|
@@ -133,9 +136,9 @@
|
|
|
133
136
|
"@vitest/coverage-v8": "^4.0.6",
|
|
134
137
|
"drizzle-kit": "1.0.0-rc.4",
|
|
135
138
|
"drizzle-orm": "1.0.0-rc.4",
|
|
136
|
-
"hono": "^4.
|
|
139
|
+
"hono": "^4.13.5",
|
|
137
140
|
"madge": "^8.0.0",
|
|
138
|
-
"next": "^16.
|
|
141
|
+
"next": "^16.3.3",
|
|
139
142
|
"spfn": "workspace:*",
|
|
140
143
|
"tsup": "^8.5.0",
|
|
141
144
|
"tsx": "^4.20.6",
|
|
@@ -143,10 +146,10 @@
|
|
|
143
146
|
"vitest": "^4.0.6"
|
|
144
147
|
},
|
|
145
148
|
"peerDependencies": {
|
|
146
|
-
"@spfn/core": ">=0.3.0-beta.
|
|
147
|
-
"@spfn/notification": ">=0.2.0-beta.
|
|
149
|
+
"@spfn/core": ">=0.3.0-beta.8 <0.4.0",
|
|
150
|
+
"@spfn/notification": ">=0.2.0-beta.5 <0.3.0",
|
|
148
151
|
"drizzle-orm": ">=1.0.0-rc.4 <2",
|
|
149
|
-
"next": "^16.
|
|
152
|
+
"next": "^16.3.3"
|
|
150
153
|
},
|
|
151
154
|
"peerDependenciesMeta": {
|
|
152
155
|
"next": {
|