@webitel/ui-sdk 25.12.2 → 25.12.4

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": "25.12.2",
3
+ "version": "25.12.4",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run lint:fix || true) && npm run publish-lib",
@@ -129,7 +129,7 @@ export const createUserAccessStore = ({
129
129
  access: rawVisibilityAccess,
130
130
  }: CreateUserAccessStoreRawAccess) => {
131
131
  // Enable bypass mode if access data is null/undefined
132
- // bypassMode.value = rawVisibilityAccess === null;
132
+ bypassMode.value = rawVisibilityAccess === null;
133
133
 
134
134
  globalAccess.value = makeGlobalAccessMap(rawGlobalAccess);
135
135
  scopeAccess.value = makeScopeAccessMap(rawScopeAccess);
@@ -5,7 +5,7 @@ import { ref } from 'vue';
5
5
  import { getSession, getUiVisibilityAccess, logout } from '../api/UserinfoAPI';
6
6
  import { createUserAccessStore } from './accessStore';
7
7
 
8
- export const createUserinfoStore = (thisApp: string = null) => {
8
+ export const createUserinfoStore = () => {
9
9
  const namespace = 'userinfo';
10
10
  const useAccessStore = createUserAccessStore({
11
11
  namespace,
@@ -61,7 +61,6 @@ export const createUserinfoStore = (thisApp: string = null) => {
61
61
 
62
62
  return {
63
63
  userId,
64
- thisApp,
65
64
  userInfo,
66
65
  initialize,
67
66
 
@@ -1,6 +1,5 @@
1
- export declare const createUserinfoStore: (thisApp?: string) => import("pinia").StoreDefinition<"userinfo", Pick<{
1
+ export declare const createUserinfoStore: () => import("pinia").StoreDefinition<"userinfo", Pick<{
2
2
  userId: import("vue").Ref<any, any>;
3
- thisApp: string;
4
3
  userInfo: import("vue").Ref<any, any>;
5
4
  initialize: () => Promise<void>;
6
5
  hasReadAccess: (object?: import("../../../../enums").WtObject) => boolean;
@@ -14,7 +13,6 @@ export declare const createUserinfoStore: (thisApp?: string) => import("pinia").
14
13
  logoutUser: () => Promise<void>;
15
14
  }, any>, Pick<{
16
15
  userId: import("vue").Ref<any, any>;
17
- thisApp: string;
18
16
  userInfo: import("vue").Ref<any, any>;
19
17
  initialize: () => Promise<void>;
20
18
  hasReadAccess: (object?: import("../../../../enums").WtObject) => boolean;
@@ -28,7 +26,6 @@ export declare const createUserinfoStore: (thisApp?: string) => import("pinia").
28
26
  logoutUser: () => Promise<void>;
29
27
  }, any>, Pick<{
30
28
  userId: import("vue").Ref<any, any>;
31
- thisApp: string;
32
29
  userInfo: import("vue").Ref<any, any>;
33
30
  initialize: () => Promise<void>;
34
31
  hasReadAccess: (object?: import("../../../../enums").WtObject) => boolean;