@authing/react-ui-components 3.0.16 → 3.0.17-rc.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/lib/index.d.ts CHANGED
@@ -1652,12 +1652,14 @@ declare module '@authing/react-ui-components/components/Login/core/withPassword/
1652
1652
  /// <reference types="react" />
1653
1653
  import { Agreement, PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
1654
1654
  import { LoginMethods } from '@authing/react-ui-components/components/index';
1655
+ import { AuthingResponse } from '@authing/react-ui-components/components/_utils/http';
1655
1656
  interface LoginWithPasswordProps {
1656
1657
  publicKey: string;
1657
1658
  autoRegister?: boolean;
1658
1659
  host?: string;
1659
1660
  onLogin: any;
1660
- onBeforeLogin: any;
1661
+ onBeforeLogin?: any;
1662
+ onLoginRequest?: (loginInfo: any) => Promise<AuthingResponse>;
1661
1663
  passwordLoginMethods: PasswordLoginMethods[];
1662
1664
  agreements: Agreement[];
1663
1665
  loginWay?: LoginMethods;
@@ -1758,6 +1760,11 @@ declare module '@authing/react-ui-components/components/Login/interface' {
1758
1760
  }
1759
1761
  export const getDefaultLoginConfig: () => LoginConfig;
1760
1762
 
1763
+ }
1764
+ declare module '@authing/react-ui-components/components/Login/socialLogin/IdpButton/index' {
1765
+ /// <reference types="react" />
1766
+ export const IdpButton: (props: any) => JSX.Element | null;
1767
+
1761
1768
  }
1762
1769
  declare module '@authing/react-ui-components/components/Login/socialLogin/index' {
1763
1770
  import React from 'react';
@@ -2664,7 +2671,7 @@ declare module '@authing/react-ui-components/components/version/index' {
2664
2671
 
2665
2672
  }
2666
2673
  declare module '@authing/react-ui-components/components/version/version' {
2667
- const _default: "3.0.16";
2674
+ const _default: "3.0.17-rc.1";
2668
2675
  export default _default;
2669
2676
 
2670
2677
  }