@prisma/client-engine-runtime 6.6.0-dev.8 → 6.6.0-dev.80

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.
@@ -1,20 +1,19 @@
1
- import { ErrorCapturingSqlConnection, ErrorCapturingTransaction } from '@prisma/driver-adapter-utils';
1
+ import { SqlDriverAdapter, Transaction } from '@prisma/driver-adapter-utils';
2
2
  import { Options, TransactionInfo } from './Transaction';
3
3
  export declare class TransactionManager {
4
4
  private transactions;
5
5
  private closedTransactions;
6
6
  private readonly driverAdapter;
7
7
  constructor({ driverAdapter }: {
8
- driverAdapter: ErrorCapturingSqlConnection;
8
+ driverAdapter: SqlDriverAdapter;
9
9
  });
10
10
  startTransaction(options: Options): Promise<TransactionInfo>;
11
11
  commitTransaction(transactionId: string): Promise<void>;
12
12
  rollbackTransaction(transactionId: string): Promise<void>;
13
- getTransaction(txInfo: TransactionInfo, operation: string): ErrorCapturingTransaction;
13
+ getTransaction(txInfo: TransactionInfo, operation: string): Transaction;
14
14
  private getActiveTransaction;
15
15
  cancelAllTransactions(): Promise<void>;
16
16
  private startTransactionTimeout;
17
17
  private closeTransaction;
18
18
  private validateOptions;
19
- private requiresSettingIsolationLevelFirst;
20
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-engine-runtime",
3
- "version": "6.6.0-dev.8",
3
+ "version": "6.6.0-dev.80",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -20,12 +20,17 @@
20
20
  "repository": {
21
21
  "type": "git",
22
22
  "url": "https://github.com/prisma/prisma.git",
23
- "directory": "packages/accelerate-contract"
23
+ "directory": "packages/client-engine-runtime"
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@prisma/debug": "6.6.0-dev.8",
28
- "@prisma/driver-adapter-utils": "6.6.0-dev.8"
27
+ "@bugsnag/cuid": "3.2.1",
28
+ "@paralleldrive/cuid2": "2.2.2",
29
+ "nanoid": "5.1.5",
30
+ "ulid": "3.0.0",
31
+ "uuid": "11.1.0",
32
+ "@prisma/debug": "6.6.0-dev.80",
33
+ "@prisma/driver-adapter-utils": "6.6.0-dev.80"
29
34
  },
30
35
  "devDependencies": {
31
36
  "@types/jest": "29.5.14",
@@ -1,10 +0,0 @@
1
- import { Value } from './scope';
2
- /**
3
- * A `QueryPlanDbQuery` in which all placeholders have been substituted with
4
- * their values from the environment.
5
- */
6
- export type QueryWithSubstitutedPlaceholders = {
7
- query: string;
8
- params: Value[];
9
- };
10
- export declare function renderQueryTemplate({ query, params, }: QueryWithSubstitutedPlaceholders): QueryWithSubstitutedPlaceholders;