@authing/react-ui-components 3.1.4-rc.5 → 3.1.4-rc.6

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
@@ -1508,6 +1508,13 @@ declare module '@authing/react-ui-components/components/Guard/core/renderModule'
1508
1508
  guardProps: GuardProps;
1509
1509
  }>;
1510
1510
 
1511
+ }
1512
+ declare module '@authing/react-ui-components/components/Guard/core/useAppendConfig' {
1513
+ import { GuardProps } from '@authing/react-ui-components/components/index';
1514
+ export const getGuardWindow: () => Window | undefined;
1515
+ export const useGuardWindow: () => Window | undefined;
1516
+ export const useInitGuardAppendConfig: (guardProps: GuardProps) => void;
1517
+
1511
1518
  }
1512
1519
  declare module '@authing/react-ui-components/components/Guard/core/usePlugin' {
1513
1520
  import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
@@ -2502,6 +2509,7 @@ declare module '@authing/react-ui-components/components/SubmitSuccess/interface'
2502
2509
  declare module '@authing/react-ui-components/components/Type/index' {
2503
2510
  import { AuthenticationClient, CommonMessage } from 'authing-js-sdk';
2504
2511
  import { Lang } from 'authing-js-sdk/build/main/types';
2512
+ import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2505
2513
  import { GuardMode } from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
2506
2514
  import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
2507
2515
  import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
@@ -2519,6 +2527,8 @@ declare module '@authing/react-ui-components/components/Type/index' {
2519
2527
  internalRequest?: boolean;
2520
2528
  singleComponent?: boolean;
2521
2529
  unAuthFlow?: boolean;
2530
+ publicConfig?: ApplicationConfig;
2531
+ pageConfig?: GuardPageConfig;
2522
2532
  }
2523
2533
  export interface IG2FCViewProps extends IG2FCProps {
2524
2534
  config: IG2Config;
@@ -2647,7 +2657,6 @@ declare module '@authing/react-ui-components/components/_utils/appendConfig' {
2647
2657
  export const getAppendConfig: () => GuardAppendConfig;
2648
2658
  export const useAppendConfig: () => GuardAppendConfig;
2649
2659
  export const initAppendConfig: (appendConfig?: GuardAppendConfig) => void;
2650
- export const getGuardWindow: () => Window | undefined;
2651
2660
 
2652
2661
  }
2653
2662
  declare module '@authing/react-ui-components/components/_utils/clipboard' {
@@ -2747,9 +2756,11 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2747
2756
 
2748
2757
  }
2749
2758
  declare module '@authing/react-ui-components/components/_utils/config' {
2750
- import { IG2Config } from '@authing/react-ui-components/components/Type/index';
2759
+ import { GuardPageConfig, IG2Config } from '@authing/react-ui-components/components/Type/index';
2751
2760
  import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2752
2761
  import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
2762
+ export const setPublicConfig: (appId: string, config: ApplicationConfig) => ApplicationConfig;
2763
+ export const setPageConfig: (appId: string, config: GuardPageConfig) => GuardPageConfig;
2753
2764
  export const initConfig: (appId: string, config: Partial<IG2Config>, defaultConfig: IG2Config) => Promise<{
2754
2765
  config: GuardLocalConfig;
2755
2766
  publicConfig: ApplicationConfig;
@@ -3213,7 +3224,7 @@ declare module '@authing/react-ui-components/components/version/index' {
3213
3224
 
3214
3225
  }
3215
3226
  declare module '@authing/react-ui-components/components/version/version' {
3216
- const _default: "3.1.4-rc.5";
3227
+ const _default: "3.1.4-rc.6";
3217
3228
  export default _default;
3218
3229
 
3219
3230
  }
@@ -3259,7 +3270,7 @@ declare module '@authing/react-ui-components/config/jest/fileTransform' {
3259
3270
 
3260
3271
  }
3261
3272
  declare module '@authing/react-ui-components/config/modules' {
3262
- export const additionalModulePaths: "" | string[] | null;
3273
+ export const additionalModulePaths: string[] | "" | null;
3263
3274
  export const hasTsConfig: boolean;
3264
3275
  export const webpackAliases: {
3265
3276
  src?: undefined;
@@ -3366,6 +3377,14 @@ declare module '@authing/react-ui-components/config/webpack.config' {
3366
3377
  oneOf?: undefined;
3367
3378
  } | {
3368
3379
  oneOf: ({
3380
+ test: RegExp;
3381
+ loader: string;
3382
+ options?: undefined;
3383
+ include?: undefined;
3384
+ exclude?: undefined;
3385
+ use?: undefined;
3386
+ sideEffects?: undefined;
3387
+ } | {
3369
3388
  test: RegExp[];
3370
3389
  loader: string;
3371
3390
  options: {