@azteam/express 1.2.504 → 1.2.506
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.
- package/lib/Server.js +1 -1
- package/package.json +2 -2
- package/src/Server.js +1 -1
package/lib/Server.js
CHANGED
|
@@ -446,7 +446,7 @@ var Server = /*#__PURE__*/function () {
|
|
|
446
446
|
httpServer.on('request', app);
|
|
447
447
|
var whiteList = this.options.whiteList;
|
|
448
448
|
var io = new _socket.Server(httpServer, {
|
|
449
|
-
wsEngine: 'eiows',
|
|
449
|
+
wsEngine: require('eiows').Server,
|
|
450
450
|
perMessageDeflate: {
|
|
451
451
|
threshold: 32768
|
|
452
452
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azteam/express",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.506",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "toda <sp.azsolution.net@gmail.com>",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"compression": "1.7.4",
|
|
23
23
|
"cookie-parser": "1.4.4",
|
|
24
24
|
"cors": "2.8.4",
|
|
25
|
-
"eiows": "
|
|
25
|
+
"eiows": "7.1.2",
|
|
26
26
|
"ejs": "3.1.8",
|
|
27
27
|
"etag": "1.8.1",
|
|
28
28
|
"express": "4.17.1",
|