@authing/react-ui-components 4.0.6-rc.0 → 4.0.6-ynby.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/react-ui-components",
3
- "version": "4.0.6-rc.0",
3
+ "version": "4.0.6-ynby.0",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "types/index.d.ts",
@@ -15,7 +15,7 @@ interface WorkQrCodeProps extends Omit<UiQrProps, 'description' | 'status'> {
15
15
  /**
16
16
  * 二维码场景
17
17
  */
18
- scene: 'WXAPP_AUTH' | 'APP_AUTH' | 'WECHATMP_AUTH';
18
+ scene: 'WXAPP_AUTH' | 'APP_AUTH' | 'WECHATMP_AUTH' | 'LANDRAY_AUTH';
19
19
  /**
20
20
  * 不同状态请求文字
21
21
  */
@@ -7,7 +7,8 @@ export declare enum LoginMethods {
7
7
  PhoneCode = "phone-code",
8
8
  WxMinQr = "wechat-miniprogram-qrcode",
9
9
  AD = "ad",
10
- WechatMpQrcode = "wechatmp-qrcode"
10
+ WechatMpQrcode = "wechatmp-qrcode",
11
+ Landray = "landray"
11
12
  }
12
13
  export declare enum OIDCConnectionMode {
13
14
  FRONT_CHANNEL = "FRONT_CHANNEL",
@@ -2,7 +2,7 @@
2
2
  import { GuardComponentConfig, GuardLocalConfig } from '../../Guard/config';
3
3
  import { GuardHttp } from '../guardHttp';
4
4
  import { GuardPageConfig } from '../../Type';
5
- import { ApplicationConfig, RegisterMethods } from '../../Type/application';
5
+ import { ApplicationConfig, LoginMethods, RegisterMethods } from '../../Type/application';
6
6
  export declare const getPublicConfig: (appId: string) => ApplicationConfig;
7
7
  export declare const setPublicConfig: (appId: string, config: ApplicationConfig) => ApplicationConfig;
8
8
  export declare const useMergeDefaultConfig: (defaultConfig: GuardLocalConfig, config?: GuardComponentConfig | undefined) => GuardLocalConfig | undefined;
@@ -38,8 +38,8 @@ export declare const useMergePublicConfig: (forceUpdate: number, appId?: string
38
38
  __unAuthFlow__?: boolean | undefined;
39
39
  autoRegister?: boolean | undefined;
40
40
  disableResetPwd?: boolean | undefined;
41
- defaultLoginMethod?: import("../../Type").LoginMethods | undefined;
42
- loginMethods?: import("../../Type").LoginMethods[] | undefined;
41
+ defaultLoginMethod?: LoginMethods | undefined;
42
+ loginMethods?: LoginMethods[] | undefined;
43
43
  passwordLoginMethods?: import("../../Type").PasswordLoginMethods[] | undefined;
44
44
  socialConnections?: import("authing-js-sdk").SocialConnectionProvider[] | undefined;
45
45
  socialConnectionsBtnShape?: "default" | "button" | "icon" | undefined;
@@ -1,2 +1,2 @@
1
- declare const _default: "4.0.6-rc.0";
1
+ declare const _default: "4.0.6-ynby.0";
2
2
  export default _default;