@midwayjs/socketio 3.11.1 → 3.11.3
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/dist/framework.js +1 -1
- package/package.json +3 -3
package/dist/framework.js
CHANGED
|
@@ -121,7 +121,7 @@ let MidwaySocketIOFramework = class MidwaySocketIOFramework extends core_1.BaseF
|
|
|
121
121
|
// 监听和处理其它非`@OnWSConnection`的逻辑
|
|
122
122
|
const wsRestEventInfos = wsEventInfos.filter(wsEventInfo => wsEventInfo.eventType !== core_2.WSEventTypeEnum.ON_CONNECTION);
|
|
123
123
|
if (wsRestEventInfos.length) {
|
|
124
|
-
for (const wsEventInfo of
|
|
124
|
+
for (const wsEventInfo of wsRestEventInfos) {
|
|
125
125
|
methodMap[wsEventInfo.propertyName] = methodMap[wsEventInfo.propertyName] || { responseEvents: [] };
|
|
126
126
|
if (wsEventInfo.eventType === core_2.WSEventTypeEnum.ON_MESSAGE) {
|
|
127
127
|
// on user custom event
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/socketio",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.3",
|
|
4
4
|
"description": "Midway Web Framework for socket.io",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
],
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@midwayjs/mock": "^3.11.
|
|
27
|
+
"@midwayjs/mock": "^3.11.3",
|
|
28
28
|
"fs-extra": "10.1.0",
|
|
29
29
|
"socket.io-client": "4.6.1"
|
|
30
30
|
},
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=12"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "1dedbeefabfadd9f4978c57cd280727d04718d4a"
|
|
46
46
|
}
|