@xsolla/login-sdk
Advanced tools
Comparing version 0.88.2 to 0.89.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [0.89.0](https://gitlab.loc/xsolla-login/login-widget-ng/compare/v0.88.2...v0.89.0) (2023-10-26) | ||
**Note:** Version bump only for package @xsolla/login-sdk | ||
## [0.88.2](https://gitlab.loc/xsolla-login/login-widget-ng/compare/v0.87.1...v0.88.2) (2023-10-18) | ||
@@ -8,0 +16,0 @@ |
@@ -38,2 +38,3 @@ import { CancelTokenSource } from 'axios'; | ||
mode?: 'external_oauth2'; | ||
appleIdPriority?: boolean; | ||
} | ||
@@ -40,0 +41,0 @@ export interface SettingsResponse extends Config { |
{ | ||
"name": "@xsolla/login-sdk", | ||
"version": "0.88.2", | ||
"version": "0.89.0", | ||
"description": "Xsolla Login Javascript SDK", | ||
@@ -5,0 +5,0 @@ "author": "Xsolla Login Team <xl@xsolla.com>", |
@@ -194,2 +194,3 @@ # Xsolla Login widget SDK | ||
- [Connecting OAuth 2.0 protocol](#connecting-oauth-20-protocol) | ||
- [Prioritize Apple ID social login](#prioritize-apple-id-social-login) | ||
- [Opening widget 2.0 pages](#opening-widget-20-pages) | ||
@@ -252,2 +253,13 @@ | ||
### Prioritize Apple ID social login | ||
You can show Apple ID social login option at the first position by enabling the parameter below: | ||
```js | ||
import { Widget } from '@xsolla/login-sdk'; | ||
const xl = new Widget({ | ||
appleIdPriority: true | ||
}); | ||
``` | ||
### Opening widget 2.0 pages | ||
@@ -350,2 +362,2 @@ | ||
You can reuse the settings in the files and display the same widget on different settings. The settings URL is specified in the widget initialization code. To connect JSON with widget settings, follow the [instruction](https://developers.xsolla.com/doc/login/customization/connect-json-with-widget/). | ||
You can reuse the settings in the files and display the same widget on different settings. The settings URL is specified in the widget initialization code. To connect JSON with widget settings, follow the [instruction](https://developers.xsolla.com/doc/login/customization/connect-json-with-widget/). |
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 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
1224530
10546
360