http-request-manager 18.5.13 → 18.5.15
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.
|
@@ -4156,7 +4156,7 @@ class StateDataRequestService extends HTTPManagerStateService {
|
|
|
4156
4156
|
this.path = ['ai', 'tests'];
|
|
4157
4157
|
this.wsChannel = 'WS-USERS';
|
|
4158
4158
|
}
|
|
4159
|
-
updateConnection(server, wsServer, jwtToken, user, path = ['ai', 'tests']) {
|
|
4159
|
+
updateConnection(server, wsServer, jwtToken, user, path = ['ai', 'tests'], wsChannel = '') {
|
|
4160
4160
|
this.path = path;
|
|
4161
4161
|
this.setApiRequestOptions({
|
|
4162
4162
|
server,
|
|
@@ -4166,7 +4166,7 @@ class StateDataRequestService extends HTTPManagerStateService {
|
|
|
4166
4166
|
}),
|
|
4167
4167
|
adapter: OIDCClient.adapt,
|
|
4168
4168
|
ws: {
|
|
4169
|
-
id:
|
|
4169
|
+
id: wsChannel,
|
|
4170
4170
|
wsServer,
|
|
4171
4171
|
jwtToken,
|
|
4172
4172
|
user, // general info about user
|
|
@@ -4230,7 +4230,7 @@ class WsDataControlComponent {
|
|
|
4230
4230
|
};
|
|
4231
4231
|
}
|
|
4232
4232
|
ngOnInit() {
|
|
4233
|
-
this.stateDataRequestService.updateConnection(this.server, this.wsServer, this.jwtToken, this.user, this.path);
|
|
4233
|
+
this.stateDataRequestService.updateConnection(this.server, this.wsServer, this.jwtToken, this.user, this.path, this.wsChannel);
|
|
4234
4234
|
this.stateDataRequestService.getData();
|
|
4235
4235
|
}
|
|
4236
4236
|
onGetData() {
|