@next-safe-action/adapter-better-auth 0.1.4 → 0.1.6

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 +4 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -118,7 +118,6 @@ export const adminClient = actionClient.use(
118
118
 
119
119
  ### `authorize` callback parameters
120
120
 
121
- - `auth`: the Better Auth server instance
122
121
  - `authData`: the pre-fetched session data (`{ user, session } | null`)
123
122
  - `ctx`: the current action context from preceding middleware
124
123
  - `next`: call this to continue the middleware chain, pass `{ ctx }` to inject context
@@ -164,6 +163,10 @@ Creates a middleware function for use with the safe action client's `.use()` met
164
163
 
165
164
  For full documentation, visit [next-safe-action.dev/docs/integrations/better-auth](https://next-safe-action.dev/docs/integrations/better-auth).
166
165
 
166
+ ## Preview releases powered by [pkg.pr.new](https://pkg.pr.new)
167
+
168
+ [![pkg.pr.new](https://pkg.pr.new/badge/next-safe-action/next-safe-action)](https://pkg.pr.new/~/next-safe-action/next-safe-action)
169
+
167
170
  ## License
168
171
 
169
172
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-safe-action/adapter-better-auth",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "private": false,
5
5
  "description": "Better Auth adapter for next-safe-action.",
6
6
  "main": "./dist/index.mjs",
@@ -56,14 +56,14 @@
56
56
  "devDependencies": {
57
57
  "@types/node": "^24",
58
58
  "better-auth": "^1.6.0",
59
- "next": "^16",
60
- "oxlint": "^1.57.0",
61
- "oxlint-tsgolint": "^0.15.0",
59
+ "next": "^16.2.3",
60
+ "oxlint": "^1.60.0",
61
+ "oxlint-tsgolint": "^0.20.0",
62
62
  "tsdown": "^0.21.0",
63
63
  "typescript": "^6.0.2",
64
- "vitest": "^3.1.1",
64
+ "vitest": "^4.1.4",
65
65
  "zod": "^4.3.6",
66
- "next-safe-action": "8.4.0"
66
+ "next-safe-action": "8.5.2"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "better-auth": ">= 1.5.0",