ninchat-embed 2.1.0 → 2.1.1
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/README.md +5 -0
- package/dist/embed3.js +1 -1
- package/dist/embed3.js.map +1 -1
- package/dist/src/components/EmbedContext.d.ts +1 -0
- package/dist/src/components/EmbedContext.d.ts.map +1 -1
- package/dist/src/embed/schemas/index.d.ts +3 -0
- package/dist/src/embed/schemas/index.d.ts.map +1 -1
- package/dist/src/embed/utils/config/index.d.ts +1 -0
- package/dist/src/embed/utils/config/index.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -85,6 +85,7 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
|
|
|
85
85
|
| `sso.email` | `string` | User email (when type is 'email') (app variant) |
|
|
86
86
|
| `sso.name` | `string` | User name (alternative to email) (app variant) |
|
|
87
87
|
| `sso.type` | `'email'` | SSO type identifier (app variant) |
|
|
88
|
+
| `newSso` | `boolean` | Enable new SSO which redirect in parent page |
|
|
88
89
|
| `initialRoute` | `Route` | Initial route on application load (for app version only) (app variant) |
|
|
89
90
|
| `colorScheme` | `'light' \| 'dark'` | Color scheme preference (app variant) |
|
|
90
91
|
| `hideSidebar` | `boolean` | Hide application sidebar |
|
|
@@ -1544,6 +1545,10 @@ Ninchat.route(route)
|
|
|
1544
1545
|
|
|
1545
1546
|
## Release history
|
|
1546
1547
|
|
|
1548
|
+
### v2.1.1
|
|
1549
|
+
|
|
1550
|
+
- introduce newSso parameter to enable sso flow outside iframe
|
|
1551
|
+
|
|
1547
1552
|
### v2.1.0
|
|
1548
1553
|
|
|
1549
1554
|
- "app" version Sso flow refactor
|