@prisma/adapter-pg 6.5.0-integration-fix-improve-global-omit-api-performance-2.1 → 6.5.0-integration-fix-improve-global-omit-api-performance-2.2

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/dist/index.js CHANGED
@@ -500,7 +500,7 @@ var PgTransactionContext = class extends PgQueryable {
500
500
  };
501
501
  var PrismaPg = class extends PgQueryable {
502
502
  constructor(client, options, release) {
503
- if (!(client instanceof import_pg2.default.Pool)) {
503
+ if (!client) {
504
504
  throw new TypeError(`PrismaPg must be initialized with an instance of Pool:
505
505
  import { Pool } from 'pg'
506
506
  const pool = new Pool({ connectionString: url })
package/dist/index.mjs CHANGED
@@ -464,7 +464,7 @@ var PgTransactionContext = class extends PgQueryable {
464
464
  };
465
465
  var PrismaPg = class extends PgQueryable {
466
466
  constructor(client, options, release) {
467
- if (!(client instanceof pg2.Pool)) {
467
+ if (!client) {
468
468
  throw new TypeError(`PrismaPg must be initialized with an instance of Pool:
469
469
  import { Pool } from 'pg'
470
470
  const pool = new Pool({ connectionString: url })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/adapter-pg",
3
- "version": "6.5.0-integration-fix-improve-global-omit-api-performance-2.1",
3
+ "version": "6.5.0-integration-fix-improve-global-omit-api-performance-2.2",
4
4
  "description": "Prisma's driver adapter for \"pg\"",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -32,10 +32,10 @@
32
32
  "sideEffects": false,
33
33
  "dependencies": {
34
34
  "postgres-array": "3.0.2",
35
- "@prisma/driver-adapter-utils": "6.5.0-integration-fix-improve-global-omit-api-performance-2.1"
35
+ "@prisma/driver-adapter-utils": "6.5.0-integration-fix-improve-global-omit-api-performance-2.2"
36
36
  },
37
37
  "devDependencies": {
38
- "@swc/core": "1.10.11",
38
+ "@swc/core": "1.11.5",
39
39
  "@swc/jest": "0.2.37",
40
40
  "@types/pg": "8.11.11",
41
41
  "jest": "29.7.0",