@polyglot-sql/sdk 0.4.1 → 0.4.2
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/README.md +82 -8
- package/dist/cdn/polyglot.esm.js +439 -440
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -2
- package/dist/index.node.js +5501 -0
- package/dist/manual.d.ts +15 -0
- package/dist/manual.js +5682 -0
- package/dist/{polyglot_sql_wasm_bg.wasm → polyglot_sql.wasm} +0 -0
- package/dist/polyglot_sql.wasm.d.ts +2 -0
- package/package.json +25 -4
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const __vite__wasmUrl = require("path").join(__dirname, "
|
|
2
|
+
const __vite__wasmUrl = require("path").join(__dirname, "polyglot_sql.wasm");
|
|
3
3
|
class WasmAssignmentArray {
|
|
4
4
|
__destroy_into_raw() {
|
|
5
5
|
const ptr = this.__wbg_ptr;
|
|
@@ -2964,7 +2964,7 @@ async function __polyglot_init_wasm() {
|
|
|
2964
2964
|
if (__vite__wasmModule) return;
|
|
2965
2965
|
if (__initPromise) return __initPromise;
|
|
2966
2966
|
__initPromise = (async () => {
|
|
2967
|
-
const wasmPath = require("path").join(__dirname, "
|
|
2967
|
+
const wasmPath = require("path").join(__dirname, "polyglot_sql.wasm");
|
|
2968
2968
|
const bytes = require("fs").readFileSync(wasmPath);
|
|
2969
2969
|
const result = await WebAssembly.instantiate(bytes, __vite__wasmImports);
|
|
2970
2970
|
__vite__wasmModule = result.instance.exports;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
const __vite__wasmUrl = new URL("./polyglot_sql_wasm_bg.wasm",import.meta.url).href;
|
|
1
|
+
const __vite__wasmUrl = new URL("./polyglot_sql.wasm",import.meta.url).href;
|
|
3
2
|
|
|
4
3
|
const __vite__initWasm = async (opts = {}, url) => {
|
|
5
4
|
let result;
|