@authing/guard-shim-react18 4.5.40-alpha.20 → 4.5.40-alpha.21

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.
Files changed (30) hide show
  1. package/dist/guard.min.css +1 -1
  2. package/dist/guard.min.js +11929 -2162
  3. package/dist/typings/src/ChangePassword/core/resetPassword.d.ts +1 -0
  4. package/dist/typings/src/CompleteInfo/businessRequest.d.ts +1 -2
  5. package/dist/typings/src/CompleteInfo/core/completeInfo.d.ts +1 -0
  6. package/dist/typings/src/Guard/core/hooks/useMultipleAccounts.d.ts +2 -2
  7. package/dist/typings/src/Guard/module.d.ts +9 -1
  8. package/dist/typings/src/Invitation/Application/index.d.ts +2 -0
  9. package/dist/typings/src/Invitation/AuthenticationBind/index.d.ts +2 -0
  10. package/dist/typings/src/Invitation/Complete/index.d.ts +2 -0
  11. package/dist/typings/src/Invitation/Error/index.d.ts +2 -0
  12. package/dist/typings/src/Invitation/Success/index.d.ts +1 -0
  13. package/dist/typings/src/Invitation/interface.d.ts +66 -0
  14. package/dist/typings/src/Login/core/withLDAP.d.ts +2 -1
  15. package/dist/typings/src/Login/core/withPassword/index.d.ts +2 -1
  16. package/dist/typings/src/Login/hooks/useLoginMultiple.d.ts +8 -5
  17. package/dist/typings/src/Login/interface.d.ts +4 -1
  18. package/dist/typings/src/MFA/VerifyCodeInput/index.d.ts +1 -1
  19. package/dist/typings/src/MFA/core/passkey.d.ts +2 -0
  20. package/dist/typings/src/Message/index.d.ts +9 -0
  21. package/dist/typings/src/ShieldSpin/index.d.ts +1 -0
  22. package/dist/typings/src/Type/application.d.ts +10 -1
  23. package/dist/typings/src/Type/index.d.ts +2 -1
  24. package/dist/typings/src/_utils/compute.d.ts +3 -3
  25. package/dist/typings/src/_utils/config/index.d.ts +1 -0
  26. package/dist/typings/src/_utils/context.d.ts +4 -1
  27. package/dist/typings/src/_utils/http.d.ts +1 -1
  28. package/dist/typings/src/_utils/index.d.ts +3 -5
  29. package/dist/typings/src/_utils/responseManagement/interface.d.ts +3 -1
  30. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export declare const GuardResetPassword: () => JSX.Element;
@@ -1,4 +1,3 @@
1
- import { User } from 'authing-js-sdk';
2
1
  import { CompleteInfoRequest, RegisterCompleteInfoInitData } from './interface';
3
2
  export declare enum CompleteInfoAuthFlowAction {
4
3
  Complete = "complete-completion",
@@ -6,4 +5,4 @@ export declare enum CompleteInfoAuthFlowAction {
6
5
  }
7
6
  export declare const authFlow: (action: CompleteInfoAuthFlowAction, data?: CompleteInfoRequest) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
8
7
  export declare const registerSkipMethod: (fnName: RegisterCompleteInfoInitData['businessRequestName'] | string, content: any) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
9
- export declare const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: RegisterCompleteInfoInitData['businessRequestName'], registerContent: any, registerProfile?: any) => Promise<import("../_utils/http").AuthingGuardResponse<any> | User | undefined>;
8
+ export declare const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: RegisterCompleteInfoInitData['businessRequestName'], registerContent: any, registerProfile?: any) => Promise<import("../_utils/http").AuthingGuardResponse<any> | undefined>;
@@ -3,6 +3,7 @@ import { CompleteInfoMetaData, CompleteInfoRequest } from '../interface';
3
3
  export interface CompleteInfoProps {
4
4
  metaData: CompleteInfoMetaData[];
5
5
  businessRequest: (data: CompleteInfoRequest) => Promise<void>;
6
+ extendsFieldsI18n?: any;
6
7
  }
