@feathersjs/socketio
Advanced tools
Comparing version 5.0.0-pre.28 to 5.0.0-pre.29
@@ -6,2 +6,13 @@ # Change Log | ||
# [5.0.0-pre.29](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.28...v5.0.0-pre.29) (2022-09-16) | ||
### Bug Fixes | ||
* **socketio:** Reinitialize hooks on overriden setup method ([#2722](https://github.com/feathersjs/feathers/issues/2722)) ([5e8e7c4](https://github.com/feathersjs/feathers/commit/5e8e7c442238fdc929a0a36b8b8ca2b230ce761f)) | ||
# [5.0.0-pre.28](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.27...v5.0.0-pre.28) (2022-08-03) | ||
@@ -8,0 +19,0 @@ |
@@ -9,2 +9,3 @@ "use strict"; | ||
const transport_commons_1 = require("@feathersjs/transport-commons"); | ||
const hooks_1 = require("@feathersjs/hooks"); | ||
const middleware_1 = require("./middleware"); | ||
@@ -61,2 +62,5 @@ const debug = (0, commons_1.createDebug)('@feathersjs/socketio'); | ||
}); | ||
(0, hooks_1.hooks)(app, { | ||
setup: (0, hooks_1.middleware)().params('server').props({ app }) | ||
}); | ||
}); | ||
@@ -63,0 +67,0 @@ app.configure((0, transport_commons_1.socket)({ |
{ | ||
"name": "@feathersjs/socketio", | ||
"description": "The Feathers Socket.io real-time API provider", | ||
"version": "5.0.0-pre.28", | ||
"version": "5.0.0-pre.29", | ||
"homepage": "https://feathersjs.com", | ||
@@ -56,20 +56,21 @@ "main": "lib/", | ||
"dependencies": { | ||
"@feathersjs/commons": "^5.0.0-pre.28", | ||
"@feathersjs/feathers": "^5.0.0-pre.28", | ||
"@feathersjs/transport-commons": "^5.0.0-pre.28", | ||
"socket.io": "^4.5.1" | ||
"@feathersjs/commons": "^5.0.0-pre.29", | ||
"@feathersjs/feathers": "^5.0.0-pre.29", | ||
"@feathersjs/hooks": "^0.7.5", | ||
"@feathersjs/transport-commons": "^5.0.0-pre.29", | ||
"socket.io": "^4.5.2" | ||
}, | ||
"devDependencies": { | ||
"@feathersjs/express": "^5.0.0-pre.28", | ||
"@feathersjs/memory": "^5.0.0-pre.28", | ||
"@feathersjs/tests": "^5.0.0-pre.28", | ||
"@feathersjs/express": "^5.0.0-pre.29", | ||
"@feathersjs/memory": "^5.0.0-pre.29", | ||
"@feathersjs/tests": "^5.0.0-pre.29", | ||
"@types/mocha": "^9.1.1", | ||
"@types/node": "^18.6.3", | ||
"@types/node": "^18.7.17", | ||
"lodash": "^4.17.21", | ||
"mocha": "^10.0.0", | ||
"shx": "^0.3.4", | ||
"socket.io-client": "^4.5.1", | ||
"typescript": "^4.7.4" | ||
"socket.io-client": "^4.5.2", | ||
"typescript": "^4.8.3" | ||
}, | ||
"gitHead": "bf8e54fddc14d688ba8f505e72c9630a71656ff1" | ||
"gitHead": "4314dc89a41a8bbaabf00b47697bf7887861d17d" | ||
} |
@@ -6,2 +6,3 @@ import http from 'http' | ||
import { socket } from '@feathersjs/transport-commons' | ||
import { hooks, middleware } from '@feathersjs/hooks' | ||
@@ -91,2 +92,6 @@ import { disconnect, params, authentication, FeathersSocket } from './middleware' | ||
}) | ||
hooks(app, { | ||
setup: middleware().params('server').props({ app }) | ||
}) | ||
}) | ||
@@ -93,0 +98,0 @@ |
Sorry, the diff of this file is not supported yet
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
56717
287
5
+ Added@feathersjs/hooks@^0.7.5
+ Added@feathersjs/hooks@0.7.6(transitive)
Updatedsocket.io@^4.5.2