@authing/react-ui-components 3.1.18-rc.14 → 3.1.18
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 +5 -41
- package/lib/index.min.js +1 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -1195,7 +1195,6 @@ declare module '@authing/react-ui-components/components/ChangePassword/core/rota
|
|
|
1195
1195
|
/// <reference types="react" />
|
|
1196
1196
|
interface RotateResetProps {
|
|
1197
1197
|
onReset: any;
|
|
1198
|
-
onFinishCallBack?: any;
|
|
1199
1198
|
}
|
|
1200
1199
|
export const RotateReset: (props: RotateResetProps) => JSX.Element;
|
|
1201
1200
|
export {};
|
|
@@ -1209,7 +1208,6 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
|
|
|
1209
1208
|
}>;
|
|
1210
1209
|
export const GuardFirstLoginPasswordResetView: React.FC;
|
|
1211
1210
|
export const GuardForcedPasswordResetView: React.FC;
|
|
1212
|
-
export const GuardNoticePasswordResetView: React.FC;
|
|
1213
1211
|
export const GuardRegisterCompletePasswordView: React.FC;
|
|
1214
1212
|
|
|
1215
1213
|
}
|
|
@@ -1680,7 +1678,6 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1680
1678
|
MFA = "mfa",
|
|
1681
1679
|
FORGET_PWD = "forgetPassword",
|
|
1682
1680
|
FORCED_PASSWORD_RESET = "forcedPasswordReset",
|
|
1683
|
-
NOTICE_PASSWORD_RESET = "noticePasswordReset",
|
|
1684
1681
|
FIRST_LOGIN_PASSWORD = "firstLoginPassword",
|
|
1685
1682
|
DOWNLOAD_AT = "downloadAT",
|
|
1686
1683
|
BIND_TOTP = "bindTotp",
|
|
@@ -1691,8 +1688,7 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1691
1688
|
RECOVERY_CODE = "recoveryCode",
|
|
1692
1689
|
SUBMIT_SUCCESS = "submitSuccess",
|
|
1693
1690
|
IDENTITY_BINDING_ASK = "identityBindingAsk",
|
|
1694
|
-
IDENTITY_BINDING = "identityBinding"
|
|
1695
|
-
SELF_UNLOCK = "selfUnlock"
|
|
1691
|
+
IDENTITY_BINDING = "identityBinding"
|
|
1696
1692
|
}
|
|
1697
1693
|
export interface GuardModuleAction {
|
|
1698
1694
|
action: string;
|
|
@@ -2535,38 +2531,6 @@ declare module '@authing/react-ui-components/components/Register/interface' {
|
|
|
2535
2531
|
declare module '@authing/react-ui-components/components/Register/utils' {
|
|
2536
2532
|
export const useIsChangeComplete: (currentMode: 'phone' | 'email') => boolean;
|
|
2537
2533
|
|
|
2538
|
-
}
|
|
2539
|
-
declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlock' {
|
|
2540
|
-
/// <reference types="react" />
|
|
2541
|
-
export enum InputMethodMap {
|
|
2542
|
-
email = "email-code",
|
|
2543
|
-
phone = "phone-code"
|
|
2544
|
-
}
|
|
2545
|
-
export const SelfUnlock: () => JSX.Element;
|
|
2546
|
-
|
|
2547
|
-
}
|
|
2548
|
-
declare module '@authing/react-ui-components/components/SelfUnlock/index' {
|
|
2549
|
-
import React from 'react';
|
|
2550
|
-
export const GuardUnlockView: React.FC;
|
|
2551
|
-
|
|
2552
|
-
}
|
|
2553
|
-
declare module '@authing/react-ui-components/components/SelfUnlock/interface' {
|
|
2554
|
-
import { AuthenticationClient, CommonMessage } from '@authing/react-ui-components/components/index';
|
|
2555
|
-
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
2556
|
-
export interface ForgetPasswordEvents extends IG2Events {
|
|
2557
|
-
onPwdEmailSend?: (authClient: AuthenticationClient) => void;
|
|
2558
|
-
onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2559
|
-
onPwdPhoneSend?: (authClient: AuthenticationClient) => void;
|
|
2560
|
-
onPwdPhoneSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2561
|
-
onPwdReset?: (authClient: AuthenticationClient) => void;
|
|
2562
|
-
onPwdResetError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2563
|
-
}
|
|
2564
|
-
export interface ForgetPasswordConfig extends IG2Config {
|
|
2565
|
-
}
|
|
2566
|
-
export interface ForgetPasswordProps extends IG2FCProps, ForgetPasswordEvents {
|
|
2567
|
-
config: Partial<IG2Config>;
|
|
2568
|
-
}
|
|
2569
|
-
|
|
2570
2534
|
}
|
|
2571
2535
|
declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
|
|
2572
2536
|
import React, { FC } from 'react';
|
|
@@ -2767,8 +2731,7 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2767
2731
|
CONSOLE_CONDUCTED_VERIFY = "CONSOLE_CONDUCTED_VERIFY",
|
|
2768
2732
|
RESET_PASSWORD_VERIFY_CODE = "RESET_PASSWORD_VERIFY_CODE",
|
|
2769
2733
|
EMAIL_BIND_VERIFY_CODE = "EMAIL_BIND_VERIFY_CODE",
|
|
2770
|
-
EMAIL_UNBIND_VERIFY_CODE = "EMAIL_UNBIND_VERIFY_CODE"
|
|
2771
|
-
SELF_UNLOCKING_VERIFY_CODE = "SELF_UNLOCKING_VERIFY_CODE"
|
|
2734
|
+
EMAIL_UNBIND_VERIFY_CODE = "EMAIL_UNBIND_VERIFY_CODE"
|
|
2772
2735
|
}
|
|
2773
2736
|
|
|
2774
2737
|
}
|
|
@@ -2973,6 +2936,7 @@ declare module '@authing/react-ui-components/components/_utils/context' {
|
|
|
2973
2936
|
publicConfig: ApplicationConfig;
|
|
2974
2937
|
httpClient: GuardHttp;
|
|
2975
2938
|
appId: string;
|
|
2939
|
+
tenantId?: string;
|
|
2976
2940
|
initData: any;
|
|
2977
2941
|
currentModule: ModuleState;
|
|
2978
2942
|
events: Partial<GuardEvents>;
|
|
@@ -2998,6 +2962,7 @@ declare module '@authing/react-ui-components/components/_utils/context' {
|
|
|
2998
2962
|
export const useGuardHttpClient: () => GuardHttp;
|
|
2999
2963
|
export const useGuardDefaultMergedConfig: () => GuardLocalConfig;
|
|
3000
2964
|
export const useGuardAppId: () => string;
|
|
2965
|
+
export const useGuardTenantId: () => string | undefined;
|
|
3001
2966
|
export function useGuardInitData<T>(): T;
|
|
3002
2967
|
export const useGuardCurrentModule: () => ModuleState;
|
|
3003
2968
|
export const useGuardEvents: () => Partial<GuardEvents>;
|
|
@@ -3349,7 +3314,6 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3349
3314
|
MFA = 1635,
|
|
3350
3315
|
ABORT_FLOW = 1699,
|
|
3351
3316
|
COMPLETE_INFO = 1642,
|
|
3352
|
-
UNLOCK = 1643,
|
|
3353
3317
|
FLOW_END = 1600,
|
|
3354
3318
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
3355
3319
|
FORCED_PASSWORD_RESET = 2058
|
|
@@ -3449,7 +3413,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3449
3413
|
|
|
3450
3414
|
}
|
|
3451
3415
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3452
|
-
const _default: "3.1.18
|
|
3416
|
+
const _default: "3.1.18";
|
|
3453
3417
|
export default _default;
|
|
3454
3418
|
|
|
3455
3419
|
}
|