@evergis/api
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -26,2 +26,5 @@ import { HttpClient } from './__generated__/HttpClient'; | ||
init(params: AuthorizationData): Promise<void>; | ||
protected connectSp(params: AuthorizationData): Promise<void>; | ||
protected connectWs(): void; | ||
protected initScheduler(): void; | ||
} |
@@ -22,5 +22,5 @@ import { HttpClient } from './__generated__/HttpClient'; | ||
try { | ||
await this.security.login(params); | ||
await this.notification.connectWs(this.wsUrl, this.security.sessionId); | ||
await this.scheduler.init(this.notification); | ||
await this.connectSp(params); | ||
await this.connectWs(); | ||
this.initScheduler(); | ||
} | ||
@@ -31,3 +31,12 @@ catch (e) { | ||
} | ||
connectSp(params) { | ||
return this.security.login(params); | ||
} | ||
connectWs() { | ||
return this.notification.connectWs(this.wsUrl, this.security.sessionId); | ||
} | ||
initScheduler() { | ||
this.scheduler.init(this.notification); | ||
} | ||
} | ||
//# sourceMappingURL=Api.js.map |
{ | ||
"name": "@evergis/api", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "author": "everpoint", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
165318
3222