@webitel/ui-sdk 24.4.13 → 24.4.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "24.4.13",
3
+ "version": "24.4.14",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -126,7 +126,7 @@ export default class UserinfoStoreModule extends BaseStoreModule {
126
126
  }
127
127
  },
128
128
 
129
- LOGOUT: async (context, { authUrl = import.meta.env.VITE_AUTH_URL }) => {
129
+ LOGOUT: async (context, { authUrl = import.meta.env.VITE_AUTH_URL } = {}) => {
130
130
  if (!authUrl) throw new Error('No authUrl for LOGOUT provided');
131
131
  await userinfo.logout();
132
132
  window.location.href = authUrl;