@jayfong/x-server 2.114.0 → 2.115.0

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.
File without changes
@@ -11,6 +11,8 @@ const adapter = new PrismaMariaDb({
11
11
  user: dbUri.username,
12
12
  password: dbUri.password,
13
13
  database: dbUri.pathname.slice(1),
14
+ // @ts-ignore
15
+ ...(x.env.PRISMA_ADAPTER_OPTIONS || {}),
14
16
  });
15
17
  export const prismaClient = new PrismaClient({ adapter })
16
18
  // https://github.com/prisma/prisma/issues/7550#issuecomment-2437006346
@@ -11,6 +11,8 @@ const adapter = new PrismaMariaDb({
11
11
  user: dbUri.username,
12
12
  password: dbUri.password,
13
13
  database: dbUri.pathname.slice(1),
14
+ // @ts-ignore
15
+ ...(x.env.PRISMA_ADAPTER_OPTIONS || {}),
14
16
  });
15
17
  export const prismaClient = new PrismaClient({ adapter })
16
18
  // https://github.com/prisma/prisma/issues/7550#issuecomment-2437006346
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jayfong/x-server",
3
- "version": "2.114.0",
3
+ "version": "2.115.0",
4
4
  "license": "ISC",
5
5
  "sideEffects": false,
6
6
  "main": "lib/_cjs/index.js",