@jcbuisson/express-x 1.5.24 → 1.5.25

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/server.mjs +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jcbuisson/express-x",
3
- "version": "1.5.24",
3
+ "version": "1.5.25",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "src/index.mjs",
package/src/server.mjs CHANGED
@@ -9,7 +9,7 @@ import express from 'express'
9
9
  export function expressX(prisma, options = {}) {
10
10
 
11
11
  const app = express()
12
- app.set('prisma', prisma)
12
+ // app.set('prisma', prisma)
13
13
 
14
14
  if (options.ws === undefined) options.ws = { ws_prefix: "expressx" }
15
15
 
@@ -434,6 +434,7 @@ export function expressX(prisma, options = {}) {
434
434
 
435
435
  // enhance `app` with objects and methods
436
436
  return Object.assign(app, {
437
+ prisma,
437
438
  options,
438
439
  cnx2Socket,
439
440
  createDatabaseService,