@cuecue/socketio 0.0.29 → 0.0.30
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/index.js +3 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -218,11 +218,11 @@ class BaseServer extends core.BasePlugin {
|
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
async onDestroy() {
|
|
221
|
-
await this.
|
|
221
|
+
await this.closeServer();
|
|
222
222
|
await super.onDestroy();
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
async
|
|
225
|
+
async createServer() {
|
|
226
226
|
const {
|
|
227
227
|
server,
|
|
228
228
|
port
|
|
@@ -234,7 +234,7 @@ class BaseServer extends core.BasePlugin {
|
|
|
234
234
|
return Promise.resolve();
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
async
|
|
237
|
+
async closeServer() {
|
|
238
238
|
this.io.off('connection', this.onConnection);
|
|
239
239
|
return new Promise(resolve => {
|
|
240
240
|
this.io.close(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuecue/socketio",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.30",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@babel/runtime": "^7.12.5",
|
|
43
|
-
"@cuecue/core": "^0.0.
|
|
43
|
+
"@cuecue/core": "^0.0.30",
|
|
44
44
|
"debug": "^4.3.1",
|
|
45
45
|
"lodash": "^4.17.20",
|
|
46
46
|
"socket.io": "^4.1.2",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "78c5a9302ba7d9bb047c70e174261989d6babf5a"
|
|
54
54
|
}
|