@wireapp/api-client 27.75.8 → 27.75.9

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.
@@ -216,11 +216,11 @@ class WebSocketClient extends events_1.EventEmitter {
216
216
  queryParams.append('client', this.clientId);
217
217
  }
218
218
  const queryString = queryParams.toString();
219
- this.logger.info(`WebSocket URL: ${this.baseUrl}${this.versionPrefix}/events?${queryString}`);
220
- if (this.useLegacySocket) {
221
- return `${this.baseUrl}/await?${queryString}`;
222
- }
223
- return `${this.baseUrl}${this.versionPrefix}/events?${queryString}`;
219
+ const websocketAddress = this.useLegacySocket
220
+ ? `${this.baseUrl}/await?${queryString}`
221
+ : `${this.baseUrl}${this.versionPrefix}/events?${queryString}`;
222
+ this.logger.info(`WebSocket URL: ${websocketAddress}`);
223
+ return websocketAddress;
224
224
  }
225
225
  useAsyncNotificationsSocket() {
226
226
  this.useLegacySocket = false;
package/package.json CHANGED
@@ -15,8 +15,8 @@
15
15
  "dependencies": {
16
16
  "@aws-sdk/client-s3": "3.873.0",
17
17
  "@aws-sdk/lib-storage": "3.893.0",
18
- "@wireapp/commons": "^5.4.4",
19
- "@wireapp/priority-queue": "^2.1.11",
18
+ "@wireapp/commons": "^5.4.5",
19
+ "@wireapp/priority-queue": "^2.1.12",
20
20
  "@wireapp/protocol-messaging": "1.53.0",
21
21
  "axios": "1.12.2",
22
22
  "axios-retry": "4.5.0",
@@ -41,8 +41,8 @@
41
41
  "@types/spark-md5": "3.0.5",
42
42
  "@types/tough-cookie": "4.0.5",
43
43
  "@types/ws": "8.5.14",
44
- "@wireapp/store-engine": "^5.1.11",
45
- "@wireapp/store-engine-fs": "^3.1.13",
44
+ "@wireapp/store-engine": "^5.1.12",
45
+ "@wireapp/store-engine-fs": "^3.1.14",
46
46
  "browser-sync": "3.0.4",
47
47
  "concurrently": "9.2.1",
48
48
  "cross-env": "10.0.0",
@@ -70,6 +70,6 @@
70
70
  "watch": "webpack serve --config webpack.browser.js",
71
71
  "prepare": "yarn dist"
72
72
  },
73
- "version": "27.75.8",
74
- "gitHead": "89820218f89ce47603504ccd2941ee80be38bef3"
73
+ "version": "27.75.9",
74
+ "gitHead": "0d407542b36f5092749216ded20daf5a7ad18acd"
75
75
  }