@feathersjs/socket-commons
Advanced tools
Comparing version 3.1.1 to 3.1.2
# Change Log | ||
## [v3.1.1](https://github.com/feathersjs/socket-commons/tree/v3.1.1) (2017-12-06) | ||
[Full Changelog](https://github.com/feathersjs/socket-commons/compare/v3.1.0...v3.1.1) | ||
**Merged pull requests:** | ||
- Always use a combined channel [\#59](https://github.com/feathersjs/socket-commons/pull/59) ([daffl](https://github.com/daffl)) | ||
## [v3.1.0](https://github.com/feathersjs/socket-commons/tree/v3.1.0) (2017-12-06) | ||
@@ -4,0 +11,0 @@ [Full Changelog](https://github.com/feathersjs/socket-commons/compare/v3.0.1...v3.1.0) |
@@ -57,2 +57,6 @@ const debug = require('debug')('@feathersjs/socket-commons/channels'); | ||
Promise.resolve(callback(data, hook)).then(result => { | ||
if (!result) { | ||
return; | ||
} | ||
const results = Array.isArray(result) ? compact(flattenDeep(result)) : [ result ]; | ||
@@ -59,0 +63,0 @@ const channel = new CombinedChannel(results); |
{ | ||
"name": "@feathersjs/socket-commons", | ||
"description": "Shared functionality for websocket providers", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"homepage": "https://github.com/feathersjs/socket-commons", | ||
@@ -6,0 +6,0 @@ "main": "lib/", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34368
427