better-auth 0.7.2-beta.4 → 0.7.2

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 (57) hide show
  1. package/dist/adapters/drizzle.d.cts +1 -1
  2. package/dist/adapters/drizzle.d.ts +1 -1
  3. package/dist/adapters/kysely.d.cts +1 -1
  4. package/dist/adapters/kysely.d.ts +1 -1
  5. package/dist/adapters/mongodb.cjs +1 -1
  6. package/dist/adapters/mongodb.d.cts +1 -1
  7. package/dist/adapters/mongodb.d.ts +1 -1
  8. package/dist/adapters/mongodb.js +1 -1
  9. package/dist/adapters/prisma.d.cts +1 -1
  10. package/dist/adapters/prisma.d.ts +1 -1
  11. package/dist/api.cjs +5 -5
  12. package/dist/api.d.cts +1 -1
  13. package/dist/api.d.ts +1 -1
  14. package/dist/api.js +5 -5
  15. package/dist/{auth-Dhq27-3h.d.ts → auth-BPbz92n8.d.ts} +2 -2
  16. package/dist/{auth-BYO4oVzl.d.cts → auth-C3TdLacs.d.cts} +2 -2
  17. package/dist/client/plugins.cjs +1 -1
  18. package/dist/client/plugins.d.cts +48 -4
  19. package/dist/client/plugins.d.ts +48 -4
  20. package/dist/client/plugins.js +1 -1
  21. package/dist/client.d.cts +1 -1
  22. package/dist/client.d.ts +1 -1
  23. package/dist/cookies.d.cts +1 -1
  24. package/dist/cookies.d.ts +1 -1
  25. package/dist/db.d.cts +2 -2
  26. package/dist/db.d.ts +2 -2
  27. package/dist/{index-D2xgatRc.d.cts → index-5MbydWSx.d.cts} +5 -6
  28. package/dist/{index-CoWW39cW.d.ts → index-BFMZXeQU.d.ts} +5 -6
  29. package/dist/index.cjs +5 -5
  30. package/dist/index.d.cts +2 -2
  31. package/dist/index.d.ts +2 -2
  32. package/dist/index.js +5 -5
  33. package/dist/node.d.cts +1 -1
  34. package/dist/node.d.ts +1 -1
  35. package/dist/oauth2.d.cts +2 -2
  36. package/dist/oauth2.d.ts +2 -2
  37. package/dist/plugins.cjs +6 -6
  38. package/dist/plugins.d.cts +91 -6
  39. package/dist/plugins.d.ts +91 -6
  40. package/dist/plugins.js +6 -6
  41. package/dist/react.d.cts +1 -1
  42. package/dist/react.d.ts +1 -1
  43. package/dist/solid-start.d.cts +1 -1
  44. package/dist/solid-start.d.ts +1 -1
  45. package/dist/solid.d.cts +1 -1
  46. package/dist/solid.d.ts +1 -1
  47. package/dist/{state-B5cXxYBw.d.cts → state-DBCFByNV.d.cts} +1 -1
  48. package/dist/{state-DKkih1Nb.d.ts → state-DCRArhtj.d.ts} +1 -1
  49. package/dist/svelte-kit.d.cts +1 -1
  50. package/dist/svelte-kit.d.ts +1 -1
  51. package/dist/svelte.d.cts +1 -1
  52. package/dist/svelte.d.ts +1 -1
  53. package/dist/types.d.cts +19 -16
  54. package/dist/types.d.ts +19 -16
  55. package/dist/vue.d.cts +1 -1
  56. package/dist/vue.d.ts +1 -1
  57. package/package.json +1 -1
package/dist/react.d.cts CHANGED
@@ -5,7 +5,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
5
5
  import { useStore } from '@nanostores/react';
6
6
  import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.cjs';
7
7
  import { U as UnionToIntersection } from './index-DUqGSAH3.cjs';
8
- import './auth-BYO4oVzl.cjs';
8
+ import './auth-C3TdLacs.cjs';
9
9
  import 'node_modules/better-call/dist/router-Bn7zn81P';
