@prisma/client-engine-runtime 6.5.0-integration-fix-use-webcrypto.1 → 6.5.0-integration-fix-use-webcrypto.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 CHANGED
@@ -439,7 +439,6 @@ var IsolationLevel = /* @__PURE__ */ ((IsolationLevel2) => {
439
439
 
440
440
  // src/transactionManager/TransactionManager.ts
441
441
  var import_debug = __toESM(require("@prisma/debug"));
442
- var import_crypto = require("crypto");
443
442
 
444
443
  // src/utils.ts
445
444
  function assertNever(_, message) {
@@ -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: import_crypto.webcrypto.randomUUID(),
531
+ id: globalThis.crypto.randomUUID(),
533
532
  status: "waiting",
534
533
  timer: void 0,
535
534
  timeout: validatedOptions.timeout,
package/dist/index.mjs CHANGED
@@ -400,7 +400,6 @@ var IsolationLevel = /* @__PURE__ */ ((IsolationLevel2) => {
400
400
 
401
401
  // src/transactionManager/TransactionManager.ts
402
402
  import Debug from "@prisma/debug";
403
- import { webcrypto } from "crypto";
404
403
 
405
404
  // src/utils.ts
406
405
  function assertNever(_, message) {
@@ -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: webcrypto.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-integration-fix-use-webcrypto.1",
3
+ "version": "6.5.0-integration-fix-use-webcrypto.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/debug": "6.5.0-integration-fix-use-webcrypto.1",
28
- "@prisma/driver-adapter-utils": "6.5.0-integration-fix-use-webcrypto.1"
27
+ "@prisma/debug": "6.5.0-integration-fix-use-webcrypto.3",
28
+ "@prisma/driver-adapter-utils": "6.5.0-integration-fix-use-webcrypto.3"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/jest": "29.5.14",