@nestjs/websockets
Advanced tools
Comparing version 6.10.12 to 6.10.13
{ | ||
"name": "@nestjs/websockets", | ||
"version": "6.10.12", | ||
"version": "6.10.13", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@websockets)", | ||
@@ -5,0 +5,0 @@ "author": "Kamil Mysliwiec", |
@@ -10,2 +10,3 @@ "use strict"; | ||
const gateway_metadata_explorer_1 = require("./gateway-metadata-explorer"); | ||
const compare_element_util_1 = require("./utils/compare-element.util"); | ||
class WebSocketsController { | ||
@@ -65,3 +66,3 @@ constructor(socketServerProvider, config, contextCreator) { | ||
event | ||
.pipe(operators_1.distinctUntilChanged()) | ||
.pipe(operators_1.distinctUntilChanged((prev, curr) => compare_element_util_1.compareElementAt(prev, curr, 0))) | ||
.subscribe((args) => instance.handleConnection(...args)); | ||
@@ -68,0 +69,0 @@ } |
64015
85
1180