@onmax/nuxt-better-auth 0.0.2-alpha.20 → 0.0.2-alpha.21

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/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onmax/nuxt-better-auth",
3
- "version": "0.0.2-alpha.20",
3
+ "version": "0.0.2-alpha.21",
4
4
  "configKey": "auth",
5
5
  "compatibility": {
6
6
  "nuxt": ">=3.0.0"
package/dist/module.mjs CHANGED
@@ -11,7 +11,7 @@ import { generateDrizzleSchema as generateDrizzleSchema$1 } from '@better-auth/c
11
11
  import { getAuthTables } from 'better-auth/db';
12
12
  export { defineClientAuth, defineServerAuth } from '../dist/runtime/config.js';
13
13
 
14
- const version = "0.0.2-alpha.20";
14
+ const version = "0.0.2-alpha.21";
15
15
 
16
16
  function setupDevTools(nuxt) {
17
17
  nuxt.hook("devtools:customTabs", (tabs) => {
@@ -1,5 +1,5 @@
1
1
  import type { BetterAuthOptions } from 'better-auth';
2
- import type { ClientOptions } from 'better-auth/client';
2
+ import type { BetterAuthClientOptions } from 'better-auth/client';
3
3
  import type { CasingOption } from '../schema-generator.js';
4
4
  import type { ServerAuthContext } from './types/augment.js';
5
5
  import { createAuthClient } from 'better-auth/vue';
@@ -8,7 +8,7 @@ export interface ClientAuthContext {
8
8
  siteUrl: string;
9
9
  }
10
10
  export type ServerAuthConfig = Omit<BetterAuthOptions, 'database' | 'secret' | 'baseURL'>;
11
- export type ClientAuthConfig = Omit<ClientOptions, 'baseURL'> & {
11
+ export type ClientAuthConfig = Omit<BetterAuthClientOptions, 'baseURL'> & {
12
12
  baseURL?: string;
13
13
  };
14
14
  export type ServerAuthConfigFn = (ctx: ServerAuthContext) => ServerAuthConfig;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@onmax/nuxt-better-auth",
3
3
  "type": "module",
4
- "version": "0.0.2-alpha.20",
4
+ "version": "0.0.2-alpha.21",
5
5
  "packageManager": "pnpm@10.15.1",
6
6
  "description": "Nuxt module for Better Auth integration with NuxtHub, route protection, session management, and role-based access",
7
7
  "author": "onmax",
8
8
  "license": "MIT",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/onmax/nuxt-better-auth"
11
+ "url": "https://github.com/nuxt-modules/better-auth"
12
12
  },
13
13
  "agents": {
14
14
  "skills": [