@prisma/client 7.7.0 → 7.8.0-dev.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.
@@ -5216,7 +5216,7 @@ var import_path4 = __toESM(require("path"));
5216
5216
  // package.json
5217
5217
  var package_default = {
5218
5218
  name: "@prisma/client",
5219
- version: "7.7.0",
5219
+ version: "7.8.0-dev.2",
5220
5220
  description: "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
5221
5221
  keywords: [
5222
5222
  "ORM",
@@ -10328,10 +10328,13 @@ function batchingTransactionDefinition(context) {
10328
10328
  Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions).
10329
10329
  `
10330
10330
  ).addGenericParameter(genericParameter("P").extends(array(prismaPromise(anyType)))).addParameter(parameter("arg", arraySpread(namedType("P")))).setReturnType(promise(namedType("runtime.Types.Utils.UnwrapTuple").addGenericArgument(namedType("P"))));
10331
+ const options2 = objectType().formatInline();
10332
+ options2.add(property("maxWait", numberType).optional());
10333
+ options2.add(property("timeout", numberType).optional());
10331
10334
  if (context.dmmf.hasEnumInNamespace("TransactionIsolationLevel", "prisma")) {
10332
- const options2 = objectType().formatInline().add(property("isolationLevel", namedType("Prisma.TransactionIsolationLevel")).optional());
10333
- method2.addParameter(parameter("options", options2).optional());
10335
+ options2.add(property("isolationLevel", namedType("Prisma.TransactionIsolationLevel")).optional());
10334
10336
  }
10337
+ method2.addParameter(parameter("options", options2).optional());
10335
10338
  return stringify(method2, { indentLevel: 1, newLine: "leading" });
10336
10339
  }
10337
10340
  function interactiveTransactionDefinition(context) {
@@ -11731,7 +11734,7 @@ var import_node_path4 = __toESM(require("node:path"));
11731
11734
  var import_engines_version = __toESM(require_engines_version());
11732
11735
 
11733
11736
  // ../client-generator-js/package.json
11734
- var version = "7.7.0";
11737
+ var version = "7.8.0-dev.2";
11735
11738
 
11736
11739
  // ../client-generator-js/src/resolvePrismaClient.ts
11737
11740
  var import_promises5 = __toESM(require("node:fs/promises"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client",
3
- "version": "7.7.0",
3
+ "version": "7.8.0-dev.2",
4
4
  "description": "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
5
5
  "keywords": [
6
6
  "ORM",
@@ -218,41 +218,41 @@
218
218
  "typescript": "5.4.5",
219
219
  "undici": "7.4.0",
220
220
  "zx": "8.4.1",
221
- "@prisma/adapter-better-sqlite3": "7.7.0",
222
- "@prisma/adapter-d1": "7.7.0",
223
- "@prisma/adapter-libsql": "7.7.0",
224
- "@prisma/adapter-mariadb": "7.7.0",
225
- "@prisma/adapter-mssql": "7.7.0",
226
- "@prisma/adapter-neon": "7.7.0",
227
- "@prisma/adapter-pg": "7.7.0",
228
- "@prisma/client-common": "7.7.0",
229
- "@prisma/adapter-planetscale": "7.7.0",
230
- "@prisma/client-engine-runtime": "7.7.0",
231
- "@prisma/client-generator-js": "7.7.0",
232
- "@prisma/client-generator-ts": "7.7.0",
233
- "@prisma/debug": "7.7.0",
234
- "@prisma/config": "7.7.0",
235
- "@prisma/dmmf": "7.7.0",
236
- "@prisma/driver-adapter-utils": "7.7.0",
237
- "@prisma/engines": "7.7.0",
238
- "@prisma/fetch-engine": "7.7.0",
239
- "@prisma/generator": "7.7.0",
240
- "@prisma/instrumentation": "7.7.0",
241
- "@prisma/instrumentation-contract": "7.7.0",
242
- "@prisma/generator-helper": "7.7.0",
243
- "@prisma/get-platform": "7.7.0",
244
- "@prisma/internals": "7.7.0",
245
- "@prisma/json-protocol": "7.7.0",
246
- "@prisma/param-graph": "7.7.0",
247
- "@prisma/sqlcommenter": "7.7.0",
248
- "@prisma/migrate": "7.7.0",
249
- "@prisma/param-graph-builder": "7.7.0",
250
- "@prisma/sqlcommenter-trace-context": "7.7.0",
251
- "@prisma/query-plan-executor": "7.7.0",
252
- "@prisma/ts-builders": "7.7.0"
221
+ "@prisma/adapter-better-sqlite3": "7.8.0-dev.2",
222
+ "@prisma/adapter-d1": "7.8.0-dev.2",
223
+ "@prisma/adapter-mariadb": "7.8.0-dev.2",
224
+ "@prisma/adapter-mssql": "7.8.0-dev.2",
225
+ "@prisma/adapter-libsql": "7.8.0-dev.2",
226
+ "@prisma/adapter-pg": "7.8.0-dev.2",
227
+ "@prisma/client-common": "7.8.0-dev.2",
228
+ "@prisma/adapter-planetscale": "7.8.0-dev.2",
229
+ "@prisma/client-engine-runtime": "7.8.0-dev.2",
230
+ "@prisma/adapter-neon": "7.8.0-dev.2",
231
+ "@prisma/client-generator-ts": "7.8.0-dev.2",
232
+ "@prisma/client-generator-js": "7.8.0-dev.2",
233
+ "@prisma/config": "7.8.0-dev.2",
234
+ "@prisma/debug": "7.8.0-dev.2",
235
+ "@prisma/dmmf": "7.8.0-dev.2",
236
+ "@prisma/driver-adapter-utils": "7.8.0-dev.2",
237
+ "@prisma/engines": "7.8.0-dev.2",
238
+ "@prisma/generator": "7.8.0-dev.2",
239
+ "@prisma/generator-helper": "7.8.0-dev.2",
240
+ "@prisma/get-platform": "7.8.0-dev.2",
241
+ "@prisma/fetch-engine": "7.8.0-dev.2",
242
+ "@prisma/instrumentation": "7.8.0-dev.2",
243
+ "@prisma/instrumentation-contract": "7.8.0-dev.2",
244
+ "@prisma/internals": "7.8.0-dev.2",
245
+ "@prisma/json-protocol": "7.8.0-dev.2",
246
+ "@prisma/query-plan-executor": "7.8.0-dev.2",
247
+ "@prisma/migrate": "7.8.0-dev.2",
248
+ "@prisma/param-graph": "7.8.0-dev.2",
249
+ "@prisma/sqlcommenter": "7.8.0-dev.2",
250
+ "@prisma/param-graph-builder": "7.8.0-dev.2",
251
+ "@prisma/sqlcommenter-trace-context": "7.8.0-dev.2",
252
+ "@prisma/ts-builders": "7.8.0-dev.2"
253
253
  },
254
254
  "dependencies": {
255
- "@prisma/client-runtime-utils": "7.7.0"
255
+ "@prisma/client-runtime-utils": "7.8.0-dev.2"
256
256
  },
257
257
  "peerDependencies": {
258
258
  "prisma": "*",
@@ -173,6 +173,8 @@ declare type BatchResponse = MultiBatchResponse | CompactedBatchResponse;
173
173
 
174
174
  declare type BatchTransactionOptions = {
175
175
  isolationLevel?: Transaction_2.IsolationLevel;
176
+ maxWait?: number;
177
+ timeout?: number;
176
178
  };
177
179
 
178
180
  /**
@@ -634,6 +636,8 @@ export declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef
634
636
  extArgs: ExtArgs;
635
637
  }>>;
636
638
  $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {
639
+ maxWait?: number;
640
+ timeout?: number;
637
641
  isolationLevel?: TypeMap['meta']['txIsolationLevel'];
638
642
  }): Promise<UnwrapTuple<P>>;
639
643
  $transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>) => Promise<R>, options?: {
@@ -2123,6 +2127,8 @@ declare type PrismaPromiseBatchTransaction = {
2123
2127
  kind: 'batch';
2124
2128
  id: number;
2125
2129
  isolationLevel?: IsolationLevel_2;
2130
+ maxWait?: number;
2131
+ timeout?: number;
2126
2132
  index: number;
2127
2133
  lock: PromiseLike<void>;
2128
2134
  };
@@ -173,6 +173,8 @@ declare type BatchResponse = MultiBatchResponse | CompactedBatchResponse;
173
173
 
174
174
  declare type BatchTransactionOptions = {
175
175
  isolationLevel?: Transaction_2.IsolationLevel;
176
+ maxWait?: number;
177
+ timeout?: number;
176
178
  };
177
179
 
178
180
  /**
@@ -634,6 +636,8 @@ export declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef
634
636
  extArgs: ExtArgs;
635
637
  }>>;
636
638
  $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {
639
+ maxWait?: number;
640
+ timeout?: number;
637
641
  isolationLevel?: TypeMap['meta']['txIsolationLevel'];
638
642
  }): Promise<UnwrapTuple<P>>;
639
643
  $transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>) => Promise<R>, options?: {
@@ -2123,6 +2127,8 @@ declare type PrismaPromiseBatchTransaction = {
2123
2127
  kind: 'batch';
2124
2128
  id: number;
2125
2129
  isolationLevel?: IsolationLevel_2;
2130
+ maxWait?: number;
2131
+ timeout?: number;
2126
2132
  index: number;
2127
2133
  lock: PromiseLike<void>;
2128
2134
  };