@prisma/driver-adapter-utils 8.1.0-dev.10 → 8.1.0-dev.12

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.d.mts CHANGED
@@ -379,6 +379,12 @@ export declare interface SqlResultSet {
379
379
  lastInsertId?: string;
380
380
  }
381
381
 
382
+ /**
383
+ * A transaction on one connection. The caller calls either `commit()` or `rollback()`, once,
384
+ * and sends nothing on the transaction afterwards. `commit()` is called only when no statement is
385
+ * running. `rollback()`, `rollbackToSavepoint()`, `releaseSavepoint()` and a `ROLLBACK` sent through
386
+ * `executeRaw` may be called while one is.
387
+ */
382
388
  export declare interface Transaction extends AdapterInfo, SqlQueryable {
383
389
  /**
384
390
  * Transaction options.
package/dist/index.d.ts CHANGED
@@ -379,6 +379,12 @@ export declare interface SqlResultSet {
379
379
  lastInsertId?: string;
380
380
  }
381
381
 
382
+ /**
383
+ * A transaction on one connection. The caller calls either `commit()` or `rollback()`, once,
384
+ * and sends nothing on the transaction afterwards. `commit()` is called only when no statement is
385
+ * running. `rollback()`, `rollbackToSavepoint()`, `releaseSavepoint()` and a `ROLLBACK` sent through
386
+ * `executeRaw` may be called while one is.
387
+ */
382
388
  export declare interface Transaction extends AdapterInfo, SqlQueryable {
383
389
  /**
384
390
  * Transaction options.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/driver-adapter-utils",
3
- "version": "8.1.0-dev.10",
3
+ "version": "8.1.0-dev.12",
4
4
  "description": "Internal set of utilities and types for Prisma's driver adapters.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -31,7 +31,7 @@
31
31
  "license": "Apache-2.0",
32
32
  "sideEffects": false,
33
33
  "dependencies": {
34
- "@prisma/debug": "8.1.0-dev.10"
34
+ "@prisma/debug": "8.1.0-dev.12"
35
35
  },
36
36
  "scripts": {
37
37
  "dev": "DEV=true tsx helpers/build.ts",