@jcbuisson/express-x 1.0.5 → 1.0.7

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,8 +1,9 @@
1
1
  {
2
2
  "name": "@jcbuisson/express-x",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "",
5
- "main": "src/index.js",
5
+ "type": "module",
6
+ "main": "src/index.mjs",
6
7
  "repository": {
7
8
  "type": "git",
8
9
  "url": "git@gitlab.com:buisson31/express-x.git"
@@ -201,7 +201,7 @@ function expressX(app) {
201
201
  }
202
202
  const result = await serviceMethod(context, ...args)
203
203
 
204
- io.emit('client-response', {
204
+ socket.emit('client-response', {
205
205
  uid,
206
206
  result,
207
207
  })