@extend-ai/react-docx 0.7.0-alpha.0 → 0.7.0-alpha.1

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
@@ -350,7 +350,7 @@ async function __wbg_init(module_or_path) {
350
350
  }
351
351
  }
352
352
  if (module_or_path === void 0) {
353
- module_or_path = new URL("docx_wasm_bg.wasm", import_meta.url);
353
+ throw new Error("react-docx wasm: initWasm must be called with inlined wasm bytes");
354
354
  }
355
355
  const imports = __wbg_get_imports();
356
356
  if (typeof module_or_path === "string" || typeof Request === "function" && module_or_path instanceof Request || typeof URL === "function" && module_or_path instanceof URL) {
@@ -359,11 +359,10 @@ async function __wbg_init(module_or_path) {
359
359
  const { instance, module: module2 } = await __wbg_load(await module_or_path, imports);
360
360
  return __wbg_finalize_init(instance, module2);
361
361
  }
362
- var import_meta, cachedDataViewMemory0, cachedUint8ArrayMemory0, cachedTextDecoder, MAX_SAFARI_DECODE_BYTES, numBytesDecoded, cachedTextEncoder, WASM_VECTOR_LEN, wasmModule, wasmInstance, wasm;
362
+ var cachedDataViewMemory0, cachedUint8ArrayMemory0, cachedTextDecoder, MAX_SAFARI_DECODE_BYTES, numBytesDecoded, cachedTextEncoder, WASM_VECTOR_LEN, wasmModule, wasmInstance, wasm;
363
363
  var init_docx_wasm = __esm({
364
364
  "../wasm/src/generated/docx_wasm.js"() {
365
365
  "use strict";
366
- import_meta = {};
367
366
  cachedDataViewMemory0 = null;
368
367
  cachedUint8ArrayMemory0 = null;
369
368
  cachedTextDecoder = new TextDecoder("utf-8", { ignoreBOM: true, fatal: true });