mftsccs-browser 2.2.1-beta → 2.2.2-beta

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.
@@ -1,9 +1,4 @@
1
1
  export declare class TokenStorage {
2
- private static _accessToken;
3
- private static _sessionId;
4
- static set BearerAccessToken(token: string);
5
- static get BearerAccessToken(): string;
6
- static set sessionId(id: number);
7
- static get sessionId(): number;
8
- static clear(): void;
2
+ static BearerAccessToken: string;
3
+ static sessionId: number;
9
4
  }
@@ -155,7 +155,7 @@ declare function updateAccessToken(accessToken?: string, session?: any): void;
155
155
  * @param applicationName This is an unique name that is given to a program. Use this to discern one indexdb from another.
156
156
  * @param enableSW {activate: boolean, scope?: string, pathToSW?: string, manual?: boolean} | undefined - This is for enabling service worker with its scope
157
157
  */
158
- declare function init(url?: string, aiurl?: string, accessToken?: string, nodeUrl?: string, accessControlUrl?: string, enableAi?: boolean, applicationName?: string, enableSW?: {
158
+ declare function init(url?: string, aiurl?: string, accessToken?: string, nodeUrl?: string, enableAi?: boolean, applicationName?: string, enableSW?: {
159
159
  activate: boolean;
160
160
  scope?: string;
161
161
  pathToSW?: string;
@@ -167,7 +167,7 @@ declare function init(url?: string, aiurl?: string, accessToken?: string, nodeUr
167
167
  isTest?: boolean;
168
168
  }, parameters?: {
169
169
  logserver?: string;
170
- }): Promise<true | undefined>;
170
+ }, accessControlUrl?: string): Promise<true | undefined>;
171
171
  /**
172
172
  * Method to send message to the service worker from main thread
173
173
  * @param type string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mftsccs-browser",
3
- "version": "2.2.1-beta",
3
+ "version": "2.2.2-beta",
4
4
  "environment": "production",
5
5
  "description": "Full Pack of concept and connection system",
6
6
  "main": "dist/main.bundle.js",