@jcbuisson/express-x 1.0.9 → 1.0.10

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.mjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jcbuisson/express-x",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "src/index.mjs",
package/src/index.mjs CHANGED
@@ -169,7 +169,7 @@ function expressX(app) {
169
169
  }
170
170
  // store connection in cache
171
171
  connections[connection.id] = connection
172
- if (isDebug) console.log('active connections', connections.map(cnx => cnx.id))
172
+ if (isDebug) console.log('active connections', Object.keys(connections))
173
173
 
174
174
  // emit 'connection' event for app (expressjs extends EventEmitter)
175
175
  app.emit('connection', connection)