@authing/react-ui-components 4.4.3-ey.2 → 4.4.3-ey.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/react-ui-components",
3
- "version": "4.4.3-ey.2",
3
+ "version": "4.4.3-ey.4",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "types/index.d.ts",
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const LoginWithWeComQrcode: (props: any) => JSX.Element;
@@ -10,7 +10,8 @@ export declare enum LoginMethods {
10
10
  WxMinQr = "wechat-miniprogram-qrcode",
11
11
  AD = "ad",
12
12
  WechatMpQrcode = "wechatmp-qrcode",
13
- AuthingOtpPush = "authing-otp-push"
13
+ AuthingOtpPush = "authing-otp-push",
14
+ WechatworkCorpQrconnect = "wechatwork-service-provider-qrconnect"
14
15
  }
15
16
  export declare enum OIDCConnectionMode {
16
17
  FRONT_CHANNEL = "FRONT_CHANNEL",
@@ -114,6 +115,12 @@ export interface QrCodeItem {
114
115
  id: string;
115
116
  title: string;
116
117
  isDefault?: boolean;
118
+ QRConfig?: {
119
+ corpId: string;
120
+ agentId: string;
121
+ redirectUrl: string;
122
+ identifier: string;
123
+ };
117
124
  }
118
125
  export declare type QrcodeTabsSettings = Record<LoginMethods, Array<QrCodeItem>>;
119
126
  export interface OidcClientMetadata {
@@ -97,3 +97,4 @@ export declare const regexFromString: (string: string) => RegExp | null;
97
97
  export declare const getI18nLabel: (method: string | RegisterSortMethods, i18nFields: Map<string, TabFieldsI18nItem>, defaultLanguageConfig: Lang) => string;
98
98
  export declare const getSortLabels: (methods: string[], i18nConfig: Map<string, TabFieldsI18nItem>, defaultLanguageConfig: Lang) => string;
99
99
  export declare const getSortTabs: (tabs: string[], tab?: string | undefined) => string[];
100
+ export declare const isWeComOrigin: (event: MessageEvent) => boolean;
@@ -1,2 +1,2 @@
1
- declare const _default: "4.4.3-ey.2";
1
+ declare const _default: "4.4.3-ey.4";
2
2
  export default _default;