prisma 5.20.0-dev.12 → 5.20.0-dev.14

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.
@@ -115,12 +115,6 @@ declare type BatchTransactionOptions = {
115
115
  isolationLevel?: Transaction_2.IsolationLevel;
116
116
  };
117
117
 
118
- declare type BinaryTargetFileMap = {
119
- [binaryTarget: string]: () => string;
120
- };
121
-
122
- declare type BinaryTargetFileMapLoad = () => Promise<BinaryTargetFileMap>;
123
-
124
118
  declare interface BinaryTargetsEnvValue {
125
119
  fromEnvVar: string | null;
126
120
  value: string;
@@ -878,7 +872,7 @@ export declare interface DriverAdapter extends Queryable {
878
872
  /**
879
873
  * Starts new transaction.
880
874
  */
881
- startTransaction(): Promise<Result_4<Transaction>>;
875
+ transactionContext(): Promise<Result_4<TransactionContext>>;
882
876
  /**
883
877
  * Optional method that returns extra connection info
884
878
  */
@@ -1107,10 +1101,6 @@ declare interface EngineConfig {
1107
1101
  * Web Assembly module loading configuration
1108
1102
  */
1109
1103
  engineWasm?: WasmLoadingConfig;
1110
- /**
1111
- * Loads the mapping from binary targets to a file path
1112
- */
1113
- loadNativeEnginesMap: BinaryTargetFileMapLoad;
1114
1104
  /**
1115
1105
  * Allows Accelerate to use runtime utilities from the client. These are
1116
1106
  * necessary for the AccelerateEngine to function correctly.
@@ -1664,10 +1654,6 @@ declare type GetPrismaClientConfig = {
1664
1654
  * Optional wasm loading configuration
1665
1655
  */
1666
1656
  engineWasm?: WasmLoadingConfig;
1667
- /**
1668
- * Loader for mapping between binary target and file on disk
1669
- */
1670
- loadBinaryTargetFileMap: BinaryTargetFileMapLoad;
1671
1657
  };
1672
1658
 
1673
1659
  export declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', ClientOptions = {}> = {
@@ -3229,6 +3215,13 @@ declare namespace Transaction_2 {
3229
3215
  }
3230
3216
  }
3231
3217
 
3218
+ declare interface TransactionContext extends Queryable {
3219
+ /**
3220
+ * Starts new transaction.
3221
+ */
3222
+ startTransaction(): Promise<Result_4<Transaction>>;
3223
+ }
3224
+
3232
3225
  declare type TransactionHeaders = {
3233
3226
  traceparent?: string;
3234
3227
  };