@cuecue/socketio 0.0.30 → 0.0.31

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -225,9 +225,12 @@ class BaseServer extends core.BasePlugin {
225
225
  async createServer() {
226
226
  const {
227
227
  server,
228
- port
228
+ port,
229
+ cors
229
230
  } = this.options;
230
- const ioOptions = {};
231
+ const ioOptions = {
232
+ cors
233
+ };
231
234
  this.io = io__default["default"](ioOptions);
232
235
  this.io.on('connection', this.onConnection);
233
236
  this.io.listen(server || port);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuecue/socketio",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
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.30",
43
+ "@cuecue/core": "^0.0.31",
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": "78c5a9302ba7d9bb047c70e174261989d6babf5a"
53
+ "gitHead": "bc6f4b36d80e298f4f70cb3f581f5bf3f856dadd"
54
54
  }