@polyglot-sql/sdk 0.4.0 → 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/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const __vite__wasmUrl = require("path").join(__dirname, "polyglot_sql_wasm_bg.wasm");
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, "polyglot_sql_wasm_bg.wasm");
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.d.cts CHANGED
@@ -3789,7 +3789,7 @@ declare type DropFunction = {
3789
3789
  * DROP INDEX statement
3790
3790
  */
3791
3791
  declare type DropIndex = {
3792
- name: Identifier;
3792
+ name: TableRef;
3793
3793
  table: TableRef | null;
3794
3794
  if_exists: boolean;
3795
3795
  /**
package/dist/index.d.ts CHANGED
@@ -3789,7 +3789,7 @@ declare type DropFunction = {
3789
3789
  * DROP INDEX statement
3790
3790
  */
3791
3791
  declare type DropIndex = {
3792
- name: Identifier;
3792
+ name: TableRef;
3793
3793
  table: TableRef | null;
3794
3794
  if_exists: boolean;
3795
3795
  /**
package/dist/index.js CHANGED
@@ -1,5 +1,4 @@
1
- (()=>{if(typeof globalThis.process<"u"&&globalThis.process.versions?.node){const _f=globalThis.fetch;globalThis.fetch=async function(u,...a){if(typeof u==="string"&&u.startsWith("file:")||u instanceof URL&&u.protocol==="file:"){const{readFileSync:r}=await import("node:fs");const{fileURLToPath:p}=await import("node:url");const b=r(p(typeof u==="string"?u:u.href));return new Response(b,{headers:{"Content-Type":"application/wasm"}})}return _f(u,...a)}}})();
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;