better-auth 1.4.21 → 1.4.22

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 (63) hide show
  1. package/dist/api/index.d.mts +407 -407
  2. package/dist/api/middlewares/origin-check.d.mts +4 -4
  3. package/dist/api/routes/account.d.mts +11 -11
  4. package/dist/api/routes/callback.d.mts +2 -2
  5. package/dist/api/routes/email-verification.d.mts +4 -4
  6. package/dist/api/routes/error.d.mts +2 -2
  7. package/dist/api/routes/ok.d.mts +2 -2
  8. package/dist/api/routes/password.d.mts +7 -7
  9. package/dist/api/routes/sign-in.d.mts +4 -4
  10. package/dist/api/routes/sign-out.d.mts +2 -2
  11. package/dist/api/routes/sign-up.d.mts +3 -3
  12. package/dist/api/routes/update-user.d.mts +13 -13
  13. package/dist/client/lynx/index.d.mts +15 -15
  14. package/dist/client/react/index.d.mts +15 -15
  15. package/dist/client/solid/index.d.mts +13 -13
  16. package/dist/client/svelte/index.d.mts +13 -13
  17. package/dist/client/vanilla.d.mts +15 -15
  18. package/dist/client/vue/index.d.mts +15 -15
  19. package/dist/db/field.d.mts +6 -6
  20. package/dist/integrations/next-js.d.mts +4 -4
  21. package/dist/integrations/svelte-kit.d.mts +2 -2
  22. package/dist/integrations/tanstack-start-solid.d.mts +4 -4
  23. package/dist/integrations/tanstack-start.d.mts +4 -4
  24. package/dist/plugins/admin/admin.d.mts +114 -114
  25. package/dist/plugins/anonymous/index.d.mts +5 -5
  26. package/dist/plugins/api-key/index.d.mts +79 -79
  27. package/dist/plugins/bearer/index.d.mts +6 -6
  28. package/dist/plugins/captcha/index.d.mts +2 -2
  29. package/dist/plugins/custom-session/index.d.mts +5 -5
  30. package/dist/plugins/device-authorization/index.d.mts +6 -6
  31. package/dist/plugins/email-otp/index.d.mts +52 -52
  32. package/dist/plugins/generic-oauth/index.d.mts +32 -32
  33. package/dist/plugins/haveibeenpwned/index.d.mts +3 -3
  34. package/dist/plugins/jwt/client.d.mts +2 -2
  35. package/dist/plugins/jwt/index.d.mts +7 -7
  36. package/dist/plugins/last-login-method/index.d.mts +4 -4
  37. package/dist/plugins/magic-link/index.d.mts +4 -4
  38. package/dist/plugins/mcp/index.d.mts +10 -10
  39. package/dist/plugins/multi-session/index.d.mts +9 -9
  40. package/dist/plugins/oauth-proxy/index.d.mts +8 -8
  41. package/dist/plugins/oidc-provider/index.d.mts +13 -13
  42. package/dist/plugins/one-tap/client.d.mts +4 -4
  43. package/dist/plugins/one-tap/index.d.mts +2 -2
  44. package/dist/plugins/one-time-token/index.d.mts +5 -5
  45. package/dist/plugins/open-api/index.d.mts +3 -3
  46. package/dist/plugins/organization/adapter.d.mts +24 -24
  47. package/dist/plugins/organization/client.d.mts +8 -8
  48. package/dist/plugins/organization/organization.d.mts +7 -7
  49. package/dist/plugins/organization/routes/crud-access-control.d.mts +22 -22
  50. package/dist/plugins/organization/routes/crud-invites.d.mts +69 -69
  51. package/dist/plugins/organization/routes/crud-members.d.mts +67 -67
  52. package/dist/plugins/organization/routes/crud-org.d.mts +59 -59
  53. package/dist/plugins/organization/routes/crud-team.d.mts +79 -79
  54. package/dist/plugins/phone-number/index.d.mts +33 -33
  55. package/dist/plugins/siwe/index.d.mts +3 -3
  56. package/dist/plugins/two-factor/backup-codes/index.d.mts +5 -5
  57. package/dist/plugins/two-factor/index.d.mts +16 -16
  58. package/dist/plugins/two-factor/otp/index.d.mts +3 -3
  59. package/dist/plugins/two-factor/totp/index.d.mts +5 -5
  60. package/dist/plugins/username/index.d.mts +9 -9
  61. package/dist/plugins/username/schema.d.mts +3 -3
  62. package/dist/test-utils/test-instance.d.mts +1225 -1225
  63. package/package.json +3 -3
