@authing/guard-shim-react 4.5.6-alpha.7 → 4.5.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.
@@ -11,8 +11,6 @@ export declare enum LoginMethods {
11
11
  AD = "ad",
12
12
  WechatMpQrcode = "wechatmp-qrcode",
13
13
  AuthingOtpPush = "authing-otp-push",
14
- WechatworkCorpQrconnect = "wechatwork-corp-qrconnect",
15
- DingTalkQrcode = "dingtalk-qrcode",
16
14
  Passkey = "passkey"
17
15
  }
18
16
  export declare enum OIDCConnectionMode {
@@ -93,8 +91,6 @@ export interface ICasConnectionConfig {
93
91
  casConnectionLoginUrl: string;
94
92
  }
95
93
  export interface SocialConnectionItem {
96
- id: string;
97
- embedded: boolean;
98
94
  name: string;
99
95
  name_en: string;
100
96
  displayName: string;
@@ -119,13 +115,6 @@ export interface QrCodeItem {
119
115
  id: string;
120
116
  title: string;
121
117
  isDefault?: boolean;
122
- QRConfig?: {
123
- corpId: string;
124
- agentId: string;
125
- redirectUrl: string;
126
- identifier: string;
127
- clientId?: string;
128
- };
129
118
  }
130
119
  export declare type QrcodeTabsSettings = Record<LoginMethods, Array<QrCodeItem>>;
131
120
  export interface OidcClientMetadata {
@@ -269,8 +258,6 @@ export interface ApplicationConfig {
269
258
  displayName: string;
270
259
  logo: string;
271
260
  config: ISamlConnectionConfig | OIDCConnectionConfig | ICasConnectionConfig | IAzureAdConnectionConfig | IOAuthConnectionConfig;
272
- /** 是否开启内嵌模式 */
273
- embedded?: boolean;
274
261
  }[];
275
262
  ssoPageComponentDisplay: {
276
263
  autoRegisterThenLoginHintInfo: boolean;
@@ -77,8 +77,6 @@ export declare const getI18nLabel: (method: string | RegisterSortMethods, i18nFi
77
77
  export declare const getSortLabels: (methods: string[], i18nConfig: Map<string, TabFieldsI18nItem>, defaultLanguageConfig: Lang) => string;
78
78
  export declare const getSortTabs: (tabs: string[], tab?: string) => string[];
79
79
  export declare const isDisabled: (values: Record<string, any>, requireNames?: string[]) => boolean;
80
- export declare const isWeComOrigin: (event: MessageEvent) => boolean;
81
- export declare const isDingTalkOrigin: (origin: string) => boolean;
82
80
  export * from './popupCenter';
83
81
  export * from './clipboard';
84
82
  export * from './locales';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react",
3
- "version": "4.5.6-alpha.7",
3
+ "version": "4.5.6",
4
4
  "description": "Guard shim for react 16 / 17, only be used to internal",
5
5
  "types": "dist/typings/src/index.d.ts",
6
6
  "module": "dist/guard.min.js",
@@ -1 +0,0 @@
1
- export declare const LoginWithDingTalkQrcode: (props: any) => JSX.Element;
@@ -1 +0,0 @@
1
- export declare const LoginWithWeComQrcode: (props: any) => JSX.Element;