@cbm-common/cbm-types 0.0.94 → 0.0.95

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.
@@ -10,7 +10,7 @@ export interface CbmAuthData {
10
10
  company: CbmAuthData.Company;
11
11
  companyBranchData: CbmAuthData.CompanyBranchData;
12
12
  countries: CbmAuthData.Country[];
13
- roles: CbmAuthData.Role[];
13
+ roles: CbmAuthData.Role;
14
14
  modules: CbmAuthData.Module[];
15
15
  user_session_id: string;
16
16
  subscription: CbmAuthData.Subscription;
@@ -179,5 +179,7 @@ export declare namespace CbmConsoleTokenData {
179
179
  export declare enum LOCAL_STORAGE_KEY {
180
180
  TOKEN_GLOBAL_KEY = "tokenGlobal",
181
181
  TOKEN_USER_KEY = "tokenUser",
182
- CONSOLE_TOKEN_KEY = "consoleToken"
182
+ CONSOLE_TOKEN_KEY = "consoleToken",
183
+ TOKEN_INFO_KEY = "tokenInfo",
184
+ TOKEN_CONSOLE_INFO_KEY = "tokenConsoleInfo"
183
185
  }
@@ -8,9 +8,13 @@ export declare class CbmAuthService {
8
8
  private globalTokenData?;
9
9
  private userTokenData?;
10
10
  private consoleTokenData?;
11
+ private tokenInfoData?;
12
+ private tokenConsoleInfoData?;
11
13
  set authToken(token: string);
12
14
  set userToken(token: string);
13
15
  set consoleToken(token: string);
16
+ set tokenInfo(token: string);
17
+ set tokenConsoleInfo(token: string);
14
18
  get authData(): CbmAuthData;
15
19
  get userData(): CbmTokenUserData;
16
20
  get consoleData(): CbmConsoleTokenData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cbm-common/cbm-types",
3
- "version": "0.0.94",
3
+ "version": "0.0.95",
4
4
  "main": "index.js",
5
5
  "types": "public-api.d.ts",
6
6
  "exports": {