@lenne.tech/nuxt-extensions 1.2.8 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/runtime/components/transition/LtTransitionFade.d.vue.ts +2 -2
- package/dist/runtime/components/transition/LtTransitionFade.vue.d.ts +2 -2
- package/dist/runtime/components/transition/LtTransitionFadeScale.d.vue.ts +2 -2
- package/dist/runtime/components/transition/LtTransitionFadeScale.vue.d.ts +2 -2
- package/dist/runtime/components/transition/LtTransitionSlide.d.vue.ts +1 -1
- package/dist/runtime/components/transition/LtTransitionSlide.vue.d.ts +1 -1
- package/dist/runtime/components/transition/LtTransitionSlideBottom.d.vue.ts +1 -1
- package/dist/runtime/components/transition/LtTransitionSlideBottom.vue.d.ts +1 -1
- package/dist/runtime/components/transition/LtTransitionSlideRevert.d.vue.ts +1 -1
- package/dist/runtime/components/transition/LtTransitionSlideRevert.vue.d.ts +1 -1
- package/dist/runtime/lib/auth-client.d.ts +35 -35
- package/package.json +17 -5
|
@@ -25,10 +25,10 @@ declare var __VLS_7: {};
|
|
|
25
25
|
type __VLS_Slots = {} & {
|
|
26
26
|
default?: (props: typeof __VLS_7) => any;
|
|
27
27
|
};
|
|
28
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
28
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
29
29
|
leaveDuration: `${number}` | number;
|
|
30
30
|
startDuration: `${number}` | number;
|
|
31
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
34
34
|
export default _default;
|
|
@@ -25,10 +25,10 @@ declare var __VLS_7: {};
|
|
|
25
25
|
type __VLS_Slots = {} & {
|
|
26
26
|
default?: (props: typeof __VLS_7) => any;
|
|
27
27
|
};
|
|
28
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
28
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
29
29
|
leaveDuration: `${number}` | number;
|
|
30
30
|
startDuration: `${number}` | number;
|
|
31
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
34
34
|
export default _default;
|
|
@@ -28,10 +28,10 @@ declare var __VLS_7: {};
|
|
|
28
28
|
type __VLS_Slots = {} & {
|
|
29
29
|
default?: (props: typeof __VLS_7) => any;
|
|
30
30
|
};
|
|
31
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
31
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
32
32
|
leaveDuration: `${number}` | number;
|
|
33
33
|
startDuration: `${number}` | number;
|
|
34
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
37
37
|
export default _default;
|
|
@@ -28,10 +28,10 @@ declare var __VLS_7: {};
|
|
|
28
28
|
type __VLS_Slots = {} & {
|
|
29
29
|
default?: (props: typeof __VLS_7) => any;
|
|
30
30
|
};
|
|
31
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
31
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
32
32
|
leaveDuration: `${number}` | number;
|
|
33
33
|
startDuration: `${number}` | number;
|
|
34
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
37
37
|
export default _default;
|
|
@@ -2,7 +2,7 @@ declare var __VLS_7: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_7) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
7
|
declare const _default: typeof __VLS_export;
|
|
8
8
|
export default _default;
|
|
@@ -2,7 +2,7 @@ declare var __VLS_7: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_7) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
7
|
declare const _default: typeof __VLS_export;
|
|
8
8
|
export default _default;
|
|
@@ -2,7 +2,7 @@ declare var __VLS_7: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_7) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
7
|
declare const _default: typeof __VLS_export;
|
|
8
8
|
export default _default;
|
|
@@ -2,7 +2,7 @@ declare var __VLS_7: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_7) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
7
|
declare const _default: typeof __VLS_export;
|
|
8
8
|
export default _default;
|
|
@@ -2,7 +2,7 @@ declare var __VLS_7: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_7) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
7
|
declare const _default: typeof __VLS_export;
|
|
8
8
|
export default _default;
|
|
@@ -2,7 +2,7 @@ declare var __VLS_7: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_7) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
7
|
declare const _default: typeof __VLS_export;
|
|
8
8
|
export default _default;
|
|
@@ -101,7 +101,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
101
101
|
} | null;
|
|
102
102
|
readonly isPending: boolean;
|
|
103
103
|
readonly isRefetching: boolean;
|
|
104
|
-
readonly error: import("
|
|
104
|
+
readonly error: import("better-auth/client").BetterFetchError | null;
|
|
105
105
|
readonly refetch: (queryParams?: {
|
|
106
106
|
query?: import("better-auth").SessionQueryParams;
|
|
107
107
|
} | undefined) => Promise<void>;
|
|
@@ -129,7 +129,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
129
129
|
} | null;
|
|
130
130
|
readonly isPending: boolean;
|
|
131
131
|
readonly isRefetching: boolean;
|
|
132
|
-
readonly error: import("
|
|
132
|
+
readonly error: import("better-auth/client").BetterFetchError | null;
|
|
133
133
|
readonly refetch: (queryParams?: {
|
|
134
134
|
query?: import("better-auth").SessionQueryParams;
|
|
135
135
|
} | undefined) => Promise<void>;
|
|
@@ -209,21 +209,21 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
209
209
|
};
|
|
210
210
|
};
|
|
211
211
|
};
|
|
212
|
-
$fetch: import("
|
|
213
|
-
plugins: (import("
|
|
212
|
+
$fetch: import("better-auth/client").BetterFetch<{
|
|
213
|
+
plugins: (import("better-auth/client").BetterFetchPlugin<Record<string, any>> | {
|
|
214
214
|
id: string;
|
|
215
215
|
name: string;
|
|
216
216
|
hooks: {
|
|
217
|
-
onSuccess(context: import("
|
|
217
|
+
onSuccess(context: import("better-auth/client").SuccessContext<any>): void;
|
|
218
218
|
};
|
|
219
219
|
} | {
|
|
220
220
|
id: string;
|
|
221
221
|
name: string;
|
|
222
222
|
hooks: {
|
|
223
|
-
onSuccess: ((context: import("
|
|
224
|
-
onError: ((context: import("
|
|
225
|
-
onRequest: (<T extends Record<string, any>>(context: import("
|
|
226
|
-
onResponse: ((context: import("
|
|
223
|
+
onSuccess: ((context: import("better-auth/client").SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
224
|
+
onError: ((context: import("better-auth/client").ErrorContext) => Promise<void> | void) | undefined;
|
|
225
|
+
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;
|
|
226
|
+
onResponse: ((context: import("better-auth/client").ResponseContext) => Promise<Response | void | import("better-auth/client").ResponseContext> | Response | import("better-auth/client").ResponseContext | void) | undefined;
|
|
227
227
|
};
|
|
228
228
|
})[];
|
|
229
229
|
cache?: RequestCache | undefined;
|
|
@@ -243,12 +243,12 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
243
243
|
referrer?: string | undefined;
|
|
244
244
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
245
245
|
signal?: (AbortSignal | null) | undefined;
|
|
246
|
-
onRetry?: ((response: import("
|
|
246
|
+
onRetry?: ((response: import("better-auth/client").ResponseContext) => Promise<void> | void) | undefined;
|
|
247
247
|
hookOptions?: {
|
|
248
248
|
cloneResponse?: boolean;
|
|
249
249
|
} | undefined;
|
|
250
250
|
timeout?: number | undefined;
|
|
251
|
-
customFetchImpl: import("
|
|
251
|
+
customFetchImpl: import("better-auth/client").FetchEsque;
|
|
252
252
|
baseURL: string;
|
|
253
253
|
throw?: boolean | undefined;
|
|
254
254
|
auth?: ({
|
|
@@ -268,17 +268,17 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
268
268
|
params?: any;
|
|
269
269
|
duplex?: "full" | "half" | undefined;
|
|
270
270
|
jsonParser: (text: string) => Promise<any> | any;
|
|
271
|
-
retry?: import("
|
|
271
|
+
retry?: import("better-auth/client").RetryOptions | undefined;
|
|
272
272
|
retryAttempt?: number | undefined;
|
|
273
|
-
output?: (import("
|
|
274
|
-
errorSchema?: import("
|
|
273
|
+
output?: (import("better-auth/client").StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
274
|
+
errorSchema?: import("better-auth/client").StandardSchemaV1 | undefined;
|
|
275
275
|
disableValidation?: boolean | undefined;
|
|
276
276
|
disableSignal?: boolean | undefined;
|
|
277
277
|
}, unknown, unknown, {}>;
|
|
278
278
|
$store: {
|
|
279
279
|
notify: (signal?: (Omit<string, "$sessionSignal"> | "$sessionSignal") | undefined) => void;
|
|
280
280
|
listen: (signal: Omit<string, "$sessionSignal"> | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
|
|
281
|
-
atoms: Record<string, import("
|
|
281
|
+
atoms: Record<string, import("better-auth/client").WritableAtom<any>>;
|
|
282
282
|
};
|
|
283
283
|
/**
|
|
284
284
|
* Change password for an authenticated user (both passwords are hashed)
|
|
@@ -429,7 +429,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
429
429
|
additionalData?: Record<string, any> | undefined;
|
|
430
430
|
} & {
|
|
431
431
|
fetchOptions?: FetchOptions | undefined;
|
|
432
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
432
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<{
|
|
433
433
|
redirect: boolean;
|
|
434
434
|
url: string;
|
|
435
435
|
} | {
|
|
@@ -453,7 +453,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
453
453
|
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<{
|
|
454
454
|
query?: Record<string, any> | undefined;
|
|
455
455
|
fetchOptions?: FetchOptions | undefined;
|
|
456
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
456
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
457
457
|
success: boolean;
|
|
458
458
|
}, {
|
|
459
459
|
code?: string | undefined;
|
|
@@ -534,7 +534,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
534
534
|
callbackURL?: string | undefined;
|
|
535
535
|
};
|
|
536
536
|
fetchOptions?: FetchOptions | undefined;
|
|
537
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
537
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<void | {
|
|
538
538
|
status: boolean;
|
|
539
539
|
}>, {
|
|
540
540
|
code?: string | undefined;
|
|
@@ -548,7 +548,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
548
548
|
callbackURL?: string | undefined;
|
|
549
549
|
} & {
|
|
550
550
|
fetchOptions?: FetchOptions | undefined;
|
|
551
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
551
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
552
552
|
status: boolean;
|
|
553
553
|
}, {
|
|
554
554
|
code?: string | undefined;
|
|
@@ -562,7 +562,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
562
562
|
callbackURL?: string | undefined;
|
|
563
563
|
} & {
|
|
564
564
|
fetchOptions?: FetchOptions | undefined;
|
|
565
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
565
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
566
566
|
status: boolean;
|
|
567
567
|
}, {
|
|
568
568
|
code?: string | undefined;
|
|
@@ -575,7 +575,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
575
575
|
image?: (string | null) | undefined;
|
|
576
576
|
name?: string | undefined;
|
|
577
577
|
fetchOptions?: FetchOptions | undefined;
|
|
578
|
-
} & Partial<{}>> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
578
|
+
} & Partial<{}>> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
579
579
|
status: boolean;
|
|
580
580
|
}, {
|
|
581
581
|
code?: string | undefined;
|
|
@@ -591,7 +591,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
591
591
|
token?: string | undefined;
|
|
592
592
|
} & {
|
|
593
593
|
fetchOptions?: FetchOptions | undefined;
|
|
594
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
594
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
595
595
|
success: boolean;
|
|
596
596
|
message: string;
|
|
597
597
|
}, {
|
|
@@ -607,7 +607,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
607
607
|
callbackURL?: string | undefined;
|
|
608
608
|
};
|
|
609
609
|
fetchOptions?: FetchOptions | undefined;
|
|
610
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
610
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
611
611
|
success: boolean;
|
|
612
612
|
message: string;
|
|
613
613
|
}, {
|
|
@@ -623,7 +623,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
623
623
|
redirectTo?: string | undefined;
|
|
624
624
|
} & {
|
|
625
625
|
fetchOptions?: FetchOptions | undefined;
|
|
626
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
626
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
627
627
|
status: boolean;
|
|
628
628
|
message: string;
|
|
629
629
|
}, {
|
|
@@ -633,7 +633,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
633
633
|
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<{
|
|
634
634
|
query?: Record<string, any> | undefined;
|
|
635
635
|
fetchOptions?: FetchOptions | undefined;
|
|
636
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
636
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<import("better-auth").Prettify<{
|
|
637
637
|
id: string;
|
|
638
638
|
createdAt: Date;
|
|
639
639
|
updatedAt: Date;
|
|
@@ -652,7 +652,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
652
652
|
token: string;
|
|
653
653
|
} & {
|
|
654
654
|
fetchOptions?: FetchOptions | undefined;
|
|
655
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
655
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
656
656
|
status: boolean;
|
|
657
657
|
}, {
|
|
658
658
|
code?: string | undefined;
|
|
@@ -661,7 +661,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
661
661
|
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<{
|
|
662
662
|
query?: Record<string, any> | undefined;
|
|
663
663
|
fetchOptions?: FetchOptions | undefined;
|
|
664
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
664
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
665
665
|
status: boolean;
|
|
666
666
|
}, {
|
|
667
667
|
code?: string | undefined;
|
|
@@ -670,7 +670,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
670
670
|
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<{
|
|
671
671
|
query?: Record<string, any> | undefined;
|
|
672
672
|
fetchOptions?: FetchOptions | undefined;
|
|
673
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
673
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
674
674
|
status: boolean;
|
|
675
675
|
}, {
|
|
676
676
|
code?: string | undefined;
|
|
@@ -708,7 +708,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
708
708
|
additionalData?: Record<string, any> | undefined;
|
|
709
709
|
} & {
|
|
710
710
|
fetchOptions?: FetchOptions | undefined;
|
|
711
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
711
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
712
712
|
url: string;
|
|
713
713
|
redirect: boolean;
|
|
714
714
|
}, {
|
|
@@ -718,7 +718,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
718
718
|
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<{
|
|
719
719
|
query?: Record<string, any> | undefined;
|
|
720
720
|
fetchOptions?: FetchOptions | undefined;
|
|
721
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
721
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
722
722
|
scopes: string[];
|
|
723
723
|
id: string;
|
|
724
724
|
createdAt: Date;
|
|
@@ -738,7 +738,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
738
738
|
accountId?: string | undefined;
|
|
739
739
|
} & {
|
|
740
740
|
fetchOptions?: FetchOptions | undefined;
|
|
741
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
741
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
742
742
|
status: boolean;
|
|
743
743
|
}, {
|
|
744
744
|
code?: string | undefined;
|
|
@@ -754,7 +754,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
754
754
|
userId?: string | undefined;
|
|
755
755
|
} & {
|
|
756
756
|
fetchOptions?: FetchOptions | undefined;
|
|
757
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
757
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
758
758
|
accessToken: string | undefined;
|
|
759
759
|
refreshToken: string | undefined;
|
|
760
760
|
accessTokenExpiresAt: Date | undefined;
|
|
@@ -777,7 +777,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
777
777
|
userId?: string | undefined;
|
|
778
778
|
} & {
|
|
779
779
|
fetchOptions?: FetchOptions | undefined;
|
|
780
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
780
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
781
781
|
accessToken: string;
|
|
782
782
|
accessTokenExpiresAt: Date | undefined;
|
|
783
783
|
scopes: string[];
|
|
@@ -793,7 +793,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
793
793
|
accountId?: string | undefined;
|
|
794
794
|
} | undefined;
|
|
795
795
|
fetchOptions?: FetchOptions | undefined;
|
|
796
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
796
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
797
797
|
user: import("better-auth").OAuth2UserInfo;
|
|
798
798
|
data: Record<string, any>;
|
|
799
799
|
}, {
|
|
@@ -809,7 +809,7 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
809
809
|
disableRefresh?: unknown;
|
|
810
810
|
} | undefined;
|
|
811
811
|
fetchOptions?: FetchOptions | undefined;
|
|
812
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
812
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
813
813
|
user: {
|
|
814
814
|
id: string;
|
|
815
815
|
createdAt: Date;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lenne.tech/nuxt-extensions",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9",
|
|
4
4
|
"description": "Reusable Nuxt 4 composables, components, and Better-Auth integration for lenne.tech projects",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"author": "lenne.Tech <info@lenne.tech> (https://lenne.tech)",
|
|
14
14
|
"license": "MIT",
|
|
15
|
+
"packageManager": "pnpm@10.29.2",
|
|
15
16
|
"type": "module",
|
|
16
17
|
"exports": {
|
|
17
18
|
".": {
|
|
@@ -47,8 +48,13 @@
|
|
|
47
48
|
"scripts": {
|
|
48
49
|
"prepare": "git config core.hooksPath .githooks",
|
|
49
50
|
"prepack": "nuxt-module-build build",
|
|
50
|
-
"
|
|
51
|
-
"
|
|
51
|
+
"c": "pnpm run check",
|
|
52
|
+
"check": "pnpm audit && pnpm run format:check && pnpm run lint && pnpm test:types && pnpm test && pnpm run build",
|
|
53
|
+
"check:fix": "pnpm install && pnpm audit --fix && pnpm run format && pnpm run lint:fix && pnpm test:types && pnpm test && pnpm run build",
|
|
54
|
+
"check:naf": "pnpm install && pnpm run format && pnpm run lint:fix && pnpm test:types && pnpm test && pnpm run build",
|
|
55
|
+
"cf": "pnpm run check:fix",
|
|
56
|
+
"cnaf": "pnpm run check:naf",
|
|
57
|
+
"dev": "pnpm dev:prepare && nuxt dev playground",
|
|
52
58
|
"dev:build": "nuxt build playground",
|
|
53
59
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground",
|
|
54
60
|
"build": "nuxt-module-build build",
|
|
@@ -60,7 +66,7 @@
|
|
|
60
66
|
"test:watch": "vitest watch",
|
|
61
67
|
"test:coverage": "vitest run --coverage",
|
|
62
68
|
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
|
|
63
|
-
"release": "
|
|
69
|
+
"release": "pnpm format:check && pnpm lint && pnpm test:types && pnpm test && pnpm prepack"
|
|
64
70
|
},
|
|
65
71
|
"dependencies": {
|
|
66
72
|
"@nuxt/kit": "4.3.0"
|
|
@@ -106,6 +112,12 @@
|
|
|
106
112
|
"vitest": "4.0.18",
|
|
107
113
|
"vue-tsc": "3.2.4"
|
|
108
114
|
},
|
|
115
|
+
"pnpm": {
|
|
116
|
+
"onlyBuiltDependencies": [
|
|
117
|
+
"@parcel/watcher",
|
|
118
|
+
"esbuild"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
109
121
|
"keywords": [
|
|
110
122
|
"nuxt",
|
|
111
123
|
"nuxt-module",
|
|
@@ -119,4 +131,4 @@
|
|
|
119
131
|
"file-upload",
|
|
120
132
|
"lenne-tech"
|
|
121
133
|
]
|
|
122
|
-
}
|
|
134
|
+
}
|