@midwayjs/socketio 4.0.0-beta.6 → 4.0.0-beta.8

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.
@@ -2,7 +2,6 @@ import { BaseFramework, CommonMiddlewareUnion, ContextMiddlewareManager } from '
2
2
  import { Application, IMidwaySocketIOOptions, Context, NextFunction } from './interface';
3
3
  export declare class MidwaySocketIOFramework extends BaseFramework<Application, Context, IMidwaySocketIOOptions> {
4
4
  private namespaceList;
5
- app: Application;
6
5
  protected connectionMiddlewareManager: ContextMiddlewareManager<Context, unknown, unknown>;
7
6
  configure(): IMidwaySocketIOOptions;
8
7
  applicationInitialize(): Promise<void>;
package/dist/framework.js CHANGED
@@ -13,11 +13,8 @@ const debug = (0, util_1.debuglog)('midway:socket.io');
13
13
  const socket_io_1 = require("socket.io");
14
14
  const core_2 = require("@midwayjs/core");
15
15
  let MidwaySocketIOFramework = class MidwaySocketIOFramework extends core_1.BaseFramework {
16
- constructor() {
17
- super(...arguments);
18
- this.namespaceList = [];
19
- this.connectionMiddlewareManager = this.createMiddlewareManager();
20
- }
16
+ namespaceList = [];
17
+ connectionMiddlewareManager = this.createMiddlewareManager();
21
18
  configure() {
22
19
  return this.configService.getConfiguration('socketIO');
23
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/socketio",
3
- "version": "4.0.0-beta.6",
3
+ "version": "4.0.0-beta.8",
4
4
  "description": "Midway Web Framework for socket.io",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "license": "MIT",
26
26
  "devDependencies": {
27
- "@midwayjs/core": "^4.0.0-beta.6",
27
+ "@midwayjs/core": "^4.0.0-beta.8",
28
28
  "fs-extra": "11.3.0",
29
29
  "socket.io-client": "4.8.1"
30
30
  },
@@ -39,5 +39,5 @@
39
39
  "engines": {
40
40
  "node": ">=20"
41
41
  },
42
- "gitHead": "a02425777d044ec502d050993bc256dc26d5b586"
42
+ "gitHead": "355e55949fdd132b0bdcb4830222a0a027e92ded"
43
43
  }