@nestjs/websockets 11.2.0 → 11.2.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": "11.2.0",
3
+ "version": "11.2.2",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@websockets)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "license": "MIT",
@@ -18,8 +18,8 @@
18
18
  "tslib": "2.8.1"
19
19
  },
20
20
  "devDependencies": {
21
- "@nestjs/common": "11.2.0",
22
- "@nestjs/core": "11.2.0"
21
+ "@nestjs/common": "11.2.2",
22
+ "@nestjs/core": "11.2.2"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "@nestjs/common": "^11.0.0",
@@ -33,5 +33,5 @@
33
33
  "optional": true
34
34
  }
35
35
  },
36
- "gitHead": "f2a7e4b1f57193cbbfe34e988276fc0eaf0b6eb5"
36
+ "gitHead": "7e65752ba4e396adbe8387b21eeaeeea27f467b1"
37
37
  }
@@ -1,16 +0,0 @@
1
- import { PipeTransform, Type } from '@nestjs/common';
2
- /**
3
- * WebSockets pattern parameter decorator.
4
- * Extracts the subscribed message pattern from the current ws event.
5
- *
6
- * @example
7
- * ```typescript
8
- * @SubscribeMessage('events')
9
- * onEvent(@WsPattern() pattern: string) {
10
- * return { event: pattern, data: 'ok' };
11
- * }
12
- * ```
13
- *
14
- * @publicApi
15
- */
16
- export declare function WsPattern(...pipes: (Type<PipeTransform> | PipeTransform)[]): ParameterDecorator;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WsPattern = WsPattern;
4
- const ws_paramtype_enum_1 = require("../enums/ws-paramtype.enum");
5
- const param_utils_1 = require("../utils/param.utils");
6
- /**
7
- * WebSockets pattern parameter decorator.
8
- * Extracts the subscribed message pattern from the current ws event.
9
- *
10
- * @example
11
- * ```typescript
12
- * @SubscribeMessage('events')
13
- * onEvent(@WsPattern() pattern: string) {
14
- * return { event: pattern, data: 'ok' };
15
- * }
16
- * ```
17
- *
18
- * @publicApi
19
- */
20
- function WsPattern(...pipes) {
21
- return (0, param_utils_1.createPipesWsParamDecorator)(ws_paramtype_enum_1.WsParamtype.PATTERN)(undefined, ...pipes);
22
- }
package/internal.d.ts DELETED
@@ -1,8 +0,0 @@
1
- /**
2
- * Internal module - not part of the public API.
3
- * These exports are used by sibling @nestjs packages.
4
- * Do not depend on these in your application code.
5
- * @internal
6
- * @module
7
- */
8
- export * from './constants.js';
package/internal.js DELETED
@@ -1,8 +0,0 @@
1
- /**
2
- * Internal module - not part of the public API.
3
- * These exports are used by sibling @nestjs packages.
4
- * Do not depend on these in your application code.
5
- * @internal
6
- * @module
7
- */
8
- export * from './constants.js';