@affinidi/affinidi-react-auth
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -33,3 +33,3 @@ "use strict"; | ||
const AffinidiLoginButton = (props) => { | ||
const { isLoading, getAuthUrl } = (0, useAffinidiLogin_1.default)(); | ||
const { isLoading, getAuthUrl } = (0, useAffinidiLogin_1.default)({ authInitUrl: props.authInitUrl }); | ||
async function logInHandler() { | ||
@@ -36,0 +36,0 @@ const data = await getAuthUrl(); |
@@ -7,2 +7,3 @@ import { CSSProperties, MouseEventHandler } from 'react'; | ||
buttonStyles?: CSSProperties | undefined; | ||
authInitUrl?: string; | ||
}; | ||
@@ -9,0 +10,0 @@ export declare const errorMessageMap: Record<string, string>; |
{ | ||
"name": "@affinidi/affinidi-react-auth", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Affinidi react auth library for creating Affinidi Login Button", | ||
@@ -5,0 +5,0 @@ "author": "affinidi.com", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117717
1496