@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.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  wasmModelToDocumentXml,
9
9
  wasmSerializeDocx,
10
10
  withPart
11
- } from "./chunk-ULEO2IBU.js";
11
+ } from "./chunk-AWFSO3IU.js";
12
12
 
13
13
  // src/index.tsx
14
14
  import * as React2 from "react";
@@ -636,7 +636,7 @@ async function buildDocModel(pkg) {
636
636
  return normalizeDocModel(model);
637
637
  }
638
638
  async function buildDocModelFromBytes(bytes) {
639
- const { parseDocx: parseDocx2 } = await import("./src-QLGK7AGO.js");
639
+ const { parseDocx: parseDocx2 } = await import("./src-JDYUD5TO.js");
640
640
  const payload = bytes instanceof Uint8Array ? bytes : new Uint8Array(bytes);
641
641
  const buffer = payload.buffer.slice(payload.byteOffset, payload.byteOffset + payload.byteLength);
642
642
  const pkg = await parseDocx2(buffer);
@@ -2007,7 +2007,7 @@ async function serializeDocModel(model, basePackage) {
2007
2007
  model,
2008
2008
  basePackage ? mapsToWasmPackage(basePackage) : void 0
2009
2009
  );
2010
- const { parseDocx: parseDocx2 } = await import("./src-QLGK7AGO.js");
2010
+ const { parseDocx: parseDocx2 } = await import("./src-JDYUD5TO.js");
2011
2011
  return parseDocx2(bytes);
2012
2012
  }
2013
2013
  async function serializeDocx(model, basePackage) {
@@ -4,7 +4,7 @@ import {
4
4
  packageToArrayBuffer,
5
5
  parseDocx,
6
6
  withPart
7
- } from "./chunk-ULEO2IBU.js";
7
+ } from "./chunk-AWFSO3IU.js";
8
8
  export {
9
9
  createMinimalDocxPackage,
10
10
  getPart,
@@ -12,4 +12,4 @@ export {
12
12
  parseDocx,
13
13
  withPart
14
14
  };
15
- //# sourceMappingURL=src-QLGK7AGO.js.map
15
+ //# sourceMappingURL=src-JDYUD5TO.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extend-ai/react-docx",
3
- "version": "0.7.0-alpha.0",
3
+ "version": "0.7.0-alpha.1",
4
4
  "description": "React components/hooks for DOCX viewing",
5
5
  "license": "MIT",
6
6
  "type": "module",