@prisma/client-engine-runtime 6.5.0-integration-feat-prisma-config-without-new-package.1 → 6.5.0-integration-fix-use-webcrypto.1

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 CHANGED
@@ -438,8 +438,8 @@ 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"));
442
+ var import_crypto = require("crypto");
443
443
 
444
444
  // src/utils.ts
445
445
  function assertNever(_, message) {
@@ -529,7 +529,7 @@ var TransactionManager = class {
529
529
  async startTransaction(options) {
530
530
  const validatedOptions = this.validateOptions(options);
531
531
  const transaction = {
532
- id: import_node_crypto.default.randomUUID(),
532
+ id: import_crypto.webcrypto.randomUUID(),
533
533
  status: "waiting",
534
534
  timer: void 0,
535
535
  timeout: validatedOptions.timeout,
package/dist/index.mjs CHANGED
@@ -399,8 +399,8 @@ 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";
403
+ import { webcrypto } from "crypto";
404
404
 
405
405
  // src/utils.ts
406
406
  function assertNever(_, message) {
@@ -490,7 +490,7 @@ var TransactionManager = class {
490
490
  async startTransaction(options) {
491
491
  const validatedOptions = this.validateOptions(options);
492
492
  const transaction = {
493
- id: crypto.randomUUID(),
493
+ id: webcrypto.randomUUID(),
494
494
  status: "waiting",
495
495
  timer: void 0,
496
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-feat-prisma-config-without-new-package.1",
3
+ "version": "6.5.0-integration-fix-use-webcrypto.1",
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-integration-feat-prisma-config-without-new-package.1",
28
- "@prisma/driver-adapter-utils": "6.5.0-integration-feat-prisma-config-without-new-package.1"
27
+ "@prisma/debug": "6.5.0-integration-fix-use-webcrypto.1",
28
+ "@prisma/driver-adapter-utils": "6.5.0-integration-fix-use-webcrypto.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/jest": "29.5.14",