@nestjs/websockets 12.0.1 → 12.0.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.
|
@@ -48,7 +48,8 @@ export class WsContextCreator {
|
|
|
48
48
|
};
|
|
49
49
|
const targetPattern = this.reflectCallbackPattern(callback);
|
|
50
50
|
return this.wsProxy.create(async (...args) => {
|
|
51
|
-
|
|
51
|
+
// The pattern is already appended by `WsProxy` before this callback runs,
|
|
52
|
+
// so it is the last element of `args` at this point.
|
|
52
53
|
const initialArgs = this.contextUtils.createNullArray(argsLength);
|
|
53
54
|
fnCanActivate && (await fnCanActivate(args));
|
|
54
55
|
return this.interceptorsConsumer.intercept(interceptors, args, instance, callback, handler(initialArgs, args), contextType);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/websockets",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.3",
|
|
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.0.
|
|
30
|
-
"@nestjs/core": "12.0.
|
|
29
|
+
"@nestjs/common": "12.0.3",
|
|
30
|
+
"@nestjs/core": "12.0.3"
|
|
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": "
|
|
44
|
+
"gitHead": "14151790e1abe870abc3bbf00f88786fc3ebe509"
|
|
45
45
|
}
|