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