@lenne.tech/nuxt-extensions 1.2.11 → 1.2.12
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.
|
@@ -280,6 +280,21 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
280
280
|
listen: (signal: Omit<string, "$sessionSignal"> | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
|
|
281
281
|
atoms: Record<string, import("better-auth/client").WritableAtom<any>>;
|
|
282
282
|
};
|
|
283
|
+
requestPasswordReset: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
284
|
+
email: string;
|
|
285
|
+
redirectTo?: string | undefined;
|
|
286
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
|
|
287
|
+
email: string;
|
|
288
|
+
redirectTo?: string | undefined;
|
|
289
|
+
} & {
|
|
290
|
+
fetchOptions?: FetchOptions | undefined;
|
|
291
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
292
|
+
status: boolean;
|
|
293
|
+
message: string;
|
|
294
|
+
}, {
|
|
295
|
+
code?: string | undefined;
|
|
296
|
+
message?: string | undefined;
|
|
297
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
283
298
|
/**
|
|
284
299
|
* Change password for an authenticated user (both passwords are hashed)
|
|
285
300
|
*/
|
|
@@ -615,21 +630,6 @@ export declare function createLtAuthClient(config?: LtAuthClientConfig): {
|
|
|
615
630
|
message?: string | undefined;
|
|
616
631
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
617
632
|
};
|
|
618
|
-
requestPasswordReset: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
619
|
-
email: string;
|
|
620
|
-
redirectTo?: string | undefined;
|
|
621
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
|
|
622
|
-
email: string;
|
|
623
|
-
redirectTo?: string | undefined;
|
|
624
|
-
} & {
|
|
625
|
-
fetchOptions?: FetchOptions | undefined;
|
|
626
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
627
|
-
status: boolean;
|
|
628
|
-
message: string;
|
|
629
|
-
}, {
|
|
630
|
-
code?: string | undefined;
|
|
631
|
-
message?: string | undefined;
|
|
632
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
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;
|
|
@@ -89,6 +89,7 @@ export function createLtAuthClient(config = {}) {
|
|
|
89
89
|
$Infer: baseClient.$Infer,
|
|
90
90
|
$fetch: baseClient.$fetch,
|
|
91
91
|
$store: baseClient.$store,
|
|
92
|
+
requestPasswordReset: baseClient.requestPasswordReset,
|
|
92
93
|
/**
|
|
93
94
|
* Change password for an authenticated user (both passwords are hashed)
|
|
94
95
|
*/
|
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.12",
|
|
4
4
|
"description": "Reusable Nuxt 4 composables, components, and Better-Auth integration for lenne.tech projects",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -131,4 +131,4 @@
|
|
|
131
131
|
"file-upload",
|
|
132
132
|
"lenne-tech"
|
|
133
133
|
]
|
|
134
|
-
}
|
|
134
|
+
}
|