@xsolla/login-sdk
Advanced tools
Comparing version 0.86.3 to 0.87.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.87.0](https://gitlab.loc/xsolla-login/login-widget-ng/compare/v1.425.1...v0.87.0) (2023-09-14) | ||
### Features | ||
* add Custom Identity provider ([9964b5f](https://gitlab.loc/xsolla-login/login-widget-ng/commit/9964b5f)) | ||
## [0.86.3](https://gitlab.loc/xsolla-login/login-widget-ng/compare/v1.425.1...v0.86.3) (2023-09-01) | ||
@@ -8,0 +19,0 @@ |
@@ -30,2 +30,7 @@ import { UserInfo } from './api/types'; | ||
width?: string; | ||
customIdentityProviderButton?: { | ||
backgroundColor: string; | ||
displayName: string; | ||
logoUrl: string; | ||
}; | ||
} | ||
@@ -179,3 +184,3 @@ export declare type FieldType = 'email' | 'str' | 'pass' | 'date' | 'select' | 'bool' | 'phone' | 'multi-select'; | ||
type: typeof PostMessageEvents.SocialLogin; | ||
socialName: Socials; | ||
socialName: Socials | string; | ||
url: string; | ||
@@ -182,0 +187,0 @@ } |
@@ -53,3 +53,3 @@ export declare enum Socials { | ||
export interface SocialLink { | ||
name: Socials; | ||
name: Socials | string; | ||
jwt: string; | ||
@@ -59,6 +59,7 @@ oauth2: string; | ||
interface SocialLinkParsed { | ||
name: Socials; | ||
name: Socials | string; | ||
url: string; | ||
} | ||
interface SocialList { | ||
custom?: SocialLink; | ||
primary: Array<SocialLink>; | ||
@@ -68,9 +69,8 @@ secondary: Array<SocialLink>; | ||
export interface OldSocialList { | ||
custom?: SocialLinkParsed; | ||
primary: Array<SocialLinkParsed>; | ||
secondary: Array<SocialLinkParsed>; | ||
} | ||
export interface SocialListParsed { | ||
primary: Array<SocialLinkParsed>; | ||
secondary: Array<SocialLinkParsed>; | ||
other: Array<SocialLinkParsed>; | ||
export interface SocialListParsed extends OldSocialList { | ||
all: Array<SocialLinkParsed>; | ||
showOtherLink: boolean; | ||
@@ -77,0 +77,0 @@ } |
{ | ||
"name": "@xsolla/login-sdk", | ||
"version": "0.86.3", | ||
"version": "0.87.0", | ||
"description": "Xsolla Login Javascript SDK", | ||
@@ -5,0 +5,0 @@ "author": "Xsolla Login Team <xl@xsolla.com>", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1222807
10542