better-auth 0.7.3 → 0.7.4

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 (53) 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.d.cts +1 -1
  6. package/dist/adapters/mongodb.d.ts +1 -1
  7. package/dist/adapters/prisma.d.cts +1 -1
  8. package/dist/adapters/prisma.d.ts +1 -1
  9. package/dist/api.cjs +5 -5
  10. package/dist/api.d.cts +1 -1
  11. package/dist/api.d.ts +1 -1
  12. package/dist/api.js +5 -5
  13. package/dist/{auth-BkJnc76F.d.cts → auth-B5ozNy5X.d.cts} +1 -1
  14. package/dist/{auth-G61_RA8H.d.ts → auth-BBUjEh9D.d.ts} +1 -1
  15. package/dist/client/plugins.d.cts +4 -4
  16. package/dist/client/plugins.d.ts +4 -4
  17. package/dist/client.d.cts +1 -1
  18. package/dist/client.d.ts +1 -1
  19. package/dist/cookies.d.cts +1 -1
  20. package/dist/cookies.d.ts +1 -1
  21. package/dist/db.d.cts +2 -2
  22. package/dist/db.d.ts +2 -2
  23. package/dist/{index-cKD4sHma.d.ts → index-CQluFeIi.d.ts} +2 -2
  24. package/dist/{index-KdWDL1fo.d.cts → index-DK55nobk.d.cts} +2 -2
  25. package/dist/index.cjs +4 -4
  26. package/dist/index.d.cts +2 -2
  27. package/dist/index.d.ts +2 -2
  28. package/dist/index.js +5 -5
  29. package/dist/node.d.cts +1 -1
  30. package/dist/node.d.ts +1 -1
  31. package/dist/oauth2.d.cts +2 -2
  32. package/dist/oauth2.d.ts +2 -2
  33. package/dist/plugins.cjs +6 -6
  34. package/dist/plugins.d.cts +73 -4
  35. package/dist/plugins.d.ts +73 -4
  36. package/dist/plugins.js +6 -6
  37. package/dist/react.d.cts +1 -1
  38. package/dist/react.d.ts +1 -1
  39. package/dist/solid-start.d.cts +1 -1
  40. package/dist/solid-start.d.ts +1 -1
  41. package/dist/solid.d.cts +1 -1
  42. package/dist/solid.d.ts +1 -1
  43. package/dist/{state-UgidHWa5.d.cts → state-8Gh7gmo8.d.cts} +1 -1
  44. package/dist/{state-CTWPRYsC.d.ts → state-BU1iZb12.d.ts} +1 -1
  45. package/dist/svelte-kit.d.cts +1 -1
  46. package/dist/svelte-kit.d.ts +1 -1
  47. package/dist/svelte.d.cts +1 -1
  48. package/dist/svelte.d.ts +1 -1
  49. package/dist/types.d.cts +2 -2
  50. package/dist/types.d.ts +2 -2
  51. package/dist/vue.d.cts +1 -1
  52. package/dist/vue.d.ts +1 -1
  53. 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-BkJnc76F.cjs';
8
+ import './auth-B5ozNy5X.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-G61_RA8H.js';
8
+ import './auth-BBUjEh9D.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 { a as Auth } from './auth-BkJnc76F.cjs';
1
+ import { a as Auth } from './auth-B5ozNy5X.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 { a as Auth } from './auth-G61_RA8H.js';
1
+ import { a as Auth } from './auth-BBUjEh9D.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-BkJnc76F.cjs';
7
+ import './auth-B5ozNy5X.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-G61_RA8H.js';
7
+ import './auth-BBUjEh9D.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-BkJnc76F.cjs';
1
+ import { G as GenericEndpointContext } from './auth-B5ozNy5X.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-G61_RA8H.js';
1
+ import { G as GenericEndpointContext } from './auth-BBUjEh9D.js';
2
2
 
3
3
  declare function generateState(c: GenericEndpointContext, link?: {
4
4
  email: string;
@@ -1,4 +1,4 @@
1
- import { B as BetterAuthOptions } from './auth-BkJnc76F.cjs';
1
+ import { B as BetterAuthOptions } from './auth-B5ozNy5X.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 { B as BetterAuthOptions } from './auth-G61_RA8H.js';
1
+ import { B as BetterAuthOptions } from './auth-BBUjEh9D.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-BkJnc76F.cjs';
8
+ import './auth-B5ozNy5X.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-G61_RA8H.js';
8
+ import './auth-BBUjEh9D.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, a as Auth, Q as InferFieldsInputClient, N as InferFieldsOutput } from './auth-BkJnc76F.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-BkJnc76F.cjs';
1
+ import { k as BetterAuthPlugin, a as Auth, Q as InferFieldsInputClient, N as InferFieldsOutput } from './auth-B5ozNy5X.cjs';
2
+ export { A as Adapter, e as AdditionalSessionFieldsInput, f as AdditionalSessionFieldsOutput, c as AdditionalUserFieldsInput, d as AdditionalUserFieldsOutput, j as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, h as InferPluginTypes, g as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, i as init } from './auth-B5ozNy5X.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';
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { b as BetterAuthPlugin, a as Auth, Q as InferFieldsInputClient, N as InferFieldsOutput } from './auth-G61_RA8H.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-G61_RA8H.js';
1
+ import { k as BetterAuthPlugin, a as Auth, Q as InferFieldsInputClient, N as InferFieldsOutput } from './auth-BBUjEh9D.js';
2
+ export { A as Adapter, e as AdditionalSessionFieldsInput, f as AdditionalSessionFieldsOutput, c as AdditionalUserFieldsInput, d as AdditionalUserFieldsOutput, j as AuthContext, B as BetterAuthOptions, G as GenericEndpointContext, H as HookEndpointContext, h as InferPluginTypes, g as InferSession, I as InferUser, P as PluginSchema, R as RateLimit, S as SecondaryStorage, W as Where, i as init } from './auth-BBUjEh9D.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';
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-BkJnc76F.cjs';
7
+ import './auth-B5ozNy5X.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-G61_RA8H.js';
7
+ import './auth-BBUjEh9D.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.3",
3
+ "version": "0.7.4",
4
4
  "description": "The most comprehensive authentication library for TypeScript.",
5
5
  "type": "module",
6
6
  "repository": {