@fluxbase/sdk-react 0.0.1-rc.18 → 0.0.1-rc.19
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/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -31,11 +31,11 @@ declare function useSession(): _tanstack_react_query.UseQueryResult<AuthSession
|
|
|
31
31
|
/**
|
|
32
32
|
* Hook for signing in
|
|
33
33
|
*/
|
|
34
|
-
declare function useSignIn(): _tanstack_react_query.UseMutationResult<_fluxbase_sdk.
|
|
34
|
+
declare function useSignIn(): _tanstack_react_query.UseMutationResult<_fluxbase_sdk.FluxbaseResponse<AuthSession | _fluxbase_sdk.SignInWith2FAResponse>, Error, SignInCredentials, unknown>;
|
|
35
35
|
/**
|
|
36
36
|
* Hook for signing up
|
|
37
37
|
*/
|
|
38
|
-
declare function useSignUp(): _tanstack_react_query.UseMutationResult<_fluxbase_sdk.
|
|
38
|
+
declare function useSignUp(): _tanstack_react_query.UseMutationResult<_fluxbase_sdk.FluxbaseAuthResponse, Error, SignUpCredentials, unknown>;
|
|
39
39
|
/**
|
|
40
40
|
* Hook for signing out
|
|
41
41
|
*/
|
|
@@ -52,8 +52,8 @@ declare function useAuth(): {
|
|
|
52
52
|
session: AuthSession | null | undefined;
|
|
53
53
|
isLoading: boolean;
|
|
54
54
|
isAuthenticated: boolean;
|
|
55
|
-
signIn: _tanstack_react_query.UseMutateAsyncFunction<_fluxbase_sdk.
|
|
56
|
-
signUp: _tanstack_react_query.UseMutateAsyncFunction<_fluxbase_sdk.
|
|
55
|
+
signIn: _tanstack_react_query.UseMutateAsyncFunction<_fluxbase_sdk.FluxbaseResponse<AuthSession | _fluxbase_sdk.SignInWith2FAResponse>, Error, SignInCredentials, unknown>;
|
|
56
|
+
signUp: _tanstack_react_query.UseMutateAsyncFunction<_fluxbase_sdk.FluxbaseAuthResponse, Error, SignUpCredentials, unknown>;
|
|
57
57
|
signOut: _tanstack_react_query.UseMutateAsyncFunction<void, Error, void, unknown>;
|
|
58
58
|
updateUser: _tanstack_react_query.UseMutateAsyncFunction<_fluxbase_sdk.UserResponse, Error, Partial<Pick<User, "email" | "metadata">>, unknown>;
|
|
59
59
|
isSigningIn: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -31,11 +31,11 @@ declare function useSession(): _tanstack_react_query.UseQueryResult<AuthSession
|
|
|
31
31
|
/**
|
|
32
32
|
* Hook for signing in
|
|
33
33
|
*/
|
|
34
|
-
declare function useSignIn(): _tanstack_react_query.UseMutationResult<_fluxbase_sdk.
|
|
34
|
+
declare function useSignIn(): _tanstack_react_query.UseMutationResult<_fluxbase_sdk.FluxbaseResponse<AuthSession | _fluxbase_sdk.SignInWith2FAResponse>, Error, SignInCredentials, unknown>;
|
|
35
35
|
/**
|
|
36
36
|
* Hook for signing up
|
|
37
37
|
*/
|
|
38
|
-
declare function useSignUp(): _tanstack_react_query.UseMutationResult<_fluxbase_sdk.
|
|
38
|
+
declare function useSignUp(): _tanstack_react_query.UseMutationResult<_fluxbase_sdk.FluxbaseAuthResponse, Error, SignUpCredentials, unknown>;
|
|
39
39
|
/**
|
|
40
40
|
* Hook for signing out
|
|
41
41
|
*/
|
|
@@ -52,8 +52,8 @@ declare function useAuth(): {
|
|
|
52
52
|
session: AuthSession | null | undefined;
|
|
53
53
|
isLoading: boolean;
|
|
54
54
|
isAuthenticated: boolean;
|
|
55
|
-
signIn: _tanstack_react_query.UseMutateAsyncFunction<_fluxbase_sdk.
|
|
56
|
-
signUp: _tanstack_react_query.UseMutateAsyncFunction<_fluxbase_sdk.
|
|
55
|
+
signIn: _tanstack_react_query.UseMutateAsyncFunction<_fluxbase_sdk.FluxbaseResponse<AuthSession | _fluxbase_sdk.SignInWith2FAResponse>, Error, SignInCredentials, unknown>;
|
|
56
|
+
signUp: _tanstack_react_query.UseMutateAsyncFunction<_fluxbase_sdk.FluxbaseAuthResponse, Error, SignUpCredentials, unknown>;
|
|
57
57
|
signOut: _tanstack_react_query.UseMutateAsyncFunction<void, Error, void, unknown>;
|
|
58
58
|
updateUser: _tanstack_react_query.UseMutateAsyncFunction<_fluxbase_sdk.UserResponse, Error, Partial<Pick<User, "email" | "metadata">>, unknown>;
|
|
59
59
|
isSigningIn: boolean;
|