wt-front-shared 1.0.85 → 1.0.87

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.
@@ -1257,7 +1257,13 @@ class StaticDataSubRoutingGetRequest extends GetRequest {
1257
1257
  this.config = config;
1258
1258
  }
1259
1259
  get url() {
1260
- return `${this.domain}/api/static-data/${this.config.contentType}/r/${this.config.routing}/`;
1260
+ let queryString = '';
1261
+ if (this.config.data) {
1262
+ queryString = '?' + Object.keys(this.config.data)
1263
+ .map(field => `${field}=${this.config.data[field]}`)
1264
+ .join('&');
1265
+ }
1266
+ return `${this.domain}/api/static-data/${this.config.contentType}/r/${this.config.routing}/${queryString}`;
1261
1267
  }
1262
1268
  get headers() {
1263
1269
  return this.addAuthHeaders(this.config.headers);
@@ -6293,11 +6299,12 @@ class StaticDataFacade {
6293
6299
  }));
6294
6300
  });
6295
6301
  }
6296
- loadStaticDataSubRouting(contentType, routing) {
6302
+ loadStaticDataSubRouting(contentType, routing, data) {
6297
6303
  this.store.dispatch(StaticDataGetSubRouting({
6298
6304
  payload: {
6299
6305
  contentType,
6300
- routing
6306
+ routing,
6307
+ data
6301
6308
  }
6302
6309
  }));
6303
6310
  }
@@ -6482,7 +6489,7 @@ class WebsocketService {
6482
6489
  sessionKey: sessionKey,
6483
6490
  cookieKey: storageData.cookieKey || sessionKey,
6484
6491
  date: new Date()
6485
- }));
6492
+ }), 365);
6486
6493
  }
6487
6494
  sendMessageFromQueueTimer() {
6488
6495
  this.messageTimer = setInterval(() => {