@wireapp/api-client 27.75.8 → 27.75.10
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
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
}
|
|
223
|
-
return
|
|
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
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"./lib/shims/node/websocket": "./lib/shims/browser/websocket.js"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@aws-sdk/client-s3": "3.
|
|
17
|
-
"@aws-sdk/lib-storage": "3.
|
|
18
|
-
"@wireapp/commons": "^5.4.
|
|
19
|
-
"@wireapp/priority-queue": "^2.1.
|
|
16
|
+
"@aws-sdk/client-s3": "3.896.0",
|
|
17
|
+
"@aws-sdk/lib-storage": "3.896.0",
|
|
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.
|
|
45
|
-
"@wireapp/store-engine-fs": "^3.1.
|
|
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.
|
|
74
|
-
"gitHead": "
|
|
73
|
+
"version": "27.75.10",
|
|
74
|
+
"gitHead": "5433f593c182f20b2d3aaabacd841a5b2f22e1f3"
|
|
75
75
|
}
|