@authing/react-ui-components 3.0.19-rc.2 → 3.0.19-rc.5

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
@@ -1886,11 +1886,14 @@ declare module '@authing/react-ui-components/components/MFA/core/face_deps' {
1886
1886
  }
1887
1887
  declare module '@authing/react-ui-components/components/MFA/core/sms' {
1888
1888
  import React from 'react';
1889
- import { MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
1889
+ import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
1890
1890
  export interface BindMFASmsProps {
1891
1891
  mfaToken: string;
1892
1892
  onBind: (phone: string) => void;
1893
1893
  config: any;
1894
+ areaCode: string;
1895
+ setAreaCode: (areaCode: string) => void;
1896
+ isInternationPhone: boolean;
1894
1897
  }
1895
1898
  export const BindMFASms: React.FC<BindMFASmsProps>;
1896
1899
  export interface VerifyMFASmsProps {
@@ -1899,13 +1902,15 @@ declare module '@authing/react-ui-components/components/MFA/core/sms' {
1899
1902
  onVerify: (code: number, data: any) => void;
1900
1903
  sendCodeRef: React.RefObject<HTMLButtonElement>;
1901
1904
  codeLength: number;
1905
+ areaCode: string;
1906
+ phoneCountryCode?: string;
1907
+ isInternationPhone: boolean;
1902
1908
  }
1903
1909
  export const VerifyMFASms: React.FC<VerifyMFASmsProps>;
1904
1910
  export const MFASms: React.FC<{
1905
- mfaToken: string;
1906
- phone?: string;
1907
1911
  mfaLogin: any;
1908
1912
  config: MFAConfig;
1913
+ initData: GuardMFAInitData;
1909
1914
  }>;
1910
1915
 
1911
1916
  }
@@ -1968,6 +1973,7 @@ declare module '@authing/react-ui-components/components/MFA/interface' {
1968
1973
  sort: number;
1969
1974
  status: 0 | 1;
1970
1975
  }[];
1976
+ phoneCountryCode?: string;
1971
1977
  faceMfaEnabled: boolean;
1972
1978
  totpMfaEnabled: boolean;
1973
1979
  email?: string;
@@ -2409,19 +2415,13 @@ declare module '@authing/react-ui-components/components/_utils/corsVerification'
2409
2415
 
2410
2416
  }
2411
2417
  declare module '@authing/react-ui-components/components/_utils/countryList' {
2412
- export interface List {
2413
- [key: string]: string;
2414
- }
2415
- export const COUNTRY_LIST_ZH: List;
2416
- export const COUNTRY_LIST_EN: List;
2417
- export const Phone_List: List;
2418
- export interface Iso {
2418
+ export interface IsoType {
2419
2419
  iso: string;
2420
2420
  regions: string;
2421
2421
  regions_en: string;
2422
2422
  phoneCountryCode: string;
2423
2423
  }
2424
- export const isoInfo: Iso[];
2424
+ export const isoInfo: IsoType[];
2425
2425
 
2426
2426
  }
2427
2427
  declare module '@authing/react-ui-components/components/_utils/errorFace' {
@@ -2733,7 +2733,7 @@ declare module '@authing/react-ui-components/components/version/index' {
2733
2733
 
2734
2734
  }
2735
2735
  declare module '@authing/react-ui-components/components/version/version' {
2736
- const _default: "3.0.19-rc.2";
2736
+ const _default: "3.0.19-rc.5";
2737
2737
  export default _default;
2738
2738
 
2739
2739
  }