@prisma/client-engine-runtime 6.5.0-integration-fix-e2e-prisma-config-2.9 → 6.5.0-integration-fix-client-read-replicas.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.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { DriverAdapter } from '@prisma/driver-adapter-utils';
2
- import { Queryable } from '@prisma/driver-adapter-utils';
3
- import { Transaction } from '@prisma/driver-adapter-utils';
1
+ import { ErrorCapturingSqlConnection } from '@prisma/driver-adapter-utils';
2
+ import { ErrorCapturingSqlQueryable } from '@prisma/driver-adapter-utils';
3
+ import { ErrorCapturingTransaction } from '@prisma/driver-adapter-utils';
4
4
 
5
5
  export declare const enum IsolationLevel {
6
6
  ReadUncommitted = "ReadUncommitted",
@@ -43,7 +43,7 @@ export declare class QueryInterpreter {
43
43
  }
44
44
 
45
45
  export declare type QueryInterpreterOptions = {
46
- queryable: Queryable;
46
+ queryable: ErrorCapturingSqlQueryable;
47
47
  placeholderValues: Record<string, unknown>;
48
48
  onQuery?: (event: QueryEvent) => void;
49
49
  };
@@ -121,12 +121,12 @@ export declare class TransactionManager {
121
121
  private closedTransactions;
122
122
  private readonly driverAdapter;
123
123
  constructor({ driverAdapter }: {
124
- driverAdapter: DriverAdapter;
124
+ driverAdapter: ErrorCapturingSqlConnection;
125
125
  });
126
126
  startTransaction(options: TransactionOptions): Promise<TransactionInfo>;
127
127
  commitTransaction(transactionId: string): Promise<void>;
128
128
  rollbackTransaction(transactionId: string): Promise<void>;
129
- getTransaction(txInfo: TransactionInfo, operation: string): Transaction;
129
+ getTransaction(txInfo: TransactionInfo, operation: string): ErrorCapturingTransaction;
130
130
  private getActiveTransaction;
131
131
  cancelAllTransactions(): Promise<void>;
132
132
  private startTransactionTimeout;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { DriverAdapter } from '@prisma/driver-adapter-utils';
2
- import { Queryable } from '@prisma/driver-adapter-utils';
3
- import { Transaction } from '@prisma/driver-adapter-utils';
1
+ import { ErrorCapturingSqlConnection } from '@prisma/driver-adapter-utils';
2
+ import { ErrorCapturingSqlQueryable } from '@prisma/driver-adapter-utils';
3
+ import { ErrorCapturingTransaction } from '@prisma/driver-adapter-utils';
4
4
 
5
5
  export declare const enum IsolationLevel {
6
6
  ReadUncommitted = "ReadUncommitted",
@@ -43,7 +43,7 @@ export declare class QueryInterpreter {
43
43
  }
44
44
 
45
45
  export declare type QueryInterpreterOptions = {
46
- queryable: Queryable;
46
+ queryable: ErrorCapturingSqlQueryable;
47
47
  placeholderValues: Record<string, unknown>;
48
48
  onQuery?: (event: QueryEvent) => void;
49
49
  };
@@ -121,12 +121,12 @@ export declare class TransactionManager {
121
121
  private closedTransactions;
122
122
  private readonly driverAdapter;
123
123
  constructor({ driverAdapter }: {
124
- driverAdapter: DriverAdapter;
124
+ driverAdapter: ErrorCapturingSqlConnection;
125
125
  });
126
126
  startTransaction(options: TransactionOptions): Promise<TransactionInfo>;
127
127
  commitTransaction(transactionId: string): Promise<void>;
128
128
  rollbackTransaction(transactionId: string): Promise<void>;
129
- getTransaction(txInfo: TransactionInfo, operation: string): Transaction;
129
+ getTransaction(txInfo: TransactionInfo, operation: string): ErrorCapturingTransaction;
130
130
  private getActiveTransaction;
131
131
  cancelAllTransactions(): Promise<void>;
132
132
  private startTransactionTimeout;
@@ -1,8 +1,8 @@
1
- import { Queryable } from '@prisma/driver-adapter-utils';
1
+ import { ErrorCapturingSqlQueryable } from '@prisma/driver-adapter-utils';
2
2
  import { QueryEvent } from '../events';
3
3
  import { QueryPlanNode } from '../QueryPlan';
4
4
  export type QueryInterpreterOptions = {
5
- queryable: Queryable;
5
+ queryable: ErrorCapturingSqlQueryable;
6
6
  placeholderValues: Record<string, unknown>;
7
7
  onQuery?: (event: QueryEvent) => void;
8
8
  };
@@ -1,4 +1,4 @@
1
- import { Query } from '@prisma/driver-adapter-utils';
1
+ import { SqlQuery } from '@prisma/driver-adapter-utils';
2
2
  import { QueryPlanDbQuery } from '../QueryPlan';
3
3
  import { ScopeBindings } from './scope';
4
- export declare function renderQuery({ query, params }: QueryPlanDbQuery, scope: ScopeBindings): Query;
4
+ export declare function renderQuery({ query, params }: QueryPlanDbQuery, scope: ScopeBindings): SqlQuery;
@@ -1,2 +1,2 @@
1
- import type { ResultSet } from '@prisma/driver-adapter-utils';
2
- export declare function serialize(resultSet: ResultSet): Record<string, unknown>[];
1
+ import type { SqlResultSet } from '@prisma/driver-adapter-utils';
2
+ export declare function serialize(resultSet: SqlResultSet): Record<string, unknown>[];
@@ -1,16 +1,16 @@
1
- import { DriverAdapter, Transaction } from '@prisma/driver-adapter-utils';
1
+ import { ErrorCapturingSqlConnection, ErrorCapturingTransaction } 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: DriverAdapter;
8
+ driverAdapter: ErrorCapturingSqlConnection;
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): Transaction;
13
+ getTransaction(txInfo: TransactionInfo, operation: string): ErrorCapturingTransaction;
14
14
  private getActiveTransaction;
15
15
  cancelAllTransactions(): Promise<void>;
16
16
  private startTransactionTimeout;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-engine-runtime",
3
- "version": "6.5.0-integration-fix-e2e-prisma-config-2.9",
3
+ "version": "6.5.0-integration-fix-client-read-replicas.2",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -24,12 +24,12 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@prisma/debug": "6.5.0-integration-fix-e2e-prisma-config-2.9",
28
- "@prisma/driver-adapter-utils": "6.5.0-integration-fix-e2e-prisma-config-2.9"
27
+ "@prisma/debug": "6.5.0-integration-fix-client-read-replicas.2",
28
+ "@prisma/driver-adapter-utils": "6.5.0-integration-fix-client-read-replicas.2"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/jest": "29.5.14",
32
- "@types/node": "18.19.31",
32
+ "@types/node": "18.19.76",
33
33
  "jest": "29.7.0",
34
34
  "jest-junit": "16.0.0"
35
35
  },