@prisma/adapter-pg 7.10.0-dev.30 → 7.10.0-dev.32

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
@@ -531,6 +531,7 @@ function mapDriverError(error) {
531
531
  user: error.message.split(" ").pop()?.split('"').at(1)
532
532
  };
533
533
  case "40001":
534
+ case "40P01":
534
535
  return {
535
536
  kind: "TransactionWriteConflict"
536
537
  };
package/dist/index.mjs CHANGED
@@ -495,6 +495,7 @@ function mapDriverError(error) {
495
495
  user: error.message.split(" ").pop()?.split('"').at(1)
496
496
  };
497
497
  case "40001":
498
+ case "40P01":
498
499
  return {
499
500
  kind: "TransactionWriteConflict"
500
501
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/adapter-pg",
3
- "version": "7.10.0-dev.30",
3
+ "version": "7.10.0-dev.32",
4
4
  "description": "Prisma's driver adapter for \"pg\"",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -34,10 +34,10 @@
34
34
  "pg": "^8.16.3",
35
35
  "postgres-array": "3.0.4",
36
36
  "@types/pg": "^8.16.0",
37
- "@prisma/driver-adapter-utils": "7.10.0-dev.30"
37
+ "@prisma/driver-adapter-utils": "7.10.0-dev.32"
38
38
  },
39
39
  "devDependencies": {
40
- "@prisma/debug": "7.10.0-dev.30"
40
+ "@prisma/debug": "7.10.0-dev.32"
41
41
  },
42
42
  "scripts": {
43
43
  "dev": "DEV=true tsx helpers/build.ts",