@frontegg/types 6.178.0-alpha.3 → 6.179.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.
@@ -20,6 +20,12 @@ export interface AuthOptions extends Partial<Omit<AuthState, 'routes'>> {
20
20
  * Origins that are allowed to clear idle session timeout from
21
21
  */
22
22
  clearIdleTimeoutAllowedOrigins?: string[];
23
+ /**
24
+ * Advanced options for social logins flow
25
+ */
26
+ socialLoginOptions?: {
27
+ promptConsent?: boolean;
28
+ };
23
29
  /**
24
30
  * Advanced options for hosted login mode
25
31
  */
@@ -38,7 +38,6 @@ export interface SocialLoginsThemeOptions extends BaseThemeOptions, SocialLogins
38
38
  containerStyle?: ExtendedCSSProperties;
39
39
  buttonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
40
40
  iconsOnly?: boolean;
41
- promptConsent?: boolean;
42
41
  googleIcon?: SocialLoginCustomComponent<'googleIcon'>;
43
42
  googleButtonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
44
43
  microsoftIcon?: SocialLoginCustomComponent<'microsoftIcon'>;
@@ -62,7 +61,6 @@ export interface SocialLoginsTheme extends BaseTheme {
62
61
  containerStyle?: ExtendedCSSProperties;
63
62
  buttonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
64
63
  iconsOnly?: boolean;
65
- promptConsent?: boolean;
66
64
  googleIcon?: SocialLoginCustomComponent<'googleIcon'>;
67
65
  googleButtonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
68
66
  microsoftIcon?: SocialLoginCustomComponent<'microsoftIcon'>;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.178.0-alpha.3
1
+ /** @license Frontegg v6.179.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.178.0-alpha.3
1
+ /** @license Frontegg v6.179.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@frontegg/types",
3
- "version": "6.178.0-alpha.3",
3
+ "version": "6.179.0",
4
4
  "main": "./node/index.js",
5
5
  "author": "Frontegg LTD",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
8
  "@babel/runtime": "^7.18.6",
9
- "@frontegg/redux-store": "6.178.0-alpha.3",
9
+ "@frontegg/redux-store": "6.179.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },