@authing/guard-shim-react18 5.3.9-alpha.1 → 5.3.9-alpha.11

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.
@@ -19,7 +19,7 @@ export declare class Guard {
19
19
  * @param el String
20
20
  * @returns Promise
21
21
  */
22
- start(el?: string | HTMLElement): Promise<User>;
22
+ start(el?: string | HTMLElement, visible?: boolean): Promise<User>;
23
23
  startRegister(): void;
24
24
  checkLoginStatus(): Promise<JwtTokenStatus | undefined>;
25
25
  changeLang(lang: Lang): void;
@@ -1,22 +1,22 @@
1
1
  import { GuardEventsKebabToCamelType, Lang, GuardProps, GuardLocalConfig, CodeAction, ApiCode, GuardModuleType, LoginMethods, OIDCConnectionMode, SocialConnectionProvider, Protocol, RegisterMethods, GuardMode, InputMethod, GuardPageSene, EmailScene, SceneType } from '@authing/react18-ui-components';
2
2
  import { CSSProperties } from 'react';
3
- export declare type ICodeAction = `${CodeAction}`;
4
- export declare type IApiCode = `${ApiCode}`;
5
- export declare type IGuardModuleType = `${GuardModuleType}`;
6
- export declare type ILoginMethod = `${LoginMethods}`;
7
- export declare type IOIDCConnectionMode = `${OIDCConnectionMode}`;
8
- export declare type ISocialConnectionProvider = `${SocialConnectionProvider}`;
9
- export declare type IProtocol = `${Protocol}`;
10
- export declare type IRegisterMethod = `${RegisterMethods}`;
11
- export declare type IGuardMode = `${GuardMode}`;
12
- export declare type IInputMethod = `${InputMethod}`;
13
- export declare type IGuardPageSene = `${GuardPageSene}`;
14
- export declare type IEmailScene = `${EmailScene}`;
15
- export declare type ISceneType = `${SceneType}`;
16
- export declare type GuardEventListeners = {
3
+ export type ICodeAction = `${CodeAction}`;
4
+ export type IApiCode = `${ApiCode}`;
5
+ export type IGuardModuleType = `${GuardModuleType}`;
6
+ export type ILoginMethod = `${LoginMethods}`;
7
+ export type IOIDCConnectionMode = `${OIDCConnectionMode}`;
8
+ export type ISocialConnectionProvider = `${SocialConnectionProvider}`;
9
+ export type IProtocol = `${Protocol}`;
10
+ export type IRegisterMethod = `${RegisterMethods}`;
11
+ export type IGuardMode = `${GuardMode}`;
12
+ export type IInputMethod = `${InputMethod}`;
13
+ export type IGuardPageSene = `${GuardPageSene}`;
14
+ export type IEmailScene = `${EmailScene}`;
15
+ export type ISceneType = `${SceneType}`;
16
+ export type GuardEventListeners = {
17
17
  [key in keyof GuardEventsKebabToCamelType]: Exclude<Required<GuardEventsKebabToCamelType>[key], undefined>[];
18
18
  };
19
- export declare type CodeChallengeMethod = 'S256' | 'plain';
19
+ export type CodeChallengeMethod = 'S256' | 'plain';
20
20
  export interface IGuardConfig extends GuardLocalConfig {
21
21
  socialConnectionList?: ISocialConnectionProvider[];
22
22
  loginMethod?: ILoginMethod;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react18",
3
- "version": "5.3.9-alpha.1",
3
+ "version": "5.3.9-alpha.11",
4
4
  "description": "Guard shim for react18",
5
5
  "module": "dist/esm/guard.min.js",
6
6
  "types": "dist/typings/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  "webpack": "^5.72.0"
26
26
  },
27
27
  "dependencies": {
28
- "@authing/react18-ui-components": "^4.5.24",
28
+ "@authing/react18-ui-components": "4.5.40-alpha.19",
29
29
  "react": "^18.0.0",
30
30
  "react-dom": "^18.0.0"
31
31
  },