@prisma/client-engine-runtime 6.5.0-integration-fix-use-web-crypto.1 → 6.5.0-integration-feat-prisma-config-without-new-package.3
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.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -438,6 +438,7 @@ var IsolationLevel = /* @__PURE__ */ ((IsolationLevel2) => {
|
|
|
438
438
|
})(IsolationLevel || {});
|
|
439
439
|
|
|
440
440
|
// src/transactionManager/TransactionManager.ts
|
|
441
|
+
var import_node_crypto = __toESM(require("node:crypto"));
|
|
441
442
|
var import_debug = __toESM(require("@prisma/debug"));
|
|
442
443
|
|
|
443
444
|
// src/utils.ts
|
|
@@ -528,7 +529,7 @@ var TransactionManager = class {
|
|
|
528
529
|
async startTransaction(options) {
|
|
529
530
|
const validatedOptions = this.validateOptions(options);
|
|
530
531
|
const transaction = {
|
|
531
|
-
id:
|
|
532
|
+
id: import_node_crypto.default.randomUUID(),
|
|
532
533
|
status: "waiting",
|
|
533
534
|
timer: void 0,
|
|
534
535
|
timeout: validatedOptions.timeout,
|
package/dist/index.mjs
CHANGED
|
@@ -399,6 +399,7 @@ var IsolationLevel = /* @__PURE__ */ ((IsolationLevel2) => {
|
|
|
399
399
|
})(IsolationLevel || {});
|
|
400
400
|
|
|
401
401
|
// src/transactionManager/TransactionManager.ts
|
|
402
|
+
import crypto from "node:crypto";
|
|
402
403
|
import Debug from "@prisma/debug";
|
|
403
404
|
|
|
404
405
|
// src/utils.ts
|
|
@@ -489,7 +490,7 @@ var TransactionManager = class {
|
|
|
489
490
|
async startTransaction(options) {
|
|
490
491
|
const validatedOptions = this.validateOptions(options);
|
|
491
492
|
const transaction = {
|
|
492
|
-
id:
|
|
493
|
+
id: crypto.randomUUID(),
|
|
493
494
|
status: "waiting",
|
|
494
495
|
timer: void 0,
|
|
495
496
|
timeout: validatedOptions.timeout,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-engine-runtime",
|
|
3
|
-
"version": "6.5.0-integration-
|
|
3
|
+
"version": "6.5.0-integration-feat-prisma-config-without-new-package.3",
|
|
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,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@prisma/
|
|
28
|
-
"@prisma/
|
|
27
|
+
"@prisma/debug": "6.5.0-integration-feat-prisma-config-without-new-package.3",
|
|
28
|
+
"@prisma/driver-adapter-utils": "6.5.0-integration-feat-prisma-config-without-new-package.3"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/jest": "29.5.14",
|