@prisma/query-engine-wasm
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "@prisma/query-engine-wasm", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "query_engine_bg.wasm", |
@@ -1,4 +0,13 @@ | ||
import * as wasm from "./query_engine_bg.wasm"; | ||
import { __wbg_set_wasm } from "./query_engine_bg.js"; | ||
__wbg_set_wasm(wasm); | ||
import * as imports from "./query_engine_bg.js"; | ||
// switch between both syntax for Node.js and for workers (Cloudflare Workers) | ||
import * as wkmod from "./query_engine_bg.wasm"; | ||
import * as nodemod from "./query_engine_bg.wasm"; | ||
if ((typeof process !== 'undefined') && (process.release.name === 'node')) { | ||
imports.__wbg_set_wasm(nodemod); | ||
} else { | ||
const instance = new WebAssembly.Instance(wkmod, { "./query_engine_bg.js": imports }); | ||
imports.__wbg_set_wasm(instance.exports); | ||
} | ||
export * from "./query_engine_bg.js"; |
Sorry, the diff of this file is not supported yet
1935931
785