@prisma/client-engine-runtime 6.7.0-dev.43 → 6.7.0-dev.45

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
@@ -707,7 +707,7 @@ var QueryInterpreter = class _QueryInterpreter {
707
707
  }
708
708
  const transactionManager = this.#transactionManager.manager;
709
709
  const transactionInfo = await transactionManager.startTransaction();
710
- const transaction = transactionManager.getTransaction(transactionInfo, "new");
710
+ const transaction = transactionManager.getTransaction(transactionInfo, "query");
711
711
  try {
712
712
  const value = await this.interpretNode(node.args, transaction, scope, generators);
713
713
  await transactionManager.commitTransaction(transactionInfo.id);
@@ -843,7 +843,7 @@ var TransactionClosedError = class extends TransactionManagerError {
843
843
  };
844
844
  var TransactionRolledBackError = class extends TransactionManagerError {
845
845
  constructor(operation) {
846
- super(`Transaction already closed: A ${operation} cannot be executed on a committed transaction`);
846
+ super(`Transaction already closed: A ${operation} cannot be executed on a transaction that was rolled back`);
847
847
  }
848
848
  };
849
849
  var TransactionStartTimeoutError = class extends TransactionManagerError {
package/dist/index.mjs CHANGED
@@ -665,7 +665,7 @@ var QueryInterpreter = class _QueryInterpreter {
665
665
  }
666
666
  const transactionManager = this.#transactionManager.manager;
667
667
  const transactionInfo = await transactionManager.startTransaction();
668
- const transaction = transactionManager.getTransaction(transactionInfo, "new");
668
+ const transaction = transactionManager.getTransaction(transactionInfo, "query");
669
669
  try {
670
670
  const value = await this.interpretNode(node.args, transaction, scope, generators);
671
671
  await transactionManager.commitTransaction(transactionInfo.id);
@@ -801,7 +801,7 @@ var TransactionClosedError = class extends TransactionManagerError {
801
801
  };
802
802
  var TransactionRolledBackError = class extends TransactionManagerError {
803
803
  constructor(operation) {
804
- super(`Transaction already closed: A ${operation} cannot be executed on a committed transaction`);
804
+ super(`Transaction already closed: A ${operation} cannot be executed on a transaction that was rolled back`);
805
805
  }
806
806
  };
807
807
  var TransactionStartTimeoutError = class extends TransactionManagerError {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-engine-runtime",
3
- "version": "6.7.0-dev.43",
3
+ "version": "6.7.0-dev.45",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -30,8 +30,8 @@
30
30
  "nanoid": "5.1.5",
31
31
  "ulid": "3.0.0",
32
32
  "uuid": "11.1.0",
33
- "@prisma/debug": "6.7.0-dev.43",
34
- "@prisma/driver-adapter-utils": "6.7.0-dev.43"
33
+ "@prisma/debug": "6.7.0-dev.45",
34
+ "@prisma/driver-adapter-utils": "6.7.0-dev.45"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/jest": "29.5.14",