@authing/guard-shim-react18 4.5.31-alpha.7 → 4.5.33-alpha.0

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.
@@ -13,6 +13,8 @@ export declare enum LoginMethods {
13
13
  WechatMpQrcode = "wechatmp-qrcode",
14
14
  AuthingOtpPush = "authing-otp-push",
15
15
  WechatworkCorpQrconnect = "wechatwork-corp-qrconnect",
16
+ WECHATWORKQRCONNECTOFAUTHINGAGENCY = "wechatwork-authing-agency-qrcode",
17
+ WECHATWORKAGENCYQRCONNECT = "wechatwork-agency-qrcode",
16
18
  DingTalkQrcode = "dingtalk-qrcode",
17
19
  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",
41
+ WECHATWORK_AGENCY_QRCONNECT = "wechatwork:agency:qrconnect",
38
42
  DINGTALK = "dingtalk",
39
43
  WEIBO = "weibo",
40
44
  APPLE = "apple",
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react18",
3
- "version": "4.5.31-alpha.7",
3
+ "version": "4.5.33-alpha.0",
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",