@authing/react-ui-components 4.0.4-alpha.4 → 4.0.4-rc.2
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.min.css +2 -2
- package/lib/index.min.js +1 -1
- package/lib/index.min.js.LICENSE.txt +0 -16
- package/package.json +2 -3
- package/types/ChangePassword/businessRequest.d.ts +1 -2
- package/types/ChangePassword/core/completePassword.d.ts +0 -6
- package/types/ChangePassword/index.d.ts +0 -12
- package/types/CompleteInfo/businessRequest.d.ts +3 -9
- package/types/CompleteInfo/core/completeInfo.d.ts +0 -5
- package/types/CompleteInfo/index.d.ts +0 -11
- package/types/CompleteInfo/interface.d.ts +1 -1
- package/types/CompleteInfo/utils.d.ts +7 -1
- package/types/ForgetPassword/index.d.ts +0 -3
- package/types/Guard/core/hooks/useMultipleAccounts.d.ts +0 -4
- package/types/IdentityBinding/IdentityBinding.d.ts +0 -5
- package/types/IdentityBinding/businessRequest.d.ts +6 -3
- package/types/Login/core/withPassword/FormItemAccount.d.ts +0 -5
- package/types/Login/core/withPassword/GraphicVerifyCode.d.ts +0 -5
- package/types/Login/core/withPassword/InputAccount.d.ts +0 -4
- package/types/Login/core/withPassword/index.d.ts +0 -5
- package/types/Login/hooks/useLoginMultiple.d.ts +1 -3
- package/types/MFA/businessRequest.d.ts +0 -11
- package/types/MFA/core/email.d.ts +0 -15
- package/types/MFA/core/face.d.ts +0 -5
- package/types/MFA/core/face_deps.d.ts +0 -6
- package/types/MFA/core/sms.d.ts +0 -10
- package/types/MFA/core/totp.d.ts +0 -17
- package/types/MFA/index.d.ts +0 -4
- package/types/Qrcode/WorkQrCode.d.ts +1 -1
- package/types/RecoveryCode/businessRequest.d.ts +1 -1
- package/types/RecoveryCode/index.d.ts +0 -3
- package/types/Register/core/WithCode.d.ts +3 -4
- package/types/Register/core/WithEmail.d.ts +1 -7
- package/types/Register/interface.d.ts +1 -17
- package/types/SelfUnlock/index.d.ts +0 -4
- package/types/SendCode/SendCodeByPhone.d.ts +1 -1
- package/types/Type/index.d.ts +0 -14
- package/types/_utils/config/index.d.ts +3 -11
- package/types/_utils/http.d.ts +0 -17
- package/types/_utils/index.d.ts +1 -16
- package/types/_utils/locales/index.d.ts +1 -2
- package/types/_utils/responseManagement/index.d.ts +0 -6
- package/types/version/version.d.ts +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import i18n from 'i18next';
|
|
2
2
|
import { Lang } from '../../Type';
|
|
3
|
-
declare let i18nReady: boolean;
|
|
4
3
|
export interface InitGuardI18nOptions {
|
|
5
4
|
defaultLanguage?: Lang | 'browser';
|
|
6
5
|
}
|
|
7
6
|
export declare const initGuardI18n: (options: InitGuardI18nOptions) => void;
|
|
8
|
-
export { i18n
|
|
7
|
+
export { i18n };
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import { AuthingGuardResponse, AuthingResponse } from '../http';
|
|
2
2
|
import { CodeAction } from './interface';
|
|
3
|
-
/**
|
|
4
|
-
* 全局的错误拦截器
|
|
5
|
-
* @param res
|
|
6
|
-
* @param callBack
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
3
|
export declare const errorCodeInterceptor: (res: AuthingResponse<any>, callBack: (code: CodeAction, res: AuthingResponse) => AuthingGuardResponse) => AuthingResponse<any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.0.4-
|
|
1
|
+
declare const _default: "4.0.4-rc.2";
|
|
2
2
|
export default _default;
|