10
10
  import 'kysely';
11
11
  import 'better-call';
package/dist/react.d.ts CHANGED
@@ -5,7 +5,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
5
5
  import { useStore } from '@nanostores/react';
6
6
  import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
7
7
  import { U as UnionToIntersection } from './index-DUqGSAH3.js';
8
- import './auth-Dhq27-3h.js';
8
+ import './auth-BPbz92n8.js';
9
9
  import 'node_modules/better-call/dist/router-Bn7zn81P';
10
10
  import 'kysely';
11
11
  import 'better-call';
@@ -1,4 +1,4 @@
1
- import { f as Auth } from './auth-BYO4oVzl.cjs';
1
+ import { a as Auth } from './auth-C3TdLacs.cjs';
2
2
  import 'node_modules/better-call/dist/router-Bn7zn81P';
3
3
  import 'zod';
4
4
  import 'kysely';
@@ -1,4 +1,4 @@
1
- import { f as Auth } from './auth-Dhq27-3h.js';
1
+ import { a as Auth } from './auth-BPbz92n8.js';
2
2
  import 'node_modules/better-call/dist/router-Bn7zn81P';
3
3
  import 'zod';
4
4
  import 'kysely';
package/dist/solid.d.cts CHANGED
@@ -4,7 +4,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
4
4
  import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.cjs';
5
5
  import { U as UnionToIntersection } from './index-DUqGSAH3.cjs';
6
6
  import { Accessor } from './reactive/signal.js';
7
- import './auth-BYO4oVzl.cjs';
7
+ import './auth-C3TdLacs.cjs';
8
8
  import 'node_modules/better-call/dist/router-Bn7zn81P';
9
9
  import 'kysely';
10
10
  import 'better-call';
package/dist/solid.d.ts CHANGED
@@ -4,7 +4,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
4
4
  import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
5
5
  import { U as UnionToIntersection } from './index-DUqGSAH3.js';
6
6
  import { Accessor } from './reactive/signal.js';
7
- import './auth-Dhq27-3h.js';
7
+ import './auth-BPbz92n8.js';
8
8
  import 'node_modules/better-call/dist/router-Bn7zn81P';
9
9
  import 'kysely';
10
10
  import 'better-call';
@@ -1,4 +1,4 @@
1
- import { G as GenericEndpointContext } from './auth-BYO4oVzl.cjs';
1
+ import { G as GenericEndpointContext } from './auth-C3TdLacs.cjs';
2
2
 
