@versini/auth-provider 6.1.1 → 6.2.1
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.ts +3 -1
- package/dist/index.js +1221 -1268
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ type AuthProviderProps = {
|
|
|
17
17
|
clientId: string;
|
|
18
18
|
accessType?: string;
|
|
19
19
|
domain?: string;
|
|
20
|
+
debug?: boolean;
|
|
20
21
|
};
|
|
21
22
|
|
|
22
23
|
type AuthState = {
|
|
@@ -28,6 +29,7 @@ type AuthState = {
|
|
|
28
29
|
userId?: string;
|
|
29
30
|
username?: string;
|
|
30
31
|
};
|
|
32
|
+
debug?: boolean;
|
|
31
33
|
};
|
|
32
34
|
|
|
33
35
|
type LoginType = (
|
|
@@ -45,7 +47,7 @@ type AuthContextProps = {
|
|
|
45
47
|
loginWithPasskey: () => Promise<any>;
|
|
46
48
|
} & AuthState;
|
|
47
49
|
|
|
48
|
-
declare const AuthProvider: ({ children, sessionExpiration, clientId, domain, }: AuthProviderProps) => react_jsx_runtime.JSX.Element;
|
|
50
|
+
declare const AuthProvider: ({ children, sessionExpiration, clientId, domain, debug, }: AuthProviderProps) => react_jsx_runtime.JSX.Element;
|
|
49
51
|
|
|
50
52
|
declare const useAuth: (context?: react.Context<AuthContextProps>) => AuthContextProps;
|
|
51
53
|
|