@delmaredigital/payload-better-auth 0.5.0 → 0.5.1

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.
@@ -8,7 +8,7 @@ import type { betterAuth, BetterAuthOptions } from 'better-auth';
8
8
  import type { ApiKeyScopesConfig } from '../types/apiKey.js';
9
9
  export type Auth = ReturnType<typeof betterAuth>;
10
10
  export type { PayloadWithAuth } from '../types/betterAuth.js';
11
- export type CreateAuthFunction = (payload: BasePayload) => Auth;
11
+ export type CreateAuthFunction = (payload: BasePayload) => any;
12
12
  export type BetterAuthPluginAdminOptions = {
13
13
  /** Disable auto-injection of logout button */
14
14
  disableLogoutButton?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delmaredigital/payload-better-auth",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Better Auth adapter and plugins for Payload CMS",
5
5
  "type": "module",
6
6
  "license": "MIT",