@authing/react-ui-components 3.0.19-rc.0 → 3.0.19-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
@@ -2471,6 +2471,13 @@ declare module '@authing/react-ui-components/components/_utils/guradHttp' {
2471
2471
  }
2472
2472
  declare module '@authing/react-ui-components/components/_utils/hooks/index' {
2473
2473
  import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
2474
+ export interface PhoneValidResult {
2475
+ isValid: boolean;
2476
+ phoneNumber: string;
2477
+ countryIso2: string;
2478
+ countryIso3: string;
2479
+ countryCode: string;
2480
+ }
2474
2481
  export const useChangeModule: () => (nextModuleType: GuardModuleType, nextData?: any) => void;
2475
2482
  export const useAppId: (appId?: string | undefined) => string;
2476
2483
  export const useDebounce: (fn: any, delay: number) => (...args: any[]) => void;
@@ -2481,6 +2488,10 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
2481
2488
  MountShaking: () => void;
2482
2489
  UnMountShaking: () => void;
2483
2490
  };
2491
+ export const parsePhone: (fieldValue: string, areaCode?: string | undefined) => {
2492
+ countryCode: string | undefined;
2493
+ phoneNumber: string;
2494
+ };
2484
2495
 
2485
2496
  }
2486
2497
  declare module '@authing/react-ui-components/components/_utils/http' {
@@ -2723,7 +2734,7 @@ declare module '@authing/react-ui-components/components/version/index' {
2723
2734
 
2724
2735
  }
2725
2736
  declare module '@authing/react-ui-components/components/version/version' {
2726
- const _default: "3.0.19-rc.0";
2737
+ const _default: "3.0.19-rc.1";
2727
2738
  export default _default;
2728
2739
 
2729
2740
  }