@prisma/client-generator-ts 6.15.0-dev.23 → 6.15.0-dev.25

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
@@ -3454,7 +3454,6 @@ function buildGetWasmModule({
3454
3454
  component,
3455
3455
  runtimeName,
3456
3456
  runtimeBase,
3457
- target,
3458
3457
  activeProvider,
3459
3458
  moduleFormat
3460
3459
  }) {
@@ -3494,12 +3493,11 @@ config.${component}Wasm = {
3494
3493
  }`;
3495
3494
  }
3496
3495
  if (buildEdgeLoader) {
3497
- const fullWasmModulePath = target === "vercel-edge" ? `${wasmModulePath}?module` : wasmModulePath;
3498
3496
  return `config.${component}Wasm = {
3499
3497
  getRuntime: async () => await import(${JSON.stringify(wasmBindingsPath)}),
3500
3498
 
3501
3499
  getQuery${capitalizedComponent}WasmModule: async () => {
3502
- const { default: module } = await import(${JSON.stringify(fullWasmModulePath)})
3500
+ const { default: module } = await import(${JSON.stringify(`${wasmModulePath}?module`)})
3503
3501
  return module
3504
3502
  }
3505
3503
  }`;
@@ -6559,7 +6557,7 @@ var import_get_tsconfig = require("get-tsconfig");
6559
6557
  var import_ts_pattern2 = require("ts-pattern");
6560
6558
 
6561
6559
  // package.json
6562
- var version = "6.15.0-dev.23";
6560
+ var version = "6.15.0-dev.25";
6563
6561
 
6564
6562
  // src/module-format.ts
6565
6563
  function parseModuleFormat(format) {
package/dist/index.mjs CHANGED
@@ -3453,7 +3453,6 @@ function buildGetWasmModule({
3453
3453
  component,
3454
3454
  runtimeName,
3455
3455
  runtimeBase,
3456
- target,
3457
3456
  activeProvider,
3458
3457
  moduleFormat
3459
3458
  }) {
@@ -3493,12 +3492,11 @@ config.${component}Wasm = {
3493
3492
  }`;
3494
3493
  }
3495
3494
  if (buildEdgeLoader) {
3496
- const fullWasmModulePath = target === "vercel-edge" ? `${wasmModulePath}?module` : wasmModulePath;
3497
3495
  return `config.${component}Wasm = {
3498
3496
  getRuntime: async () => await import(${JSON.stringify(wasmBindingsPath)}),
3499
3497
 
3500
3498
  getQuery${capitalizedComponent}WasmModule: async () => {
3501
- const { default: module } = await import(${JSON.stringify(fullWasmModulePath)})
3499
+ const { default: module } = await import(${JSON.stringify(`${wasmModulePath}?module`)})
3502
3500
  return module
3503
3501
  }
3504
3502
  }`;
@@ -6558,7 +6556,7 @@ import { getTsconfig } from "get-tsconfig";
6558
6556
  import { match as match2 } from "ts-pattern";
6559
6557
 
6560
6558
  // package.json
6561
- var version = "6.15.0-dev.23";
6559
+ var version = "6.15.0-dev.25";
6562
6560
 
6563
6561
  // src/module-format.ts
6564
6562
  function parseModuleFormat(format) {
@@ -11,7 +11,7 @@ export type BuildWasmModuleOptions = {
11
11
  activeProvider: ActiveConnectorType;
12
12
  moduleFormat: ModuleFormat;
13
13
  };
14
- export declare function buildGetWasmModule({ component, runtimeName, runtimeBase, target, activeProvider, moduleFormat, }: BuildWasmModuleOptions): string;
14
+ export declare function buildGetWasmModule({ component, runtimeName, runtimeBase, activeProvider, moduleFormat, }: BuildWasmModuleOptions): string;
15
15
  export type BuildWasmFileMapOptions = {
16
16
  activeProvider: ActiveConnectorType;
17
17
  runtimeName: RuntimeName;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-generator-ts",
3
- "version": "6.15.0-dev.23",
3
+ "version": "6.15.0-dev.25",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -34,14 +34,14 @@
34
34
  "pkg-up": "3.1.0",
35
35
  "pluralize": "8.0.0",
36
36
  "ts-pattern": "5.6.2",
37
- "@prisma/client-common": "6.15.0-dev.23",
38
- "@prisma/debug": "6.15.0-dev.23",
39
- "@prisma/fetch-engine": "6.15.0-dev.23",
40
- "@prisma/generator": "6.15.0-dev.23",
41
- "@prisma/get-platform": "6.15.0-dev.23",
42
- "@prisma/internals": "6.15.0-dev.23",
43
- "@prisma/dmmf": "6.15.0-dev.23",
44
- "@prisma/ts-builders": "6.15.0-dev.23"
37
+ "@prisma/client-common": "6.15.0-dev.25",
38
+ "@prisma/dmmf": "6.15.0-dev.25",
39
+ "@prisma/debug": "6.15.0-dev.25",
40
+ "@prisma/fetch-engine": "6.15.0-dev.25",
41
+ "@prisma/generator": "6.15.0-dev.25",
42
+ "@prisma/get-platform": "6.15.0-dev.25",
43
+ "@prisma/internals": "6.15.0-dev.25",
44
+ "@prisma/ts-builders": "6.15.0-dev.25"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/pluralize": "0.0.33",