@versini/auth-provider 6.4.3 → 6.4.4

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 CHANGED
@@ -43,10 +43,19 @@ type AuthContextProps = {
43
43
  logout: (e?: any) => void;
44
44
  getAccessToken: () => Promise<string>;
45
45
  getIdToken: () => string;
46
- registeringForPasskey: () => Promise<any>;
47
- loginWithPasskey: () => Promise<any>;
46
+ registeringForPasskey: () => Promise<boolean>;
47
+ loginWithPasskey: () => Promise<boolean>;
48
48
  } & AuthState;
49
49
 
50
+ /**
51
+ * AuthProvider component properties.
52
+ *
53
+ * @param children - The children of the component.
54
+ * @param sessionExpiration - The session expiration time.
55
+ * @param clientId - The client ID.
56
+ * @param domain - The domain.
57
+ * @param debug - The debug flag.
58
+ */
50
59
  declare const AuthProvider: ({ children, sessionExpiration, clientId, domain, debug, }: AuthProviderProps) => react_jsx_runtime.JSX.Element;
51
60
 
52
61
  declare const useAuth: (context?: react.Context<AuthContextProps>) => AuthContextProps;