3
3
  declare function generateState(c: GenericEndpointContext, link?: {
4
4
  email: string;
@@ -1,4 +1,4 @@
1
- import { G as GenericEndpointContext } from './auth-Dhq27-3h.js';
1
+ import { G as GenericEndpointContext } from './auth-BPbz92n8.js';
2
2
 
3
3
  declare function generateState(c: GenericEndpointContext, link?: {
4
4
  email: string;
@@ -1,4 +1,4 @@
1
- import { e as BetterAuthOptions } from './auth-BYO4oVzl.cjs';
1
+ import { B as BetterAuthOptions } from './auth-C3TdLacs.cjs';
2
2
  import 'node_modules/better-call/dist/router-Bn7zn81P';
3
3
  import 'zod';
4
4
  import 'kysely';
@@ -1,4 +1,4 @@
1
- import { e as BetterAuthOptions } from './auth-Dhq27-3h.js';
1
+ import { B as BetterAuthOptions } from './auth-BPbz92n8.js';
2
2
  import 'node_modules/better-call/dist/router-Bn7zn81P';
3
3
  import 'zod';
4
4
  import 'kysely';
package/dist/svelte.d.cts CHANGED
@@ -5,7 +5,7 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
5
5
  import { BetterFetchError } from '@better-fetch/fetch';
6
6
  import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.cjs';
7
7
  import { U as UnionToIntersection } from './index-DUqGSAH3.cjs';
8
- import './auth-BYO4oVzl.cjs';
8
+ import './auth-C3TdLacs.cjs';
9
9
  import 'node_modules/better-call/dist/router-Bn7zn81P';
10
10
  import 'kysely';
11
11
  import 'better-call';
package/dist/svelte.d.ts CHANGED
@@ -5,7 +5,7 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
5
5
  import { BetterFetchError } from '@better-fetch/fetch';
6
6
  import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
7
7
  import { U as UnionToIntersection } from './index-DUqGSAH3.js';
8
- import './auth-Dhq27-3h.js';
8
+ import './auth-BPbz92n8.js';
9
9
  import 'node_modules/better-call/dist/router-Bn7zn81P';
10
10
  import 'kysely';
11
11
  import 'better-call';
package/dist/types.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BetterAuthPlugin, f as Auth, Q as InferFieldsInputClient, N as InferFieldsOutput } from './auth-BYO4oVzl.cjs';
2
- export { A as Adapter, j as AdditionalSessionFieldsInput, k as AdditionalSessionFieldsOutput, h as AdditionalUserFieldsInput, i as AdditionalUserFieldsOutput, p as AuthContext, e as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, m as InferPluginTypes, l as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, n as init } from './auth-BYO4oVzl.cjs';
1
+ import { b as BetterAuthPlugin, a as Auth, Q as InferFieldsInputClient, N as InferFieldsOutput } from './auth-C3TdLacs.cjs';
2
+ export { A as Adapter, j as AdditionalSessionFieldsInput, k as AdditionalSessionFieldsOutput, h as AdditionalUserFieldsInput, i as AdditionalUserFieldsOutput, p as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, m as InferPluginTypes, l as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, n as init } from './auth-C3TdLacs.cjs';
3
3
  import { U as UnionToIntersection, H as HasRequiredKeys, P as Prettify, c as StripEmptyObjects, L as LiteralString, S as Session, a as User } from './index-DUqGSAH3.cjs';
4
4
  export { D as DeepPartial, b as LiteralUnion, R as RequiredKeysOf, W as WithoutEmpty } from './index-DUqGSAH3.cjs';
5
5
  import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
@@ -16,26 +16,29 @@ type PathToObject<T extends string, Fn extends (...args: any[]) => any> = T exte
16
16
  } : T extends `/${infer Segment}` ? {
17
17
  [K in CamelCase<Segment>]: Fn;
18
18
  } : never;
19
- type InferSignUpEmailCtx<ClientOpts extends ClientOptions> = {
19
+ type InferSignUpEmailCtx<ClientOpts extends ClientOptions, FetchOptions extends BetterFetchOption> = {
20
20
  email: string;
21
21
  name: string;
22
22
  password: string;
23
23
  image?: string;
24
24
  callbackURL?: string;
25
- fetchOptions?: BetterFetchOption<any, any, any>;
25
+ fetchOptions?: FetchOptions;
26
26
  } & UnionToIntersection<InferAdditionalFromClient<ClientOpts, "user", "input">>;
27
- type InferUserUpdateCtx<ClientOpts extends ClientOptions> = {
27
+ type InferUserUpdateCtx<ClientOpts extends ClientOptions, FetchOptions extends BetterFetchOption> = {
28
28
  image?: string;
29
29
  name?: string;
30
- fetchOptions?: BetterFetchOption<any, any, any>;
30
+ fetchOptions?: FetchOptions;
31
31
  } & Partial<UnionToIntersection<InferAdditionalFromClient<ClientOpts, "user", "input">>>;
32
- type InferCtx<C extends Context<any, any>> = C["body"] extends Record<string, any> ? C["body"] & {
32
+ type InferCtx<C extends Context<any, any>, FetchOptions extends BetterFetchOption> = C["body"] extends Record<string, any> ? C["body"] & {
33
33
  fetchOptions?: BetterFetchOption<undefined, C["query"], C["params"]>;
34
34
  } : C["query"] extends Record<string, any> ? {
35
35
  query: C["query"];
36
- fetchOptions?: Omit<BetterFetchOption<C["body"], C["query"], C["params"]>, "query">;
36
+ fetchOptions?: FetchOptions;
37
+ } : C["query"] extends Record<string, any> | undefined ? {
38
+ query?: C["query"];
39
+ fetchOptions?: FetchOptions;
37
40
  } : {
38
- fetchOptions?: BetterFetchOption<C["body"], C["query"], C["params"]>;
41
+ fetchOptions?: FetchOptions;
39
42
  };
40
43
  type MergeRoutes<T> = UnionToIntersection<T>;
41
44
  type InferReturn<R, O extends ClientOptions> = R extends Record<string, any> ? StripEmptyObjects<{
@@ -60,13 +63,13 @@ type InferRoute<API, COpts extends ClientOptions> = API extends {
60
63
  isAction: false;
61
64
  } | {
62
65
  SERVER_ONLY: true;
63
- } ? {} : PathToObject<T["path"], T extends (ctx: infer C) => infer R ? C extends Context<any, any> ? (...data: HasRequiredKeys<InferCtx<C>> extends true ? [
64
- Prettify<T["path"] extends `/sign-up/email` ? InferSignUpEmailCtx<COpts> : InferCtx<C>>,
65
- BetterFetchOption<C["body"], C["query"], C["params"]>?
66
+ } ? {} : PathToObject<T["path"], T extends (ctx: infer C) => infer R ? C extends Context<any, any> ? <FetchOptions extends BetterFetchOption<C["body"], C["query"], C["params"]>>(...data: HasRequiredKeys<InferCtx<C, FetchOptions>> extends true ? [
67
+ Prettify<T["path"] extends `/sign-up/email` ? InferSignUpEmailCtx<COpts, FetchOptions> : InferCtx<C, FetchOptions>>,
68
+ FetchOptions?
66
69
  ] : [
67
- Prettify<T["path"] extends `/update-user` ? InferUserUpdateCtx<COpts> : InferCtx<C>>?,
68
- BetterFetchOption<C["body"], C["query"], C["params"]>?
69
- ]) => Promise<BetterFetchResponse<InferReturn<Awaited<R>, COpts>>> : never : never> : never : never;
70
+ Prettify<T["path"] extends `/update-user` ? InferUserUpdateCtx<COpts, FetchOptions> : InferCtx<C, FetchOptions>>?,
71
+ FetchOptions?
72
+ ]) => Promise<BetterFetchResponse<InferReturn<Awaited<R>, COpts>, unknown, FetchOptions["throw"] extends true ? true : false>> : never : never> : never : never;
70
73
  type InferRoutes<API extends Record<string, Endpoint>, ClientOpts extends ClientOptions> = MergeRoutes<InferRoute<API, ClientOpts>>;
71
74
 
72
75
  type AtomListener = {
@@ -121,7 +124,7 @@ type InferClientAPI<O extends ClientOptions> = InferRoutes<O["plugins"] extends
121
124
  } ? Plug extends {
122
125
  endpoints: infer Endpoints;
123
126
  } ? Endpoints : {} : {}> : {}) & Auth["api"] : Auth["api"], O>;
124
- type InferActions<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? UnionToIntersection<Plugin extends BetterAuthClientPlugin ? Plugin["getActions"] extends ($fetch: BetterFetch) => infer Actions ? Actions : {} : {}> : {};
127
+ type InferActions<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? UnionToIntersection<Plugin extends BetterAuthClientPlugin ? Plugin["getActions"] extends (...args: any) => infer Actions ? Actions : {} : {}> : {};
125
128
  /**
126
129
  * signals are just used to recall a computed value.
127
130
  * as a convention they start with "$"
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BetterAuthPlugin, f as Auth, Q as InferFieldsInputClient, N as InferFieldsOutput } from './auth-Dhq27-3h.js';
2
- export { A as Adapter, j as AdditionalSessionFieldsInput, k as AdditionalSessionFieldsOutput, h as AdditionalUserFieldsInput, i as AdditionalUserFieldsOutput, p as AuthContext, e as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, m as InferPluginTypes, l as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, n as init } from './auth-Dhq27-3h.js';
1
+ import { b as BetterAuthPlugin, a as Auth, Q as InferFieldsInputClient, N as InferFieldsOutput } from './auth-BPbz92n8.js';
2
+ export { A as Adapter, j as AdditionalSessionFieldsInput, k as AdditionalSessionFieldsOutput, h as AdditionalUserFieldsInput, i as AdditionalUserFieldsOutput, p as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, m as InferPluginTypes, l as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, n as init } from './auth-BPbz92n8.js';
3
3
  import { U as UnionToIntersection, H as HasRequiredKeys, P as Prettify, c as StripEmptyObjects, L as LiteralString, S as Session, a as User } from './index-DUqGSAH3.js';
4
4
  export { D as DeepPartial, b as LiteralUnion, R as RequiredKeysOf, W as WithoutEmpty } from './index-DUqGSAH3.js';
5
5
  import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
@@ -16,26 +16,29 @@ type PathToObject<T extends string, Fn extends (...args: any[]) => any> = T exte
16
16
  } : T extends `/${infer Segment}` ? {
17
17
  [K in CamelCase<Segment>]: Fn;
18
18
  } : never;
19
- type InferSignUpEmailCtx<ClientOpts extends ClientOptions> = {
19
+ type InferSignUpEmailCtx<ClientOpts extends ClientOptions, FetchOptions extends BetterFetchOption> = {
20
20
  email: string;
21
21
  name: string;
22
22
  password: string;
23
23
  image?: string;
24
24
  callbackURL?: string;
25
- fetchOptions?: BetterFetchOption<any, any, any>;
25
+ fetchOptions?: FetchOptions;
26
26
  } & UnionToIntersection<InferAdditionalFromClient<ClientOpts, "user", "input">>;
27
- type InferUserUpdateCtx<ClientOpts extends ClientOptions> = {
27
+ type InferUserUpdateCtx<ClientOpts extends ClientOptions, FetchOptions extends BetterFetchOption> = {
28
28
  image?: string;
29
29
  name?: string;
30
- fetchOptions?: BetterFetchOption<any, any, any>;
30
+ fetchOptions?: FetchOptions;
31
31
  } & Partial<UnionToIntersection<InferAdditionalFromClient<ClientOpts, "user", "input">>>;
32
- type InferCtx<C extends Context<any, any>> = C["body"] extends Record<string, any> ? C["body"] & {
32
+ type InferCtx<C extends Context<any, any>, FetchOptions extends BetterFetchOption> = C["body"] extends Record<string, any> ? C["body"] & {
33
33
  fetchOptions?: BetterFetchOption<undefined, C["query"], C["params"]>;
34
34
  } : C["query"] extends Record<string, any> ? {
35
35
  query: C["query"];
36
- fetchOptions?: Omit<BetterFetchOption<C["body"], C["query"], C["params"]>, "query">;
36
+ fetchOptions?: FetchOptions;
37
+ } : C["query"] extends Record<string, any> | undefined ? {
38
+ query?: C["query"];
39
+ fetchOptions?: FetchOptions;
37
40
  } : {
38
- fetchOptions?: BetterFetchOption<C["body"], C["query"], C["params"]>;
41
+ fetchOptions?: FetchOptions;
39
42
  };
40
43
  type MergeRoutes<T> = UnionToIntersection<T>;
41
44
  type InferReturn<R, O extends ClientOptions> = R extends Record<string, any> ? StripEmptyObjects<{
@@ -60,13 +63,13 @@ type InferRoute<API, COpts extends ClientOptions> = API extends {
60
63
  isAction: false;
61
64
  } | {
62
65
  SERVER_ONLY: true;
63
- } ? {} : PathToObject<T["path"], T extends (ctx: infer C) => infer R ? C extends Context<any, any> ? (...data: HasRequiredKeys<InferCtx<C>> extends true ? [
64
- Prettify<T["path"] extends `/sign-up/email` ? InferSignUpEmailCtx<COpts> : InferCtx<C>>,
65
- BetterFetchOption<C["body"], C["query"], C["params"]>?
66
+ } ? {} : PathToObject<T["path"], T extends (ctx: infer C) => infer R ? C extends Context<any, any> ? <FetchOptions extends BetterFetchOption<C["body"], C["query"], C["params"]>>(...data: HasRequiredKeys<InferCtx<C, FetchOptions>> extends true ? [
67
+ Prettify<T["path"] extends `/sign-up/email` ? InferSignUpEmailCtx<COpts, FetchOptions> : InferCtx<C, FetchOptions>>,
68
+ FetchOptions?
66
69
  ] : [
67
- Prettify<T["path"] extends `/update-user` ? InferUserUpdateCtx<COpts> : InferCtx<C>>?,
68
- BetterFetchOption<C["body"], C["query"], C["params"]>?
69
- ]) => Promise<BetterFetchResponse<InferReturn<Awaited<R>, COpts>>> : never : never> : never : never;
70
+ Prettify<T["path"] extends `/update-user` ? InferUserUpdateCtx<COpts, FetchOptions> : InferCtx<C, FetchOptions>>?,
71
+ FetchOptions?
72
+ ]) => Promise<BetterFetchResponse<InferReturn<Awaited<R>, COpts>, unknown, FetchOptions["throw"] extends true ? true : false>> : never : never> : never : never;
70
73
  type InferRoutes<API extends Record<string, Endpoint>, ClientOpts extends ClientOptions> = MergeRoutes<InferRoute<API, ClientOpts>>;
71
74
 
72
75
  type AtomListener = {
@@ -121,7 +124,7 @@ type InferClientAPI<O extends ClientOptions> = InferRoutes<O["plugins"] extends
121
124
  } ? Plug extends {
122
125
  endpoints: infer Endpoints;
123
126
  } ? Endpoints : {} : {}> : {}) & Auth["api"] : Auth["api"], O>;
124
- type InferActions<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? UnionToIntersection<Plugin extends BetterAuthClientPlugin ? Plugin["getActions"] extends ($fetch: BetterFetch) => infer Actions ? Actions : {} : {}> : {};
127
+ type InferActions<O extends ClientOptions> = O["plugins"] extends Array<infer Plugin> ? UnionToIntersection<Plugin extends BetterAuthClientPlugin ? Plugin["getActions"] extends (...args: any) => infer Actions ? Actions : {} : {}> : {};
125
128
  /**
126
129
  * signals are just used to recall a computed value.
127
130
  * as a convention they start with "$"
package/dist/vue.d.cts CHANGED
@@ -4,7 +4,7 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
4
4
  import { BetterFetchError } from '@better-fetch/fetch';
5
5
  import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.cjs';
6
6
  import { U as UnionToIntersection$1 } from './index-DUqGSAH3.cjs';
7
- import './auth-BYO4oVzl.cjs';
7
+ import './auth-C3TdLacs.cjs';
8
8
  import 'node_modules/better-call/dist/router-Bn7zn81P';
9
9
  import 'kysely';
10
10
  import 'better-call';
package/dist/vue.d.ts CHANGED
@@ -4,7 +4,7 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
4
4
  import { BetterFetchError } from '@better-fetch/fetch';
5
5
  import { ClientOptions, InferClientAPI, InferActions, InferSessionFromClient, InferUserFromClient, BetterAuthClientPlugin, IsSignal } from './types.js';
6
6
  import { U as UnionToIntersection$1 } from './index-DUqGSAH3.js';
7
- import './auth-Dhq27-3h.js';
7
+ import './auth-BPbz92n8.js';
8
8
  import 'node_modules/better-call/dist/router-Bn7zn81P';
9
9
  import 'kysely';
10
10
  import 'better-call';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-auth",
3
- "version": "0.7.2-beta.4",
3
+ "version": "0.7.2",
4
4
  "description": "The most comprehensive authentication library for TypeScript.",
5
5
  "type": "module",
6
6
  "repository": {