7
8
  export interface FieldMetadata {
8
9
  key: string;
@@ -277,7 +277,7 @@ declare class MultipleAccount {
277
277
  * MultipleAccounts 相关 Hook
278
278
  * Finally Config 类型过滤
279
279
  */
280
- declare const useMultipleAccounts: ({ appId, finallyConfig }: {
280
+ declare const useSelectAccounts: ({ appId, finallyConfig }: {
281
281
  appId?: string;
282
282
  finallyConfig?: any;
283
283
  }) => {
@@ -321,4 +321,4 @@ declare const useMultipleAccounts: ({ appId, finallyConfig }: {
321
321
  multipleAccountData: BackFillMultipleState | undefined;
322
322
  clearBackFillData: () => void;
323
323
  };
324
- export default useMultipleAccounts;
324
+ export default useSelectAccounts;
@@ -25,7 +25,15 @@ export declare enum GuardModuleType {
25
25
  TENANT_PORTAL = "tenant-portal",
26
26
  New_SUBMIT_SUCCESS = "newSubmitSuccess",// 提交成功展示页
27
27
  SELECT_ACCOUNT_2_LOGIN = "selectAccout2Login",// 选择登录身份
28
- RESET_ACCOUNT_NAME = "resetAccountName"
28
+ RESET_ACCOUNT_NAME = "resetAccountName",
29
+ APPLY_INVITATION = "applyInvitation",
30
+ MESSAGE = "message",
31
+ INVITE_AUTH = "inviteAuth",
32
+ INVITE_COMPLETE = "inviteComplete",
33
+ INVITE_EXPIRE = "inviteExpire",// 邀请链接过期
34
+ INVITE_PAGE_EXPIRE = "invitePageExpire",// 页面过期
35
+ INVITE_SUCCESS = "inviteSuccess",// 邀请成功
36
+ RESET_PASSWORD = "resetPassword"
29
37
  }
30
38
  export interface GuardModuleAction {
31
39
  action: string;
@@ -0,0 +1,2 @@
1
+ import './style.less';
2
+ export declare const GuardApplicationView: () => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import './style.less';
2
+ export declare const GuardAuthenticationView: () => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import './style.less';
2
+ export declare const GuardInviteCompleteView: () => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import './style.less';
2
+ export declare const GuardInviteExpireView: (props: any) => JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const GuardInviteSuccessView: () => JSX.Element;
@@ -0,0 +1,66 @@
1
+ import { GuardModuleType } from '../Guard/module';
2
+ import { Lang } from '../Type';
3
+ export interface InviteContext {
4
+ token: string;
5
+ email: string | null;
6
+ ticket: string;
7
+ enabledIdentifierCodeConfig: boolean;
8
+ enabledInfoFill: boolean;
9
+ allowSkipBindExtIdp: boolean;
10
+ sendVerifyCodeMethod: 'prioritySMS' | 'priorityEmail';
11
+ phoneCountryCode: string | null;
12
+ phone: string | null;
13
+ username: string | null;
14
+ name: string | null;
15
+ verifyCodeMaxErrCount: number;
16
+ extendsFieldsI18n?: {
17
+ [key: string]: Record<Lang, {
18
+ enabled: boolean;
19
+ value: string;
20
+ }>;
21
+ };
22
+ extendsFieldsOptions?: {
23
+ key: string;
24
+ options: {
25
+ value: string;
26
+ label: string;
27
+ }[];
28
+ }[];
29
+ extendsFields: any;
30
+ registerInfoFillMsg?: string;
31
+ }
32
+ export interface GuardInviteLoginInitData extends Partial<InviteContext> {
33
+ canBack?: boolean;
34
+ verifyAccount: string;
35
+ context: any;
36
+ originModule: GuardModuleType;
37
+ originContext: any;
38
+ }
39
+ export interface GuardInviteCompleteInitData extends Partial<GuardInviteLoginInitData> {
40
+ metaData: any;
41
+ }
42
+ export interface GuardInviteIdentityBindInitData extends Partial<GuardInviteLoginInitData> {
43
+ weComConfig: {
44
+ QRConfig: any;
45
+ id: string;
46
+ isDefault: boolean;
47
+ title: string;
48
+ };
49
+ isNew: boolean;
50
+ socialConnections: any[];
51
+ }
52
+ export interface EyGuardProtocolInitData {
53
+ onAcceptHandle: () => void;
54
+ onRejectHandle: () => void;
55
+ mode: 'Guard' | 'Portal';
56
+ }
57
+ export interface EyLoginProps {
58
+ onBeforeLogin?: (loginInfo: any) => void;
59
+ onLoginSuccess?: (data: any, message?: string) => void;
60
+ onLoginFailed?: (code: number, data: any, message?: string) => void;
61
+ }
62
+ export declare const useRegisterHandleHook: (initData: any, submitButtonRef?: {
63
+ current: {
64
+ onSpin: (arg0: boolean) => void;
65
+ };
66
+ }) => (context: any) => Promise<void>;
@@ -13,9 +13,10 @@ interface LoginWithLDAPProps {
13
13
  */
14
14
  multipleInstance?: StoreInstance;
15
15
  /**
16
- * 多账号回填的数据
16
+ * 选择已登录账号回填的数据
17
17
  */
18
18
  backfillData?: BackFillMultipleState;
19
+ loginHint?: string;
19
20
  }
20
21
  export declare const LoginWithLDAP: (props: LoginWithLDAPProps) => JSX.Element;
21
22
  export {};
@@ -19,9 +19,10 @@ interface LoginWithPasswordProps {
19
19
  */
20
20
  multipleInstance?: StoreInstance;
21
21
  /**
22
- * 多账号回填的数据
22
+ * 选择已登录账号回填的数据
23
23
  */
24
24
  backfillData?: BackFillMultipleState;
25
+ loginHint?: string;
25
26
  }
26
27
  export declare const LoginWithPassword: (props: LoginWithPasswordProps) => JSX.Element;
27
28
  export {};
@@ -2,26 +2,29 @@ import { FormInstance } from 'shim-antd/lib/form';
2
2
  import { React } from 'shim-react';
3
3
  import { BackFillMultipleState, LoginWay } from '../../Guard/core/hooks/useMultipleAccounts';
4
4
  /**
5
- * 多账号登录下 账户 & 登录方式自动回填
5
+ * 登录账号选择时:账户 & 登录方式自动回填
6
+ * oidc 时:login_hint 回填账号
7
+ *
6
8
  * TODO: HOOK 参数有时间整理成为对象,开始没有想到有这么多
7
9
  * 调用地方 core 中需要回填的两个登录方式
8
10
  */
9
- declare function useLoginMultipleBackFill(options: {
11
+ declare function useLoginAccountBackFill(options: {
10
12
  form: FormInstance<any>;
11
- way: LoginWay;
13
+ way: LoginWay | LoginWay[];
12
14
  formKey: string;
13
15
  backfillData?: BackFillMultipleState;
14
16
  isOnlyInternationSms?: boolean;
15
17
  setAreaCode?: React.Dispatch<React.SetStateAction<string>>;
16
18
  cancelBackfill?: boolean;
17
19
  changeCurrentMethod?: (account: string) => void;
20
+ loginHint?: string;
18
21
  }): void;
19
22
  /**
20
23
  * 多账号统一状态管理
21
24
  * @param setLoginWay
22
25
  * @returns
23
26
  */
24
- declare function useLoginMultiple(setLoginWay: React.Dispatch<any>): {
27
+ declare function useLoginSelectAccount(setLoginWay: React.Dispatch<any>): {
25
28
  isMultipleAccount: boolean;
26
29
  multipleInstance: {
27
30
  initStore: (appId: string, options: {
@@ -62,4 +65,4 @@ declare function useLoginMultiple(setLoginWay: React.Dispatch<any>): {
62
65
  backfillData: BackFillMultipleState | undefined;
63
66
  defaultQrWay: string | undefined;
64
67
  };
65
- export { useLoginMultipleBackFill, useLoginMultiple };
68
+ export { useLoginAccountBackFill, useLoginSelectAccount as useLoginMultiple };
@@ -1,7 +1,7 @@
1
1
  import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '../Type';
2
2
  import { AuthenticationClient, User } from 'authing-js-sdk';
3
3
  import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
4
- import { Agreement, LoginMethods, SocialConnectionProvider } from '../Type/application';
4
+ import { Agreement, LoginMethods, Protocol, SocialConnectionProvider } from '../Type/application';
5
5
  export interface LoginConfig extends IG2Config {
6
6
  autoRegister?: boolean;
7
7
  disableResetPwd?: boolean;
@@ -20,6 +20,7 @@ export interface LoginConfig extends IG2Config {
20
20
  * 关闭二维码状态check轮询(console上使用)
21
21
  */
22
22
  _closeLoopCheckQrcode?: boolean;
23
+ loginHint?: string;
23
24
  }
24
25
  export interface LoginEvents extends IG2Events {
25
26
  onLogin?: (user: User, authClient: AuthenticationClient) => void;
@@ -39,3 +40,5 @@ export interface GuardLoginInitData {
39
40
  _lockMethod?: string;
40
41
  }
41
42
  export declare const getDefaultLoginConfig: () => LoginConfig;
43
+ export declare const baseLoginPathMapping: Partial<Record<Protocol, string | null>>;
44
+ export declare const loginUrlFieldMapping: Partial<Record<Protocol, string>>;
@@ -7,7 +7,7 @@ interface VerifyCodeInputProps extends React.HTMLAttributes<HTMLDivElement> {
7
7
  onEenter?: Function;
8
8
  showDivider?: boolean;
9
9
  onChange?: any;
10
- value?: Array<number | string>;
10
+ value?: string;
11
11
  onFinish?: any;
12
12
  }
13
13
  export declare const VerifyCodeInput: React.FC<VerifyCodeInputProps>;
@@ -1,7 +1,9 @@
1
1
  import { React } from 'shim-react';
2
+ import { MFAType } from '../interface';
2
3
  interface BindPasskeyProps {
3
4
  mfaToken: string;
4
5
  mfaLogin: (code: any, data: any, message?: string) => void;
6
+ mfaConfigsMap: Map<MFAType, boolean>;
5
7
  }
6
8
  interface VerifyPasskeyProps {
7
9
  mfaToken: string;
@@ -0,0 +1,9 @@
1
+ import { React } from 'shim-react';
2
+ import './styles.less';
3
+ export interface MessageProps {
4
+ message?: React.ReactNode;
5
+ }
6
+ export interface GuardMessageProps {
7
+ initData?: MessageProps;
8
+ }
9
+ export declare const GuardMessageView: React.FC<MessageProps>;
@@ -1,5 +1,6 @@
1
1
  interface IG2SpinProps {
2
2
  size?: number;
3
+ className?: string;
3
4
  }
4
5
  export declare const ShieldSpin: (props: IG2SpinProps) => JSX.Element;
5
6
  export declare const Spin: () => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  export type Lang = 'zh-CN' | 'en-US' | 'zh-TW' | 'ja-JP';
2
- import { MFAType } from 'src/MFA/interface';
2
+ import { MFAType } from '../MFA/interface';
3
3
  import { PasswordStrength } from '../_utils';
4
4
  export * from 'authing-js-sdk';
5
5
  export declare enum LoginMethods {
@@ -13,6 +13,8 @@ export declare enum LoginMethods {
13
13
  WechatMpQrcode = "wechatmp-qrcode",// 微信扫码关注登录
14
14
  AuthingOtpPush = "authing-otp-push",// App 扫码登录
15
15
  WechatworkCorpQrconnect = "wechatwork-corp-qrconnect",// 微信企业扫码关注登录
16
+ WECHATWORKQRCONNECTOFAUTHINGAGENCY = "wechatwork-authing-agency-qrcode",// 代开发形式的以 authing 作为内部应用
17
+ WECHATWORKAGENCYQRCONNECT = "wechatwork-agency-qrcode",// 代开发形式的内部应用
16
18
  DingTalkQrcode = "dingtalk-qrcode",//钉钉扫码
17
19
  Passkey = "passkey",// passkey
18
20
  ZJZWFWQrcode = "zjzwfw-qrcode"
@@ -35,6 +37,8 @@ export declare enum SocialConnectionProvider {
35
37
  WECHATWORK_ADDRESS_BOOK = "wechatwork:addressbook",
36
38
  WECHATWORK_CORP_QRCONNECT = "wechatwork:corp:qrconnect",
37
39
  WECHATWORK_SERVICEPROVIDER_QRCONNECT = "wechatwork:service-provider:qrconnect",
40
+ WECHATWORK_QRCONNECT_OF_AUTHING_AGENCY = "wechatwork:qrconnect:of:authing:agency",// 代开发形式的以 authing 作为内部应用
41
+ WECHATWORK_AGENCY_QRCONNECT = "wechatwork:agency:qrconnect",// 代开发形式的内部应用
38
42
  DINGTALK = "dingtalk",
39
43
  WEIBO = "weibo",
40
44
  APPLE = "apple",
@@ -121,6 +125,7 @@ export interface QrCodeItem {
121
125
  id: string;
122
126
  title: string;
123
127
  isDefault?: boolean;
128
+ type?: LoginMethods;
124
129
  QRConfig?: {
125
130
  corpId: string;
126
131
  agentId: string;
@@ -322,6 +327,8 @@ export interface ApplicationConfig {
322
327
  enableCompletePassword: boolean;
323
328
  /** 是否开启手机密码注册手机号验证 */
324
329
  enabledPPRegisterValid?: boolean;
330
+ /** 是否开启邮箱域名匹配登录 */
331
+ enabledMatchEmailDomain?: boolean;
325
332
  /**
326
333
  * 登录注册排序
327
334
  */
@@ -377,4 +384,6 @@ export interface ApplicationConfig {
377
384
  switch: 'OFF' | 'ON' | 'CONDON';
378
385
  };
379
386
  };
387
+ /** 特殊浏览器匹配字符串 */
388
+ specialBrowserSymbols?: string[];
380
389
  }
@@ -82,7 +82,8 @@ export declare enum EmailScene {
82
82
  RESET_PASSWORD_VERIFY_CODE = "RESET_PASSWORD_VERIFY_CODE",
83
83
  EMAIL_BIND_VERIFY_CODE = "EMAIL_BIND_VERIFY_CODE",
84
84
  EMAIL_UNBIND_VERIFY_CODE = "EMAIL_UNBIND_VERIFY_CODE",
85
- SELF_UNLOCKING_VERIFY_CODE = "SELF_UNLOCKING_VERIFY_CODE"
85
+ SELF_UNLOCKING_VERIFY_CODE = "SELF_UNLOCKING_VERIFY_CODE",
86
+ VERIFY_CODE = "VERIFY_CODE"
86
87
  }
87
88
  export declare enum ForcedModifyPwdCycleUnit {
88
89
  Day = "DAY",
@@ -14,9 +14,9 @@ export declare const isEdgeBrowser: () => boolean;
14
14
  export declare const isWeiboBrowser: () => boolean | null;
15
15
  export declare const isAlipayBrowser: () => boolean | null;
16
16
  export declare const isBaiduBrowser: () => boolean | null;
17
- export declare const isWeComeBrowser: () => boolean;
18
- export declare const isMobile: () => RegExpMatchArray | null;
17
+ export declare const isWeComeBrowser: () => boolean | null;
18
+ export declare const isMobile: () => RegExpMatchArray | null | undefined;
19
19
  export declare const isWebview: () => boolean | null;
20
20
  export declare const isLenovoNetdisk: () => boolean | null;
21
- export declare const isSpecialBrowser: () => boolean;
21
+ export declare const computeIsSpecialBrowser: (specialBrowserSymbol?: string[]) => boolean;
22
22
  export declare const getPhoneInLoginPageContext: () => any;
@@ -101,6 +101,7 @@ export declare const useFetchConsoleConfig: (forceUpdate: number, appId?: string
101
101
  withCustomData?: boolean | undefined;
102
102
  } | undefined;
103
103
  _closeLoopCheckQrcode?: boolean | undefined;
104
+ loginHint?: string | undefined;
104
105
  goBack?: (() => void) | null | undefined;
105
106
  };
106
107
  guardPageConfig: GuardPageConfig;
@@ -49,6 +49,8 @@ export interface IGuardContext {
49
49
  defaultLanguageConfig: Lang;
50
50
  /** 租户信息获取和操作处理相关 */
51
51
  tenantInstance?: MultipleTenant;
52
+ /** 特殊浏览器,身份源无法弹窗,非托管模式不显示身份源图标 */
53
+ isSpecialBrowser: boolean;
52
54
  }
53
55
  export declare const createGuardXContext: () => {
54
56
  Provider: React.FC<{
@@ -76,6 +78,7 @@ export declare const useGuardButtonContext: () => {
76
78
  export declare const useGuardButtonState: () => IGuardContextProvider;
77
79
  export declare const useGuardPublicConfig: () => ApplicationConfig;
78
80
  export declare const useGuardHttpClient: () => GuardHttp;
81
+ export declare const useIsSpecialBrowser: () => boolean;
79
82
  export declare const useGuardDefaultMergedConfig: () => GuardLocalConfig;
80
83
  export declare const useGuardAppId: () => string;
81
84
  export declare const useGuardTenantId: () => string | undefined;
@@ -94,7 +97,7 @@ export declare const useGuardPageConfig: () => Partial<GuardPageConfig>;
94
97
  /**
95
98
  * 多账号登录 store 实例
96
99
  */
97
- export declare const useGuardMultipleInstance: () => {
100
+ export declare const useGuardAccountSelectInstance: () => {
98
101
  /**
99
102
  * 多账号相关
100
103
  */
@@ -19,7 +19,7 @@ export declare const requestClient: {
19
19
  setTenantId(tenantId: string): void;
20
20
  };
21
21
  export interface AuthingResponse<T = any> {
22
- code?: number;
22
+ code: number;
23
23
  statusCode?: number;
24
24
  apiCode?: number;
25
25
  data?: T;
@@ -1,5 +1,4 @@
1
1
  import { Rule } from 'shim-antd/lib/form';
2
- import qs from 'qs';
3
2
  import { User } from 'authing-js-sdk';
4
3
  import { GuardProps } from '../Guard';
5
4
  import { ApplicationConfig, ComplateFiledsPlace, LoginMethods, RegisterMethods, RegisterSortMethods, TabFieldsI18nItem } from '../Type/application';
@@ -34,12 +33,11 @@ export declare function isObject(item: any): any;
34
33
  */
35
34
  export declare function deepMerge<T extends object = any>(target: T, ...sources: any[]): T;
36
35
  /**
37
- * 在托管页下上传query中指定的用户自定义字段进行补全
38
- * @param params 指定上传的用户自定义字段
36
+ * @description 在托管页下上传query.login_page_context中指定的用户自定义字段进行补全(/oidc/auth发起的认证只会携带 login_page_context)
39
37
  */
40
- export declare const getUserRegisterParams: (params?: string[]) => {
38
+ export declare const getUserRegisterParams: () => {
41
39
  key: string;
42
- value: string | string[] | qs.ParsedQs | qs.ParsedQs[] | undefined;
40
+ value: any;
43
41
  }[];
44
42
  export declare enum PasswordStrength {
45
43
  NoCheck = 0,
@@ -22,6 +22,8 @@ export declare enum ApiCode {
22
22
  FLOW_SELECT_ACCOUNT = 2921,
23
23
  TENANT_PORTAL = 1644,
24
24
  SELECT_ACCOUNT_2_LOGIN = 2930,
25
- RESET_ACCOUNT_NAME = 1108
25
+ RESET_ACCOUNT_NAME = 1108,// 用户名重复
26
+ INVITE_EXPIRE = 4032,// 链接过期
27
+ INVITE_PAGE_EXPIRE = 4033
26
28
  }
27
29
  export declare const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react18",
3
- "version": "4.5.40-alpha.20",
3
+ "version": "4.5.40-alpha.21",
4
4
  "description": "Guard shim for react 18, only be used to internal",
5
5
  "types": "dist/typings/src/index.d.ts",
6
6
  "module": "dist/guard.min.js",