@@ -4,7 +4,7 @@ import { BetterAuthClientOptions, BetterAuthClientPlugin } from "@better-auth/co
4
4
  import { BASE_ERROR_CODES } from "@better-auth/core/error";
5
5
  import * as nanostores0 from "nanostores";
6
6
  import { Atom } from "nanostores";
7
- import * as _better_fetch_fetch15 from "@better-fetch/fetch";
7
+ import * as _better_fetch_fetch0 from "@better-fetch/fetch";
8
8
  import { BetterFetchError } from "@better-fetch/fetch";
9
9
  export * from "nanostores";
10
10
  export * from "@better-fetch/fetch";
@@ -35,21 +35,21 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
35
35
  query?: SessionQueryParams;
36
36
  } | undefined) => Promise<void>;
37
37
  }>;
38
- $fetch: _better_fetch_fetch15.BetterFetch<{
39
- plugins: (_better_fetch_fetch15.BetterFetchPlugin<Record<string, any>> | {
38
+ $fetch: _better_fetch_fetch0.BetterFetch<{
39
+ plugins: (_better_fetch_fetch0.BetterFetchPlugin<Record<string, any>> | {
40
40
  id: string;
41
41
  name: string;
42
42
  hooks: {
43
- onSuccess(context: _better_fetch_fetch15.SuccessContext<any>): void;
43
+ onSuccess(context: _better_fetch_fetch0.SuccessContext<any>): void;
44
44
  };
45
45
  } | {
46
46
  id: string;
47
47
  name: string;
48
48
  hooks: {
49
- onSuccess: ((context: _better_fetch_fetch15.SuccessContext<any>) => Promise<void> | void) | undefined;
50
- onError: ((context: _better_fetch_fetch15.ErrorContext) => Promise<void> | void) | undefined;
51
- onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch15.RequestContext<T>) => Promise<_better_fetch_fetch15.RequestContext | void> | _better_fetch_fetch15.RequestContext | void) | undefined;
52
- onResponse: ((context: _better_fetch_fetch15.ResponseContext) => Promise<Response | void | _better_fetch_fetch15.ResponseContext> | Response | _better_fetch_fetch15.ResponseContext | void) | undefined;
49
+ onSuccess: ((context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void) | undefined;
50
+ onError: ((context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void) | undefined;
51
+ onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void) | undefined;
52
+ onResponse: ((context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void) | undefined;
53
53
  };
54
54
  })[];
55
55
  cache?: RequestCache | undefined;
@@ -69,12 +69,12 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
69
69
  referrer?: string | undefined;
70
70
  referrerPolicy?: ReferrerPolicy | undefined;
71
71
  signal?: (AbortSignal | null) | undefined;
72
- onRetry?: ((response: _better_fetch_fetch15.ResponseContext) => Promise<void> | void) | undefined;
72
+ onRetry?: ((response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void) | undefined;
73
73
  hookOptions?: {
74
74
  cloneResponse?: boolean;
75
75
  } | undefined;
76
76
  timeout?: number | undefined;
77
- customFetchImpl: _better_fetch_fetch15.FetchEsque;
77
+ customFetchImpl: _better_fetch_fetch0.FetchEsque;
78
78
  baseURL: string;
79
79
  throw?: boolean | undefined;
80
80
  auth?: ({
@@ -94,10 +94,10 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
94
94
  params?: any;
95
95
  duplex?: "full" | "half" | undefined;
96
96
  jsonParser: (text: string) => Promise<any> | any;
97
- retry?: _better_fetch_fetch15.RetryOptions | undefined;
97
+ retry?: _better_fetch_fetch0.RetryOptions | undefined;
98
98
  retryAttempt?: number | undefined;
99
- output?: (_better_fetch_fetch15.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
100
- errorSchema?: _better_fetch_fetch15.StandardSchemaV1 | undefined;
99
+ output?: (_better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
100
+ errorSchema?: _better_fetch_fetch0.StandardSchemaV1 | undefined;
101
101
  disableValidation?: boolean | undefined;
102
102
  disableSignal?: boolean | undefined;
103
103
  }, unknown, unknown, {}>;
@@ -2,9 +2,9 @@ import { PrettifyDeep, UnionToIntersection } from "../types/helper.mjs";
2
2
  import { InferActions, InferClientAPI, InferErrorCodes, IsSignal, SessionQueryParams } from "./types.mjs";
3
3
  import { BetterAuthClientOptions, BetterAuthClientPlugin } from "@better-auth/core";
4
4
  import { BASE_ERROR_CODES } from "@better-auth/core/error";
5
- import * as nanostores9 from "nanostores";
5
+ import * as nanostores5 from "nanostores";
6
6
  import { Atom } from "nanostores";
7
- import * as _better_fetch_fetch101 from "@better-fetch/fetch";
7
+ import * as _better_fetch_fetch95 from "@better-fetch/fetch";
8
8
  import { BetterFetchError } from "@better-fetch/fetch";
9
9
 
10
10
  //#region src/client/vanilla.d.ts
@@ -33,21 +33,21 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
33
33
  query?: SessionQueryParams;
34
34
  } | undefined) => Promise<void>;
35
35
  }>;
36
- $fetch: _better_fetch_fetch101.BetterFetch<{
37
- plugins: (_better_fetch_fetch101.BetterFetchPlugin<Record<string, any>> | {
36
+ $fetch: _better_fetch_fetch95.BetterFetch<{
37
+ plugins: (_better_fetch_fetch95.BetterFetchPlugin<Record<string, any>> | {
38
38
  id: string;
39
39
  name: string;
40
40
  hooks: {
41
- onSuccess(context: _better_fetch_fetch101.SuccessContext<any>): void;
41
+ onSuccess(context: _better_fetch_fetch95.SuccessContext<any>): void;
42
42
  };
43
43
  } | {
44
44
  id: string;
45
45
  name: string;
46
46
  hooks: {
47
- onSuccess: ((context: _better_fetch_fetch101.SuccessContext<any>) => Promise<void> | void) | undefined;
48
- onError: ((context: _better_fetch_fetch101.ErrorContext) => Promise<void> | void) | undefined;
49
- onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch101.RequestContext<T>) => Promise<_better_fetch_fetch101.RequestContext | void> | _better_fetch_fetch101.RequestContext | void) | undefined;
50
- onResponse: ((context: _better_fetch_fetch101.ResponseContext) => Promise<Response | void | _better_fetch_fetch101.ResponseContext> | Response | _better_fetch_fetch101.ResponseContext | void) | undefined;
47
+ onSuccess: ((context: _better_fetch_fetch95.SuccessContext<any>) => Promise<void> | void) | undefined;
48
+ onError: ((context: _better_fetch_fetch95.ErrorContext) => Promise<void> | void) | undefined;
49
+ onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch95.RequestContext<T>) => Promise<_better_fetch_fetch95.RequestContext | void> | _better_fetch_fetch95.RequestContext | void) | undefined;
50
+ onResponse: ((context: _better_fetch_fetch95.ResponseContext) => Promise<Response | void | _better_fetch_fetch95.ResponseContext> | Response | _better_fetch_fetch95.ResponseContext | void) | undefined;
51
51
  };
52
52
  })[];
53
53
  cache?: RequestCache | undefined;
@@ -67,12 +67,12 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
67
67
  referrer?: string | undefined;
68
68
  referrerPolicy?: ReferrerPolicy | undefined;
69
69
  signal?: (AbortSignal | null) | undefined;
70
- onRetry?: ((response: _better_fetch_fetch101.ResponseContext) => Promise<void> | void) | undefined;
70
+ onRetry?: ((response: _better_fetch_fetch95.ResponseContext) => Promise<void> | void) | undefined;
71
71
  hookOptions?: {
72
72
  cloneResponse?: boolean;
73
73
  } | undefined;
74
74
  timeout?: number | undefined;
75
- customFetchImpl: _better_fetch_fetch101.FetchEsque;
75
+ customFetchImpl: _better_fetch_fetch95.FetchEsque;
76
76
  baseURL: string;
77
77
  throw?: boolean | undefined;
78
78
  auth?: ({
@@ -92,17 +92,17 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
92
92
  params?: any;
93
93
  duplex?: "full" | "half" | undefined;
94
94
  jsonParser: (text: string) => Promise<any> | any;
95
- retry?: _better_fetch_fetch101.RetryOptions | undefined;
95
+ retry?: _better_fetch_fetch95.RetryOptions | undefined;
96
96
  retryAttempt?: number | undefined;
97
- output?: (_better_fetch_fetch101.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
98
- errorSchema?: _better_fetch_fetch101.StandardSchemaV1 | undefined;
97
+ output?: (_better_fetch_fetch95.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
98
+ errorSchema?: _better_fetch_fetch95.StandardSchemaV1 | undefined;
99
99
  disableValidation?: boolean | undefined;
100
100
  disableSignal?: boolean | undefined;
101
101
  }, unknown, unknown, {}>;
102
102
  $store: {
103
103
  notify: (signal?: (Omit<string, "$sessionSignal"> | "$sessionSignal") | undefined) => void;
104
104
  listen: (signal: Omit<string, "$sessionSignal"> | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
105
- atoms: Record<string, nanostores9.WritableAtom<any>>;
105
+ atoms: Record<string, nanostores5.WritableAtom<any>>;
106
106
  };
107
107
  $Infer: {
108
108
  Session: NonNullable<InferClientAPI<Option> extends {
@@ -2,8 +2,8 @@ import { DeepPartial, Expand, HasRequiredKeys, LiteralNumber, LiteralUnion, Omit
2
2
  import { InferActions, InferClientAPI, InferErrorCodes, IsSignal, SessionQueryParams } from "../types.mjs";
3
3
  import { BetterAuthClientOptions, BetterAuthClientPlugin } from "@better-auth/core";
4
4
  import { BASE_ERROR_CODES } from "@better-auth/core/error";
5
- import * as nanostores1 from "nanostores";
6
- import * as _better_fetch_fetch31 from "@better-fetch/fetch";
5
+ import * as nanostores2 from "nanostores";
6
+ import * as _better_fetch_fetch63 from "@better-fetch/fetch";
7
7
  import { BetterFetchError } from "@better-fetch/fetch";
8
8
  import { DeepReadonly, Ref } from "vue";
9
9
  export * from "nanostores";
@@ -73,21 +73,21 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
73
73
  error: null;
74
74
  } ? S : Res extends Record<string, any> ? Res : never : never>;
75
75
  };
76
- $fetch: _better_fetch_fetch31.BetterFetch<{
77
- plugins: (_better_fetch_fetch31.BetterFetchPlugin<Record<string, any>> | {
76
+ $fetch: _better_fetch_fetch63.BetterFetch<{
77
+ plugins: (_better_fetch_fetch63.BetterFetchPlugin<Record<string, any>> | {
78
78
  id: string;
79
79
  name: string;
80
80
  hooks: {
81
- onSuccess(context: _better_fetch_fetch31.SuccessContext<any>): void;
81
+ onSuccess(context: _better_fetch_fetch63.SuccessContext<any>): void;
82
82
  };
83
83
  } | {
84
84
  id: string;
85
85
  name: string;
86
86
  hooks: {
87
- onSuccess: ((context: _better_fetch_fetch31.SuccessContext<any>) => Promise<void> | void) | undefined;
88
- onError: ((context: _better_fetch_fetch31.ErrorContext) => Promise<void> | void) | undefined;
89
- onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch31.RequestContext<T>) => Promise<_better_fetch_fetch31.RequestContext | void> | _better_fetch_fetch31.RequestContext | void) | undefined;
90
- onResponse: ((context: _better_fetch_fetch31.ResponseContext) => Promise<Response | void | _better_fetch_fetch31.ResponseContext> | Response | _better_fetch_fetch31.ResponseContext | void) | undefined;
87
+ onSuccess: ((context: _better_fetch_fetch63.SuccessContext<any>) => Promise<void> | void) | undefined;
88
+ onError: ((context: _better_fetch_fetch63.ErrorContext) => Promise<void> | void) | undefined;
89
+ onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch63.RequestContext<T>) => Promise<_better_fetch_fetch63.RequestContext | void> | _better_fetch_fetch63.RequestContext | void) | undefined;
90
+ onResponse: ((context: _better_fetch_fetch63.ResponseContext) => Promise<Response | void | _better_fetch_fetch63.ResponseContext> | Response | _better_fetch_fetch63.ResponseContext | void) | undefined;
91
91
  };
92
92
  })[];
93
93
  cache?: RequestCache | undefined;
@@ -107,12 +107,12 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
107
107
  referrer?: string | undefined;
108
108
  referrerPolicy?: ReferrerPolicy | undefined;
109
109
  signal?: (AbortSignal | null) | undefined;
110
- onRetry?: ((response: _better_fetch_fetch31.ResponseContext) => Promise<void> | void) | undefined;
110
+ onRetry?: ((response: _better_fetch_fetch63.ResponseContext) => Promise<void> | void) | undefined;
111
111
  hookOptions?: {
112
112
  cloneResponse?: boolean;
113
113
  } | undefined;
114
114
  timeout?: number | undefined;
115
- customFetchImpl: _better_fetch_fetch31.FetchEsque;
115
+ customFetchImpl: _better_fetch_fetch63.FetchEsque;
116
116
  baseURL: string;
117
117
  throw?: boolean | undefined;
118
118
  auth?: ({
@@ -132,17 +132,17 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
132
132
  params?: any;
133
133
  duplex?: "full" | "half" | undefined;
134
134
  jsonParser: (text: string) => Promise<any> | any;
135
- retry?: _better_fetch_fetch31.RetryOptions | undefined;
135
+ retry?: _better_fetch_fetch63.RetryOptions | undefined;
136
136
  retryAttempt?: number | undefined;
137
- output?: (_better_fetch_fetch31.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
138
- errorSchema?: _better_fetch_fetch31.StandardSchemaV1 | undefined;
137
+ output?: (_better_fetch_fetch63.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
138
+ errorSchema?: _better_fetch_fetch63.StandardSchemaV1 | undefined;
139
139
  disableValidation?: boolean | undefined;
140
140
  disableSignal?: boolean | undefined;
141
141
  }, unknown, unknown, {}>;
142
142
  $store: {
143
143
  notify: (signal?: (Omit<string, "$sessionSignal"> | "$sessionSignal") | undefined) => void;
144
144
  listen: (signal: Omit<string, "$sessionSignal"> | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
145
- atoms: Record<string, nanostores1.WritableAtom<any>>;
145
+ atoms: Record<string, nanostores2.WritableAtom<any>>;
146
146
  };
147
147
  $ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
148
148
  };
@@ -1,6 +1,6 @@
1
- import * as _better_auth_core24 from "@better-auth/core";
1
+ import * as _better_auth_core38 from "@better-auth/core";
2
2
  import { BetterAuthOptions } from "@better-auth/core";
3
- import * as _better_auth_core_db3 from "@better-auth/core/db";
3
+ import * as _better_auth_core_db16 from "@better-auth/core/db";
4
4
  import { DBFieldAttribute, DBFieldAttributeConfig, DBFieldType } from "@better-auth/core/db";
5
5
  import * as _standard_schema_spec0 from "@standard-schema/spec";
6
6
 
@@ -9,11 +9,11 @@ declare const createFieldAttribute: <T extends DBFieldType, C extends DBFieldAtt
9
9
  required?: boolean | undefined;
10
10
  returned?: boolean | undefined;
11
11
  input?: boolean | undefined;
12
- defaultValue?: (_better_auth_core_db3.DBPrimitive | (() => _better_auth_core_db3.DBPrimitive)) | undefined;
13
- onUpdate?: (() => _better_auth_core_db3.DBPrimitive) | undefined;
12
+ defaultValue?: (_better_auth_core_db16.DBPrimitive | (() => _better_auth_core_db16.DBPrimitive)) | undefined;
13
+ onUpdate?: (() => _better_auth_core_db16.DBPrimitive) | undefined;
14
14
  transform?: {
15
- input?: (value: _better_auth_core_db3.DBPrimitive) => _better_auth_core24.Awaitable<_better_auth_core_db3.DBPrimitive>;
16
- output?: (value: _better_auth_core_db3.DBPrimitive) => _better_auth_core24.Awaitable<_better_auth_core_db3.DBPrimitive>;
15
+ input?: (value: _better_auth_core_db16.DBPrimitive) => _better_auth_core38.Awaitable<_better_auth_core_db16.DBPrimitive>;
16
+ output?: (value: _better_auth_core_db16.DBPrimitive) => _better_auth_core38.Awaitable<_better_auth_core_db16.DBPrimitive>;
17
17
  } | undefined;
18
18
  references?: {
19
19
  model: string;
@@ -1,5 +1,5 @@
1
- import * as _better_auth_core0 from "@better-auth/core";
2
- import * as better_call143 from "better-call";
1
+ import * as _better_auth_core21 from "@better-auth/core";
2
+ import * as better_call260 from "better-call";
3
3
 
4
4
  //#region src/integrations/next-js.d.ts
5
5
  declare function toNextJsHandler(auth: {
@@ -15,8 +15,8 @@ declare const nextCookies: () => {
15
15
  id: "next-cookies";
16
16
  hooks: {
17
17
  after: {
18
- matcher(ctx: _better_auth_core0.HookEndpointContext): true;
19
- handler: (inputContext: better_call143.MiddlewareInputContext<better_call143.MiddlewareOptions>) => Promise<void>;
18
+ matcher(ctx: _better_auth_core21.HookEndpointContext): true;
19
+ handler: (inputContext: better_call260.MiddlewareInputContext<better_call260.MiddlewareOptions>) => Promise<void>;
20
20
  }[];
21
21
  };
22
22
  };
@@ -1,5 +1,5 @@
1
1
  import { BetterAuthOptions } from "../types/index.mjs";
2
- import * as better_call141 from "better-call";
2
+ import * as better_call254 from "better-call";
3
3
  import { RequestEvent } from "@sveltejs/kit";
4
4
 
5
5
  //#region src/integrations/svelte-kit.d.ts
@@ -29,7 +29,7 @@ declare const sveltekitCookies: (getRequestEvent: () => RequestEvent<any, any>)
29
29
  hooks: {
30
30
  after: {
31
31
  matcher(): true;
32
- handler: (inputContext: better_call141.MiddlewareInputContext<better_call141.MiddlewareOptions>) => Promise<void>;
32
+ handler: (inputContext: better_call254.MiddlewareInputContext<better_call254.MiddlewareOptions>) => Promise<void>;
33
33
  }[];
34
34
  };
35
35
  };
@@ -1,5 +1,5 @@
1
- import * as _better_auth_core2 from "@better-auth/core";
2
- import * as better_call147 from "better-call";
1
+ import * as _better_auth_core20 from "@better-auth/core";
2
+ import * as better_call258 from "better-call";
3
3
 
4
4
  //#region src/integrations/tanstack-start-solid.d.ts
5
5
 
@@ -24,8 +24,8 @@ declare const tanstackStartCookies: () => {
24
24
  id: "tanstack-start-cookies-solid";
25
25
  hooks: {
26
26
  after: {
27
- matcher(ctx: _better_auth_core2.HookEndpointContext): true;
28
- handler: (inputContext: better_call147.MiddlewareInputContext<better_call147.MiddlewareOptions>) => Promise<void>;
27
+ matcher(ctx: _better_auth_core20.HookEndpointContext): true;
28
+ handler: (inputContext: better_call258.MiddlewareInputContext<better_call258.MiddlewareOptions>) => Promise<void>;
29
29
  }[];
30
30
  };
31
31
  };
@@ -1,5 +1,5 @@
1
- import * as _better_auth_core1 from "@better-auth/core";
2
- import * as better_call145 from "better-call";
1
+ import * as _better_auth_core19 from "@better-auth/core";
2
+ import * as better_call256 from "better-call";
3
3
 
4
4
  //#region src/integrations/tanstack-start.d.ts
5
5
 
@@ -24,8 +24,8 @@ declare const tanstackStartCookies: () => {
24
24
  id: "tanstack-start-cookies";
25
25
  hooks: {
26
26
  after: {
27
- matcher(ctx: _better_auth_core1.HookEndpointContext): true;
28
- handler: (inputContext: better_call145.MiddlewareInputContext<better_call145.MiddlewareOptions>) => Promise<void>;
27
+ matcher(ctx: _better_auth_core19.HookEndpointContext): true;
28
+ handler: (inputContext: better_call256.MiddlewareInputContext<better_call256.MiddlewareOptions>) => Promise<void>;
29
29
  }[];
30
30
  };
31
31
  };