@nestjs/websockets 12.1.1 → 12.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/websockets",
3
- "version": "12.1.1",
3
+ "version": "12.1.2",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@websockets)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "license": "MIT",
@@ -26,8 +26,8 @@
26
26
  "tslib": "2.8.1"
27
27
  },
28
28
  "devDependencies": {
29
- "@nestjs/common": "12.1.1",
30
- "@nestjs/core": "12.1.1"
29
+ "@nestjs/common": "12.1.2",
30
+ "@nestjs/core": "12.1.2"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@nestjs/common": "^12.0.0",
@@ -41,5 +41,5 @@
41
41
  "optional": true
42
42
  }
43
43
  },
44
- "gitHead": "9feedffde8ef8c86f0cd521153740575dc579d88"
44
+ "gitHead": "8ab60aa1b2927fbe0e23135ffc65d610c623236a"
45
45
  }
@@ -226,7 +226,7 @@ export class WebSocketsController {
226
226
  const contextInstance = await this.injector.loadPerContext(instance, moduleRef, collection, contextId);
227
227
  this.assignServerToProperties(contextInstance, server);
228
228
  const scopedMethod = contextInstance[methodName];
229
- return scopedMethod?.apply(contextInstance, args);
229
+ return await scopedMethod?.apply(contextInstance, args);
230
230
  }
231
231
  catch (err) {
232
232
  if (!targetCallback) {