abckit 0.0.37 → 0.0.39

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.
@@ -1,37 +0,0 @@
1
- import type { CarouselProps, WithClassAsProps } from "./interface.js";
2
- type __VLS_Props = CarouselProps & WithClassAsProps;
3
- declare var __VLS_1: {
4
- canScrollNext: boolean;
5
- canScrollPrev: boolean;
6
- carouselApi: import("embla-carousel").EmblaCarouselType | undefined;
7
- carouselRef: HTMLElement | undefined;
8
- orientation: "vertical" | "horizontal" | undefined;
9
- scrollNext: () => void;
10
- scrollPrev: () => void;
11
- };
12
- type __VLS_Slots = {} & {
13
- default?: (props: typeof __VLS_1) => any;
14
- };
15
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
16
- canScrollNext: import("vue").Ref<boolean, boolean>;
17
- canScrollPrev: import("vue").Ref<boolean, boolean>;
18
- carouselApi: import("vue").Ref<import("embla-carousel").EmblaCarouselType | undefined, import("embla-carousel").EmblaCarouselType | undefined>;
19
- carouselRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
20
- orientation: "vertical" | "horizontal" | undefined;
21
- scrollNext: () => void;
22
- scrollPrev: () => void;
23
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
24
- "init-api": (payload: import("embla-carousel").EmblaCarouselType | undefined) => any;
25
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
26
- "onInit-api"?: ((payload: import("embla-carousel").EmblaCarouselType | undefined) => any) | undefined;
27
- }>, {
28
- orientation: "horizontal" | "vertical";
29
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
31
- declare const _default: typeof __VLS_export;
32
- export default _default;
33
- type __VLS_WithSlots<T, S> = T & {
34
- new (): {
35
- $slots: S;
36
- };
37
- };
@@ -1,37 +0,0 @@
1
- import type { CarouselProps, WithClassAsProps } from "./interface.js";
2
- type __VLS_Props = CarouselProps & WithClassAsProps;
3
- declare var __VLS_1: {
4
- canScrollNext: boolean;
5
- canScrollPrev: boolean;
6
- carouselApi: import("embla-carousel").EmblaCarouselType | undefined;
7
- carouselRef: HTMLElement | undefined;
8
- orientation: "vertical" | "horizontal" | undefined;
9
- scrollNext: () => void;
10
- scrollPrev: () => void;
11
- };
12
- type __VLS_Slots = {} & {
13
- default?: (props: typeof __VLS_1) => any;
14
- };
15
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
16
- canScrollNext: import("vue").Ref<boolean, boolean>;
17
- canScrollPrev: import("vue").Ref<boolean, boolean>;
18
- carouselApi: import("vue").Ref<import("embla-carousel").EmblaCarouselType | undefined, import("embla-carousel").EmblaCarouselType | undefined>;
19
- carouselRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
20
- orientation: "vertical" | "horizontal" | undefined;
21
- scrollNext: () => void;
22
- scrollPrev: () => void;
23
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
24
- "init-api": (payload: import("embla-carousel").EmblaCarouselType | undefined) => any;
25
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
26
- "onInit-api"?: ((payload: import("embla-carousel").EmblaCarouselType | undefined) => any) | undefined;
27
- }>, {
28
- orientation: "horizontal" | "vertical";
29
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
31
- declare const _default: typeof __VLS_export;
32
- export default _default;
33
- type __VLS_WithSlots<T, S> = T & {
34
- new (): {
35
- $slots: S;
36
- };
37
- };
@@ -27,7 +27,7 @@ export declare function useAuth(): {
27
27
  } | null;
28
28
  readonly isPending: boolean;
29
29
  readonly isRefetching: boolean;
30
- readonly error: import("@better-fetch/fetch").BetterFetchError | null;
30
+ readonly error: import("better-auth/client").BetterFetchError | null;
31
31
  }, {
32
32
  readonly data: {
33
33
  readonly user: {
@@ -52,7 +52,7 @@ export declare function useAuth(): {
52
52
  } | null;
53
53
  readonly isPending: boolean;
54
54
  readonly isRefetching: boolean;
55
- readonly error: import("@better-fetch/fetch").BetterFetchError | null;
55
+ readonly error: import("better-auth/client").BetterFetchError | null;
56
56
  }>>;
57
57
  isLoading: import("vue").ComputedRef<boolean>;
58
58
  isAuthenticated: import("vue").ComputedRef<boolean>;
@@ -130,7 +130,7 @@ export declare function useAuth(): {
130
130
  additionalData?: Record<string, any> | undefined;
131
131
  } & {
132
132
  fetchOptions?: FetchOptions | undefined;
133
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<NonNullable<{
133
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<{
134
134
  redirect: boolean;
135
135
  url: string;
136
136
  } | {
@@ -155,7 +155,7 @@ export declare function useAuth(): {
155
155
  signOut: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
156
156
  query?: Record<string, any> | undefined;
157
157
  fetchOptions?: FetchOptions | undefined;
158
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
158
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
159
159
  success: boolean;
160
160
  }, {
161
161
  code?: string | undefined;
@@ -177,7 +177,7 @@ export declare function useAuth(): {
177
177
  image?: string | undefined;
178
178
  callbackURL?: string | undefined;
179
179
  fetchOptions?: FetchOptions | undefined;
180
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<NonNullable<{
180
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<{
181
181
  token: null;
182
182
  user: {
183
183
  id: string;
@@ -218,7 +218,7 @@ export declare function useAuth(): {
218
218
  rememberMe?: boolean | undefined;
219
219
  } & {
220
220
  fetchOptions?: FetchOptions | undefined;
221
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
221
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
222
222
  redirect: boolean;
223
223
  token: string;
224
224
  url?: string | undefined;
@@ -247,7 +247,7 @@ export declare function useAuth(): {
247
247
  token?: string | undefined;
248
248
  } & {
249
249
  fetchOptions?: FetchOptions | undefined;
250
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
250
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
251
251
  status: boolean;
252
252
  }, {
253
253
  code?: string | undefined;
@@ -263,7 +263,7 @@ export declare function useAuth(): {
263
263
  callbackURL?: string | undefined;
264
264
  };
265
265
  fetchOptions?: FetchOptions | undefined;
266
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<NonNullable<void | {
266
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<void | {
267
267
  status: boolean;
268
268
  }>, {
269
269
  code?: string | undefined;
@@ -278,7 +278,7 @@ export declare function useAuth(): {
278
278
  callbackURL?: string | undefined;
279
279
  } & {
280
280
  fetchOptions?: FetchOptions | undefined;
281
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
281
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
282
282
  status: boolean;
283
283
  }, {
284
284
  code?: string | undefined;
@@ -293,7 +293,7 @@ export declare function useAuth(): {
293
293
  callbackURL?: string | undefined;
294
294
  } & {
295
295
  fetchOptions?: FetchOptions | undefined;
296
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
296
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
297
297
  status: boolean;
298
298
  }, {
299
299
  code?: string | undefined;
@@ -310,7 +310,7 @@ export declare function useAuth(): {
310
310
  revokeOtherSessions?: boolean | undefined;
311
311
  } & {
312
312
  fetchOptions?: FetchOptions | undefined;
313
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
313
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
314
314
  token: string | null;
315
315
  user: {
316
316
  id: string;
@@ -333,7 +333,7 @@ export declare function useAuth(): {
333
333
  image?: (string | null) | undefined;
334
334
  name?: string | undefined;
335
335
  fetchOptions?: FetchOptions | undefined;
336
- } & Partial<{}>> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
336
+ } & Partial<{}>> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
337
337
  status: boolean;
338
338
  }, {
339
339
  code?: string | undefined;
@@ -350,7 +350,7 @@ export declare function useAuth(): {
350
350
  token?: string | undefined;
351
351
  } & {
352
352
  fetchOptions?: FetchOptions | undefined;
353
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
353
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
354
354
  success: boolean;
355
355
  message: string;
356
356
  }, {
@@ -366,7 +366,7 @@ export declare function useAuth(): {
366
366
  redirectTo?: string | undefined;
367
367
  } & {
368
368
  fetchOptions?: FetchOptions | undefined;
369
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
369
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
370
370
  status: boolean;
371
371
  message: string;
372
372
  }, {
@@ -384,7 +384,7 @@ export declare function useAuth(): {
384
384
  callbackURL: string;
385
385
  };
386
386
  fetchOptions?: FetchOptions | undefined;
387
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<never, {
387
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<never, {
388
388
  code?: string | undefined;
389
389
  message?: string | undefined;
390
390
  }, FetchOptions["throw"] extends true ? true : false>>;
@@ -393,7 +393,7 @@ export declare function useAuth(): {
393
393
  listSessions: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
394
394
  query?: Record<string, any> | undefined;
395
395
  fetchOptions?: FetchOptions | undefined;
396
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<import("better-auth").Prettify<{
396
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<import("better-auth").Prettify<{
397
397
  id: string;
398
398
  createdAt: Date;
399
399
  updatedAt: Date;
@@ -413,7 +413,7 @@ export declare function useAuth(): {
413
413
  token: string;
414
414
  } & {
415
415
  fetchOptions?: FetchOptions | undefined;
416
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
416
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
417
417
  status: boolean;
418
418
  }, {
419
419
  code?: string | undefined;
@@ -423,7 +423,7 @@ export declare function useAuth(): {
423
423
  revokeSessions: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
424
424
  query?: Record<string, any> | undefined;
425
425
  fetchOptions?: FetchOptions | undefined;
426
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
426
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
427
427
  status: boolean;
428
428
  }, {
429
429
  code?: string | undefined;
@@ -433,7 +433,7 @@ export declare function useAuth(): {
433
433
  revokeOtherSessions: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
434
434
  query?: Record<string, any> | undefined;
435
435
  fetchOptions?: FetchOptions | undefined;
436
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
436
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
437
437
  status: boolean;
438
438
  }, {
439
439
  code?: string | undefined;
@@ -472,7 +472,7 @@ export declare function useAuth(): {
472
472
  additionalData?: Record<string, any> | undefined;
473
473
  } & {
474
474
  fetchOptions?: FetchOptions | undefined;
475
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
475
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
476
476
  url: string;
477
477
  redirect: boolean;
478
478
  }, {
@@ -483,7 +483,7 @@ export declare function useAuth(): {
483
483
  listAccounts: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
484
484
  query?: Record<string, any> | undefined;
485
485
  fetchOptions?: FetchOptions | undefined;
486
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
486
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
487
487
  id: string;
488
488
  providerId: string;
489
489
  createdAt: Date;
@@ -506,7 +506,7 @@ export declare function useAuth(): {
506
506
  callbackURL?: string | undefined;
507
507
  };
508
508
  fetchOptions?: FetchOptions | undefined;
509
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
509
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
510
510
  success: boolean;
511
511
  message: string;
512
512
  }, {
@@ -523,7 +523,7 @@ export declare function useAuth(): {
523
523
  accountId?: string | undefined;
524
524
  } & {
525
525
  fetchOptions?: FetchOptions | undefined;
526
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
526
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
527
527
  status: boolean;
528
528
  }, {
529
529
  code?: string | undefined;
@@ -540,7 +540,7 @@ export declare function useAuth(): {
540
540
  userId?: string | undefined;
541
541
  } & {
542
542
  fetchOptions?: FetchOptions | undefined;
543
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
543
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
544
544
  accessToken: string | undefined;
545
545
  refreshToken: string | undefined;
546
546
  accessTokenExpiresAt: Date | undefined;
@@ -564,7 +564,7 @@ export declare function useAuth(): {
564
564
  userId?: string | undefined;
565
565
  } & {
566
566
  fetchOptions?: FetchOptions | undefined;
567
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
567
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
568
568
  accessToken: string;
569
569
  accessTokenExpiresAt: Date | undefined;
570
570
  scopes: string[];
@@ -581,7 +581,7 @@ export declare function useAuth(): {
581
581
  accountId?: string | undefined;
582
582
  } | undefined;
583
583
  fetchOptions?: FetchOptions | undefined;
584
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
584
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
585
585
  user: import("better-auth").OAuth2UserInfo;
586
586
  data: Record<string, any>;
587
587
  }, {
@@ -598,7 +598,7 @@ export declare function useAuth(): {
598
598
  disableRefresh?: unknown;
599
599
  } | undefined;
600
600
  fetchOptions?: FetchOptions | undefined;
601
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
601
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
602
602
  user: {
603
603
  id: string;
604
604
  createdAt: Date;
@@ -648,7 +648,7 @@ export declare function useAuth(): {
648
648
  } | null;
649
649
  readonly isPending: boolean;
650
650
  readonly isRefetching: boolean;
651
- readonly error: import("@better-fetch/fetch").BetterFetchError | null;
651
+ readonly error: import("better-auth/client").BetterFetchError | null;
652
652
  }, {
653
653
  readonly data: {
654
654
  readonly user: {
@@ -673,7 +673,7 @@ export declare function useAuth(): {
673
673
  } | null;
674
674
  readonly isPending: boolean;
675
675
  readonly isRefetching: boolean;
676
- readonly error: import("@better-fetch/fetch").BetterFetchError | null;
676
+ readonly error: import("better-auth/client").BetterFetchError | null;
677
677
  }>>;
678
678
  <F extends (...args: any) => any>(useFetch: F): Promise<{
679
679
  data: import("vue").Ref<{
@@ -748,21 +748,21 @@ export declare function useAuth(): {
748
748
  };
749
749
  };
750
750
  };
751
- $fetch: import("@better-fetch/fetch").BetterFetch<{
752
- plugins: (import("@better-fetch/fetch").BetterFetchPlugin<Record<string, any>> | {
751
+ $fetch: import("better-auth/client").BetterFetch<{
752
+ plugins: (import("better-auth/client").BetterFetchPlugin<Record<string, any>> | {
753
753
  id: string;
754
754
  name: string;
755
755
  hooks: {
756
- onSuccess(context: import("@better-fetch/fetch").SuccessContext<any>): void;
756
+ onSuccess(context: import("better-auth/client").SuccessContext<any>): void;
757
757
  };
758
758
  } | {
759
759
  id: string;
760
760
  name: string;
761
761
  hooks: {
762
- onSuccess: ((context: import("@better-fetch/fetch").SuccessContext<any>) => Promise<void> | void) | undefined;
763
- onError: ((context: import("@better-fetch/fetch").ErrorContext) => Promise<void> | void) | undefined;
764
- onRequest: (<T extends Record<string, any>>(context: import("@better-fetch/fetch").RequestContext<T>) => Promise<import("@better-fetch/fetch").RequestContext | void> | import("@better-fetch/fetch").RequestContext | void) | undefined;
765
- onResponse: ((context: import("@better-fetch/fetch").ResponseContext) => Promise<Response | void | import("@better-fetch/fetch").ResponseContext> | Response | import("@better-fetch/fetch").ResponseContext | void) | undefined;
762
+ onSuccess: ((context: import("better-auth/client").SuccessContext<any>) => Promise<void> | void) | undefined;
763
+ onError: ((context: import("better-auth/client").ErrorContext) => Promise<void> | void) | undefined;
764
+ onRequest: (<T extends Record<string, any>>(context: import("better-auth/client").RequestContext<T>) => Promise<import("better-auth/client").RequestContext | void> | import("better-auth/client").RequestContext | void) | undefined;
765
+ onResponse: ((context: import("better-auth/client").ResponseContext) => Promise<Response | void | import("better-auth/client").ResponseContext> | Response | import("better-auth/client").ResponseContext | void) | undefined;
766
766
  };
767
767
  })[];
768
768
  cache?: RequestCache | undefined;
@@ -782,12 +782,12 @@ export declare function useAuth(): {
782
782
  referrerPolicy?: ReferrerPolicy | undefined;
783
783
  signal?: (AbortSignal | null) | undefined;
784
784
  window?: null | undefined;
785
- onRetry?: ((response: import("@better-fetch/fetch").ResponseContext) => Promise<void> | void) | undefined;
785
+ onRetry?: ((response: import("better-auth/client").ResponseContext) => Promise<void> | void) | undefined;
786
786
  hookOptions?: {
787
787
  cloneResponse?: boolean;
788
788
  } | undefined;
789
789
  timeout?: number | undefined;
790
- customFetchImpl: import("@better-fetch/fetch").FetchEsque;
790
+ customFetchImpl: import("better-auth/client").FetchEsque;
791
791
  baseURL: string;
792
792
  throw?: boolean | undefined;
793
793
  auth?: ({
@@ -807,17 +807,17 @@ export declare function useAuth(): {
807
807
  params?: any;
808
808
  duplex?: "full" | "half" | undefined;
809
809
  jsonParser: (text: string) => Promise<any> | any;
810
- retry?: import("@better-fetch/fetch").RetryOptions | undefined;
810
+ retry?: import("better-auth/client").RetryOptions | undefined;
811
811
  retryAttempt?: number | undefined;
812
- output?: (import("@better-fetch/fetch").StandardSchemaV1 | typeof Blob | typeof File) | undefined;
813
- errorSchema?: import("@better-fetch/fetch").StandardSchemaV1 | undefined;
812
+ output?: (import("better-auth/client").StandardSchemaV1 | typeof Blob | typeof File) | undefined;
813
+ errorSchema?: import("better-auth/client").StandardSchemaV1 | undefined;
814
814
  disableValidation?: boolean | undefined;
815
815
  disableSignal?: boolean | undefined;
816
816
  }, unknown, unknown, {}>;
817
817
  $store: {
818
818
  notify: (signal?: (Omit<string, "$sessionSignal"> | "$sessionSignal") | undefined) => void;
819
819
  listen: (signal: Omit<string, "$sessionSignal"> | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
820
- atoms: Record<string, import("nanostores").WritableAtom<any>>;
820
+ atoms: Record<string, import("better-auth/client").WritableAtom<any>>;
821
821
  };
822
822
  $ERROR_CODES: {
823
823
  readonly USER_NOT_FOUND: "User not found";
@@ -845,6 +845,24 @@ export declare function useAuth(): {
845
845
  readonly FAILED_TO_UNLINK_LAST_ACCOUNT: "You can't unlink your last account";
846
846
  readonly ACCOUNT_NOT_FOUND: "Account not found";
847
847
  readonly USER_ALREADY_HAS_PASSWORD: "User already has a password. Provide that to delete the account.";
848
+ readonly CROSS_SITE_NAVIGATION_LOGIN_BLOCKED: "Cross-site navigation login blocked. This request appears to be a CSRF attack.";
849
+ readonly VERIFICATION_EMAIL_NOT_ENABLED: "Verification email isn't enabled";
850
+ readonly EMAIL_ALREADY_VERIFIED: "Email is already verified";
851
+ readonly EMAIL_MISMATCH: "Email mismatch";
852
+ readonly SESSION_NOT_FRESH: "Session is not fresh";
853
+ readonly LINKED_ACCOUNT_ALREADY_EXISTS: "Linked account already exists";
854
+ readonly INVALID_ORIGIN: "Invalid origin";
855
+ readonly INVALID_CALLBACK_URL: "Invalid callbackURL";
856
+ readonly INVALID_REDIRECT_URL: "Invalid redirectURL";
857
+ readonly INVALID_ERROR_CALLBACK_URL: "Invalid errorCallbackURL";
858
+ readonly INVALID_NEW_USER_CALLBACK_URL: "Invalid newUserCallbackURL";
859
+ readonly MISSING_OR_NULL_ORIGIN: "Missing or null Origin";
860
+ readonly CALLBACK_URL_REQUIRED: "callbackURL is required";
861
+ readonly FAILED_TO_CREATE_VERIFICATION: "Unable to create verification";
862
+ readonly FIELD_NOT_ALLOWED: "Field not allowed to be set";
863
+ readonly ASYNC_VALIDATION_NOT_SUPPORTED: "Async validation is not supported";
864
+ readonly VALIDATION_ERROR: "Validation Error";
865
+ readonly MISSING_FIELD: "Field is required";
848
866
  };
849
867
  };
850
868
  };
@@ -886,7 +904,7 @@ export declare function getAuthClientExports(): {
886
904
  additionalData?: Record<string, any> | undefined;
887
905
  } & {
888
906
  fetchOptions?: FetchOptions | undefined;
889
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<NonNullable<{
907
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<{
890
908
  redirect: boolean;
891
909
  url: string;
892
910
  } | {
@@ -919,7 +937,7 @@ export declare function getAuthClientExports(): {
919
937
  rememberMe?: boolean | undefined;
920
938
  } & {
921
939
  fetchOptions?: FetchOptions | undefined;
922
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
940
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
923
941
  redirect: boolean;
924
942
  token: string;
925
943
  url?: string | undefined;
@@ -952,7 +970,7 @@ export declare function getAuthClientExports(): {
952
970
  image?: string | undefined;
953
971
  callbackURL?: string | undefined;
954
972
  fetchOptions?: FetchOptions | undefined;
955
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<NonNullable<{
973
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<{
956
974
  token: null;
957
975
  user: {
958
976
  id: string;
@@ -982,7 +1000,7 @@ export declare function getAuthClientExports(): {
982
1000
  signOut: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
983
1001
  query?: Record<string, any> | undefined;
984
1002
  fetchOptions?: FetchOptions | undefined;
985
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1003
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
986
1004
  success: boolean;
987
1005
  }, {
988
1006
  code?: string | undefined;
@@ -1013,7 +1031,7 @@ export declare function getAuthClientExports(): {
1013
1031
  } | null;
1014
1032
  readonly isPending: boolean;
1015
1033
  readonly isRefetching: boolean;
1016
- readonly error: import("@better-fetch/fetch").BetterFetchError | null;
1034
+ readonly error: import("better-auth/client").BetterFetchError | null;
1017
1035
  }, {
1018
1036
  readonly data: {
1019
1037
  readonly user: {
@@ -1038,7 +1056,7 @@ export declare function getAuthClientExports(): {
1038
1056
  } | null;
1039
1057
  readonly isPending: boolean;
1040
1058
  readonly isRefetching: boolean;
1041
- readonly error: import("@better-fetch/fetch").BetterFetchError | null;
1059
+ readonly error: import("better-auth/client").BetterFetchError | null;
1042
1060
  }>>;
1043
1061
  <F extends (...args: any) => any>(useFetch: F): Promise<{
1044
1062
  data: import("vue").Ref<{
@@ -1099,7 +1117,7 @@ export declare function getAuthClientExports(): {
1099
1117
  disableRefresh?: unknown;
1100
1118
  } | undefined;
1101
1119
  fetchOptions?: FetchOptions | undefined;
1102
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1120
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1103
1121
  user: {
1104
1122
  id: string;
1105
1123
  createdAt: Date;
@@ -1161,7 +1179,7 @@ export declare function getAuthClientExports(): {
1161
1179
  additionalData?: Record<string, any> | undefined;
1162
1180
  } & {
1163
1181
  fetchOptions?: FetchOptions | undefined;
1164
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<NonNullable<{
1182
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<{
1165
1183
  redirect: boolean;
1166
1184
  url: string;
1167
1185
  } | {
@@ -1186,7 +1204,7 @@ export declare function getAuthClientExports(): {
1186
1204
  signOut: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
1187
1205
  query?: Record<string, any> | undefined;
1188
1206
  fetchOptions?: FetchOptions | undefined;
1189
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1207
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1190
1208
  success: boolean;
1191
1209
  }, {
1192
1210
  code?: string | undefined;
@@ -1208,7 +1226,7 @@ export declare function getAuthClientExports(): {
1208
1226
  image?: string | undefined;
1209
1227
  callbackURL?: string | undefined;
1210
1228
  fetchOptions?: FetchOptions | undefined;
1211
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<NonNullable<{
1229
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<{
1212
1230
  token: null;
1213
1231
  user: {
1214
1232
  id: string;
@@ -1249,7 +1267,7 @@ export declare function getAuthClientExports(): {
1249
1267
  rememberMe?: boolean | undefined;
1250
1268
  } & {
1251
1269
  fetchOptions?: FetchOptions | undefined;
1252
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1270
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1253
1271
  redirect: boolean;
1254
1272
  token: string;
1255
1273
  url?: string | undefined;
@@ -1278,7 +1296,7 @@ export declare function getAuthClientExports(): {
1278
1296
  token?: string | undefined;
1279
1297
  } & {
1280
1298
  fetchOptions?: FetchOptions | undefined;
1281
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1299
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1282
1300
  status: boolean;
1283
1301
  }, {
1284
1302
  code?: string | undefined;
@@ -1294,7 +1312,7 @@ export declare function getAuthClientExports(): {
1294
1312
  callbackURL?: string | undefined;
1295
1313
  };
1296
1314
  fetchOptions?: FetchOptions | undefined;
1297
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<NonNullable<void | {
1315
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<void | {
1298
1316
  status: boolean;
1299
1317
  }>, {
1300
1318
  code?: string | undefined;
@@ -1309,7 +1327,7 @@ export declare function getAuthClientExports(): {
1309
1327
  callbackURL?: string | undefined;
1310
1328
  } & {
1311
1329
  fetchOptions?: FetchOptions | undefined;
1312
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1330
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1313
1331
  status: boolean;
1314
1332
  }, {
1315
1333
  code?: string | undefined;
@@ -1324,7 +1342,7 @@ export declare function getAuthClientExports(): {
1324
1342
  callbackURL?: string | undefined;
1325
1343
  } & {
1326
1344
  fetchOptions?: FetchOptions | undefined;
1327
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1345
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1328
1346
  status: boolean;
1329
1347
  }, {
1330
1348
  code?: string | undefined;
@@ -1341,7 +1359,7 @@ export declare function getAuthClientExports(): {
1341
1359
  revokeOtherSessions?: boolean | undefined;
1342
1360
  } & {
1343
1361
  fetchOptions?: FetchOptions | undefined;
1344
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1362
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1345
1363
  token: string | null;
1346
1364
  user: {
1347
1365
  id: string;
@@ -1364,7 +1382,7 @@ export declare function getAuthClientExports(): {
1364
1382
  image?: (string | null) | undefined;
1365
1383
  name?: string | undefined;
1366
1384
  fetchOptions?: FetchOptions | undefined;
1367
- } & Partial<{}>> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1385
+ } & Partial<{}>> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1368
1386
  status: boolean;
1369
1387
  }, {
1370
1388
  code?: string | undefined;
@@ -1381,7 +1399,7 @@ export declare function getAuthClientExports(): {
1381
1399
  token?: string | undefined;
1382
1400
  } & {
1383
1401
  fetchOptions?: FetchOptions | undefined;
1384
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1402
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1385
1403
  success: boolean;
1386
1404
  message: string;
1387
1405
  }, {
@@ -1397,7 +1415,7 @@ export declare function getAuthClientExports(): {
1397
1415
  redirectTo?: string | undefined;
1398
1416
  } & {
1399
1417
  fetchOptions?: FetchOptions | undefined;
1400
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1418
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1401
1419
  status: boolean;
1402
1420
  message: string;
1403
1421
  }, {
@@ -1415,7 +1433,7 @@ export declare function getAuthClientExports(): {
1415
1433
  callbackURL: string;
1416
1434
  };
1417
1435
  fetchOptions?: FetchOptions | undefined;
1418
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<never, {
1436
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<never, {
1419
1437
  code?: string | undefined;
1420
1438
  message?: string | undefined;
1421
1439
  }, FetchOptions["throw"] extends true ? true : false>>;
@@ -1424,7 +1442,7 @@ export declare function getAuthClientExports(): {
1424
1442
  listSessions: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
1425
1443
  query?: Record<string, any> | undefined;
1426
1444
  fetchOptions?: FetchOptions | undefined;
1427
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<import("better-auth").Prettify<{
1445
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<import("better-auth").Prettify<{
1428
1446
  id: string;
1429
1447
  createdAt: Date;
1430
1448
  updatedAt: Date;
@@ -1444,7 +1462,7 @@ export declare function getAuthClientExports(): {
1444
1462
  token: string;
1445
1463
  } & {
1446
1464
  fetchOptions?: FetchOptions | undefined;
1447
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1465
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1448
1466
  status: boolean;
1449
1467
  }, {
1450
1468
  code?: string | undefined;
@@ -1454,7 +1472,7 @@ export declare function getAuthClientExports(): {
1454
1472
  revokeSessions: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
1455
1473
  query?: Record<string, any> | undefined;
1456
1474
  fetchOptions?: FetchOptions | undefined;
1457
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1475
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1458
1476
  status: boolean;
1459
1477
  }, {
1460
1478
  code?: string | undefined;
@@ -1464,7 +1482,7 @@ export declare function getAuthClientExports(): {
1464
1482
  revokeOtherSessions: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
1465
1483
  query?: Record<string, any> | undefined;
1466
1484
  fetchOptions?: FetchOptions | undefined;
1467
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1485
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1468
1486
  status: boolean;
1469
1487
  }, {
1470
1488
  code?: string | undefined;
@@ -1503,7 +1521,7 @@ export declare function getAuthClientExports(): {
1503
1521
  additionalData?: Record<string, any> | undefined;
1504
1522
  } & {
1505
1523
  fetchOptions?: FetchOptions | undefined;
1506
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1524
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1507
1525
  url: string;
1508
1526
  redirect: boolean;
1509
1527
  }, {
@@ -1514,7 +1532,7 @@ export declare function getAuthClientExports(): {
1514
1532
  listAccounts: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
1515
1533
  query?: Record<string, any> | undefined;
1516
1534
  fetchOptions?: FetchOptions | undefined;
1517
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1535
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1518
1536
  id: string;
1519
1537
  providerId: string;
1520
1538
  createdAt: Date;
@@ -1537,7 +1555,7 @@ export declare function getAuthClientExports(): {
1537
1555
  callbackURL?: string | undefined;
1538
1556
  };
1539
1557
  fetchOptions?: FetchOptions | undefined;
1540
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1558
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1541
1559
  success: boolean;
1542
1560
  message: string;
1543
1561
  }, {
@@ -1554,7 +1572,7 @@ export declare function getAuthClientExports(): {
1554
1572
  accountId?: string | undefined;
1555
1573
  } & {
1556
1574
  fetchOptions?: FetchOptions | undefined;
1557
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1575
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1558
1576
  status: boolean;
1559
1577
  }, {
1560
1578
  code?: string | undefined;
@@ -1571,7 +1589,7 @@ export declare function getAuthClientExports(): {
1571
1589
  userId?: string | undefined;
1572
1590
  } & {
1573
1591
  fetchOptions?: FetchOptions | undefined;
1574
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1592
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1575
1593
  accessToken: string | undefined;
1576
1594
  refreshToken: string | undefined;
1577
1595
  accessTokenExpiresAt: Date | undefined;
@@ -1595,7 +1613,7 @@ export declare function getAuthClientExports(): {
1595
1613
  userId?: string | undefined;
1596
1614
  } & {
1597
1615
  fetchOptions?: FetchOptions | undefined;
1598
- }>, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1616
+ }>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1599
1617
  accessToken: string;
1600
1618
  accessTokenExpiresAt: Date | undefined;
1601
1619
  scopes: string[];
@@ -1612,7 +1630,7 @@ export declare function getAuthClientExports(): {
1612
1630
  accountId?: string | undefined;
1613
1631
  } | undefined;
1614
1632
  fetchOptions?: FetchOptions | undefined;
1615
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1633
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1616
1634
  user: import("better-auth").OAuth2UserInfo;
1617
1635
  data: Record<string, any>;
1618
1636
  }, {
@@ -1629,7 +1647,7 @@ export declare function getAuthClientExports(): {
1629
1647
  disableRefresh?: unknown;
1630
1648
  } | undefined;
1631
1649
  fetchOptions?: FetchOptions | undefined;
1632
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("@better-fetch/fetch").BetterFetchResponse<{
1650
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
1633
1651
  user: {
1634
1652
  id: string;
1635
1653
  createdAt: Date;
@@ -1679,7 +1697,7 @@ export declare function getAuthClientExports(): {
1679
1697
  } | null;
1680
1698
  readonly isPending: boolean;
1681
1699
  readonly isRefetching: boolean;
1682
- readonly error: import("@better-fetch/fetch").BetterFetchError | null;
1700
+ readonly error: import("better-auth/client").BetterFetchError | null;
1683
1701
  }, {
1684
1702
  readonly data: {
1685
1703
  readonly user: {
@@ -1704,7 +1722,7 @@ export declare function getAuthClientExports(): {
1704
1722
  } | null;
1705
1723
  readonly isPending: boolean;
1706
1724
  readonly isRefetching: boolean;
1707
- readonly error: import("@better-fetch/fetch").BetterFetchError | null;
1725
+ readonly error: import("better-auth/client").BetterFetchError | null;
1708
1726
  }>>;
1709
1727
  <F extends (...args: any) => any>(useFetch: F): Promise<{
1710
1728
  data: import("vue").Ref<{
@@ -1779,21 +1797,21 @@ export declare function getAuthClientExports(): {
1779
1797
  };
1780
1798
  };
1781
1799
  };
1782
- $fetch: import("@better-fetch/fetch").BetterFetch<{
1783
- plugins: (import("@better-fetch/fetch").BetterFetchPlugin<Record<string, any>> | {
1800
+ $fetch: import("better-auth/client").BetterFetch<{
1801
+ plugins: (import("better-auth/client").BetterFetchPlugin<Record<string, any>> | {
1784
1802
  id: string;
1785
1803
  name: string;
1786
1804
  hooks: {
1787
- onSuccess(context: import("@better-fetch/fetch").SuccessContext<any>): void;
1805
+ onSuccess(context: import("better-auth/client").SuccessContext<any>): void;
1788
1806
  };
1789
1807
  } | {
1790
1808
  id: string;
1791
1809
  name: string;
1792
1810
  hooks: {
1793
- onSuccess: ((context: import("@better-fetch/fetch").SuccessContext<any>) => Promise<void> | void) | undefined;
1794
- onError: ((context: import("@better-fetch/fetch").ErrorContext) => Promise<void> | void) | undefined;
1795
- onRequest: (<T extends Record<string, any>>(context: import("@better-fetch/fetch").RequestContext<T>) => Promise<import("@better-fetch/fetch").RequestContext | void> | import("@better-fetch/fetch").RequestContext | void) | undefined;
1796
- onResponse: ((context: import("@better-fetch/fetch").ResponseContext) => Promise<Response | void | import("@better-fetch/fetch").ResponseContext> | Response | import("@better-fetch/fetch").ResponseContext | void) | undefined;
1811
+ onSuccess: ((context: import("better-auth/client").SuccessContext<any>) => Promise<void> | void) | undefined;
1812
+ onError: ((context: import("better-auth/client").ErrorContext) => Promise<void> | void) | undefined;
1813
+ onRequest: (<T extends Record<string, any>>(context: import("better-auth/client").RequestContext<T>) => Promise<import("better-auth/client").RequestContext | void> | import("better-auth/client").RequestContext | void) | undefined;
1814
+ onResponse: ((context: import("better-auth/client").ResponseContext) => Promise<Response | void | import("better-auth/client").ResponseContext> | Response | import("better-auth/client").ResponseContext | void) | undefined;
1797
1815
  };
1798
1816
  })[];
1799
1817
  cache?: RequestCache | undefined;
@@ -1813,12 +1831,12 @@ export declare function getAuthClientExports(): {
1813
1831
  referrerPolicy?: ReferrerPolicy | undefined;
1814
1832
  signal?: (AbortSignal | null) | undefined;
1815
1833
  window?: null | undefined;
1816
- onRetry?: ((response: import("@better-fetch/fetch").ResponseContext) => Promise<void> | void) | undefined;
1834
+ onRetry?: ((response: import("better-auth/client").ResponseContext) => Promise<void> | void) | undefined;
1817
1835
  hookOptions?: {
1818
1836
  cloneResponse?: boolean;
1819
1837
  } | undefined;
1820
1838
  timeout?: number | undefined;
1821
- customFetchImpl: import("@better-fetch/fetch").FetchEsque;
1839
+ customFetchImpl: import("better-auth/client").FetchEsque;
1822
1840
  baseURL: string;
1823
1841
  throw?: boolean | undefined;
1824
1842
  auth?: ({
@@ -1838,17 +1856,17 @@ export declare function getAuthClientExports(): {
1838
1856
  params?: any;
1839
1857
  duplex?: "full" | "half" | undefined;
1840
1858
  jsonParser: (text: string) => Promise<any> | any;
1841
- retry?: import("@better-fetch/fetch").RetryOptions | undefined;
1859
+ retry?: import("better-auth/client").RetryOptions | undefined;
1842
1860
  retryAttempt?: number | undefined;
1843
- output?: (import("@better-fetch/fetch").StandardSchemaV1 | typeof Blob | typeof File) | undefined;
1844
- errorSchema?: import("@better-fetch/fetch").StandardSchemaV1 | undefined;
1861
+ output?: (import("better-auth/client").StandardSchemaV1 | typeof Blob | typeof File) | undefined;
1862
+ errorSchema?: import("better-auth/client").StandardSchemaV1 | undefined;
1845
1863
  disableValidation?: boolean | undefined;
1846
1864
  disableSignal?: boolean | undefined;
1847
1865
  }, unknown, unknown, {}>;
1848
1866
  $store: {
1849
1867
  notify: (signal?: (Omit<string, "$sessionSignal"> | "$sessionSignal") | undefined) => void;
1850
1868
  listen: (signal: Omit<string, "$sessionSignal"> | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
1851
- atoms: Record<string, import("nanostores").WritableAtom<any>>;
1869
+ atoms: Record<string, import("better-auth/client").WritableAtom<any>>;
1852
1870
  };
1853
1871
  $ERROR_CODES: {
1854
1872
  readonly USER_NOT_FOUND: "User not found";
@@ -1876,6 +1894,24 @@ export declare function getAuthClientExports(): {
1876
1894
  readonly FAILED_TO_UNLINK_LAST_ACCOUNT: "You can't unlink your last account";
1877
1895
  readonly ACCOUNT_NOT_FOUND: "Account not found";
1878
1896
  readonly USER_ALREADY_HAS_PASSWORD: "User already has a password. Provide that to delete the account.";
1897
+ readonly CROSS_SITE_NAVIGATION_LOGIN_BLOCKED: "Cross-site navigation login blocked. This request appears to be a CSRF attack.";
1898
+ readonly VERIFICATION_EMAIL_NOT_ENABLED: "Verification email isn't enabled";
1899
+ readonly EMAIL_ALREADY_VERIFIED: "Email is already verified";
1900
+ readonly EMAIL_MISMATCH: "Email mismatch";
1901
+ readonly SESSION_NOT_FRESH: "Session is not fresh";
1902
+ readonly LINKED_ACCOUNT_ALREADY_EXISTS: "Linked account already exists";
1903
+ readonly INVALID_ORIGIN: "Invalid origin";
1904
+ readonly INVALID_CALLBACK_URL: "Invalid callbackURL";
1905
+ readonly INVALID_REDIRECT_URL: "Invalid redirectURL";
1906
+ readonly INVALID_ERROR_CALLBACK_URL: "Invalid errorCallbackURL";
1907
+ readonly INVALID_NEW_USER_CALLBACK_URL: "Invalid newUserCallbackURL";
1908
+ readonly MISSING_OR_NULL_ORIGIN: "Missing or null Origin";
1909
+ readonly CALLBACK_URL_REQUIRED: "callbackURL is required";
1910
+ readonly FAILED_TO_CREATE_VERIFICATION: "Unable to create verification";
1911
+ readonly FIELD_NOT_ALLOWED: "Field not allowed to be set";
1912
+ readonly ASYNC_VALIDATION_NOT_SUPPORTED: "Async validation is not supported";
1913
+ readonly VALIDATION_ERROR: "Validation Error";
1914
+ readonly MISSING_FIELD: "Field is required";
1879
1915
  };
1880
1916
  };
1881
1917
  };
@@ -2,5 +2,5 @@
2
2
  * Auth middleware - protects routes from unauthenticated access
3
3
  * Usage: definePageMeta({ middleware: 'auth' })
4
4
  */
5
- declare const _default: import("#app").RouteMiddleware;
5
+ declare const _default: import("nuxt/app").RouteMiddleware;
6
6
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("nitropack").NitroAppPlugin;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -1,8 +1,10 @@
1
- import { defineNitroPlugin, useRuntimeConfig, useStorage } from "nitropack/runtime";
1
+ import { definePlugin } from "nitro";
2
+ import { useRuntimeConfig } from "nitro/runtime-config";
3
+ import { useStorage } from "nitro/storage";
2
4
  import fs from "unstorage/drivers/fs-lite";
3
5
  import redisDriver from "unstorage/drivers/redis";
4
6
  import s3Driver from "unstorage/drivers/s3";
5
- export default defineNitroPlugin(() => {
7
+ export default definePlugin(() => {
6
8
  const config = useRuntimeConfig();
7
9
  const storage = useStorage();
8
10
  const storageConfig = config.storage;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "abckit",
3
3
  "type": "module",
4
- "version": "0.0.37",
4
+ "version": "0.0.39",
5
5
  "description": "Nuxt 4 module — UI components, auth, storage, GraphQL",
6
6
  "author": "productdevbook",
7
7
  "license": "MIT",
@@ -72,7 +72,7 @@
72
72
  "dist"
73
73
  ],
74
74
  "dependencies": {
75
- "@better-auth/oauth-provider": "^1.4.9",
75
+ "@better-auth/oauth-provider": "^1.4.10",
76
76
  "@capacitor/android": "^8.0.0",
77
77
  "@capacitor/app": "^8.0.0",
78
78
  "@capacitor/browser": "^8.0.0",
@@ -87,17 +87,17 @@
87
87
  "@capacitor/push-notifications": "^8.0.0",
88
88
  "@capacitor/splash-screen": "^8.0.0",
89
89
  "@capacitor/status-bar": "^8.0.0",
90
- "@capgo/capacitor-social-login": "^8.2.5",
91
- "@graphql-tools/utils": "^10.11.0",
92
- "@ionic/vue": "^8.7.15",
93
- "@nuxt/icon": "^2.1.1",
90
+ "@capgo/capacitor-social-login": "^8.2.11",
91
+ "@graphql-tools/utils": "^11.0.0",
92
+ "@ionic/vue": "^8.7.16",
93
+ "@nuxt/icon": "^2.2.0",
94
94
  "@nuxt/scripts": "^0.13.2",
95
95
  "@nuxtjs/color-mode": "^4.0.0",
96
96
  "@nuxtjs/i18n": "^10.2.1",
97
97
  "@nuxtjs/ionic": "^1.0.2",
98
98
  "@nuxtjs/tailwindcss": "7.0.0-beta.1",
99
99
  "@openfga/sdk": "^0.9.1",
100
- "@pinia/colada": "^0.20.0",
100
+ "@pinia/colada": "^0.21.1",
101
101
  "@pinia/colada-nuxt": "^0.3.0",
102
102
  "@pinia/colada-plugin-auto-refetch": "^0.2.4",
103
103
  "@pinia/nuxt": "^0.11.3",
@@ -114,7 +114,7 @@
114
114
  "@vueuse/sound": "^2.1.3",
115
115
  "apiful": "^4.0.0",
116
116
  "aws4fetch": "^1.0.20",
117
- "better-auth": "^1.4.9",
117
+ "better-auth": "^1.4.10",
118
118
  "capacitor-native-settings": "^7.0.2",
119
119
  "class-variance-authority": "^0.7.1",
120
120
  "clsx": "^2.1.1",
@@ -130,9 +130,9 @@
130
130
  "graphql-config": "^5.1.5",
131
131
  "graphql-scalars": "^1.25.0",
132
132
  "graphql-yoga": "^5.18.0",
133
- "md-editor-v3": "^6.2.1",
133
+ "md-editor-v3": "^6.3.1",
134
+ "nitro": "https://pkg.pr.new/nitrojs/nitro@99691fc",
134
135
  "nitro-graphql": "^1.8.0",
135
- "nitropack": "^2.12.9",
136
136
  "notivue": "^2.4.5",
137
137
  "pg": "^8.16.3",
138
138
  "pinia": "^3.0.4",
@@ -145,22 +145,21 @@
145
145
  "uuid": "^13.0.0",
146
146
  "vaul-vue": "^0.4.1",
147
147
  "vee-validate": "5.0.0-beta.0",
148
- "vite-tsconfig-paths": "^6.0.3",
148
+ "vite-tsconfig-paths": "^6.0.4",
149
149
  "vue-input-otp": "^0.3.2",
150
150
  "vue-router": "^4.6.4",
151
151
  "vue-sonner": "^2.0.9",
152
- "vue-tsc": "^3.2.1",
153
- "zod": "^4.2.1"
152
+ "vue-tsc": "^3.2.2",
153
+ "zod": "^4.3.5"
154
154
  },
155
155
  "devDependencies": {
156
156
  "@antfu/eslint-config": "^6.7.3",
157
157
  "@nuxt/eslint": "latest",
158
158
  "@nuxt/module-builder": "^1.0.2",
159
159
  "@nuxt/schema": "^4.2.2",
160
- "@types/node": "^25.0.3",
160
+ "@types/node": "^25.0.6",
161
161
  "@types/pg": "^8.16.0",
162
162
  "eslint": "^9.39.2",
163
- "h3": "^1.15.4",
164
163
  "nuxt": "^4.2.2",
165
164
  "shadcn-vue": "^2.4.3",
166
165
  "typescript": "^5.9.3",
@@ -225,10 +224,9 @@
225
224
  "graphql-config": "^5.1.5",
226
225
  "graphql-scalars": "^1.25.0",
227
226
  "graphql-yoga": "^5.18.0",
228
- "h3": "^1.15.4",
229
227
  "md-editor-v3": "^6.2.1",
230
228
  "nitro-graphql": "^1.8.0",
231
- "nitropack": "^2.12.9",
229
+ "nitro": "^3.0.0",
232
230
  "notivue": "^2.4.5",
233
231
  "nuxt": "^4.2.2",
234
232
  "pg": "^8.16.3",