docxodus 12.6.1 → 12.6.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 CHANGED
@@ -99,7 +99,7 @@ runtime location auto-detected — no build step, no configuration:
99
99
  ```html
100
100
  <div id="doc" style="height: 100dvh"></div>
101
101
  <script type="module">
102
- import { createRibbonEditor } from 'https://cdn.jsdelivr.net/npm/docxodus@12.6.0/dist/embed.bundle.js';
102
+ import { createRibbonEditor } from 'https://cdn.jsdelivr.net/npm/docxodus@12.6.1/dist/embed.bundle.js';
103
103
  const ribbon = await createRibbonEditor('#doc', './contract.docx'); // or bytes / Blob / File
104
104
  // ...later: const editedBytes = ribbon.save();
105
105
  </script>
@@ -682,7 +682,7 @@ so a page can embed a full viewer or editor without hosting anything itself.
682
682
  <div id="app" style="height: 100dvh"></div>
683
683
  <script type="module">
684
684
  import { createViewer, createEditor, createRibbonEditor }
685
- from 'https://cdn.jsdelivr.net/npm/docxodus@12.6.0/dist/embed.bundle.js';
685
+ from 'https://cdn.jsdelivr.net/npm/docxodus@12.6.1/dist/embed.bundle.js';
686
686
 
687
687
  // Choose a factory, or render several into separate containers as shown.
688
688
  // Source may be a URL, Uint8Array, ArrayBuffer, Blob, or File.
@@ -712,7 +712,7 @@ For pages that can't use modules, `dist/embed.iife.js` exposes the same surface
712
712
 
713
713
  ```html
714
714
  <div id="doc"></div>
715
- <script src="https://cdn.jsdelivr.net/npm/docxodus@12.6.0/dist/embed.iife.js"></script>
715
+ <script src="https://cdn.jsdelivr.net/npm/docxodus@12.6.1/dist/embed.iife.js"></script>
716
716
  <script>
717
717
  Docxodus.createRibbonEditor('#doc').then((ribbon) => { /* ... */ });
718
718
  </script>
@@ -728,7 +728,7 @@ first `<bundle dir>/wasm/`, then `<bundle dir>/` as a fallback. On a CDN that re
728
728
 
729
729
  ### CDN caveats
730
730
 
731
- - **Pin an exact version in production** (`docxodus@12.6.0`, not `@latest`) — CDN responses are
731
+ - **Pin an exact version in production** (`docxodus@12.6.1`, not `@latest`) — CDN responses are
732
732
  cached as immutable, and the wire shapes between the JS wrappers and the WASM assemblies must
733
733
  come from the same release.
734
734
  - The build patches the .NET loader to fetch with `credentials: "omit"` — required because the
package/dist/core.js CHANGED
@@ -87,7 +87,7 @@ async function yieldToMain() {
87
87
  function getDefaultWasmBasePath() {
88
88
  try {
89
89
  // import.meta.url gives us the URL of this module
90
- // e.g., "https://cdn.jsdelivr.net/npm/docxodus@12.6.0/dist/core.js"
90
+ // e.g., "https://cdn.jsdelivr.net/npm/docxodus@12.6.1/dist/core.js"
91
91
  // or "file:///path/to/node_modules/docxodus/dist/core.js"
92
92
  const moduleUrl = import.meta.url;
93
93
  // Remove the filename to get the directory
package/dist/embed.d.ts CHANGED
@@ -7,7 +7,7 @@
7
7
  * ```html
8
8
  * <div id="doc"></div>
9
9
  * <script type="module">
10
- * import { createViewer } from "https://cdn.jsdelivr.net/npm/docxodus@12.6.0/dist/embed.bundle.js";
10
+ * import { createViewer } from "https://cdn.jsdelivr.net/npm/docxodus@12.6.1/dist/embed.bundle.js";
11
11
  * await createViewer("#doc", "./contract.docx");
12
12
  * </script>
13
13
  * ```
package/dist/embed.js CHANGED
@@ -7,7 +7,7 @@
7
7
  * ```html
8
8
  * <div id="doc"></div>
9
9
  * <script type="module">
10
- * import { createViewer } from "https://cdn.jsdelivr.net/npm/docxodus@12.6.0/dist/embed.bundle.js";
10
+ * import { createViewer } from "https://cdn.jsdelivr.net/npm/docxodus@12.6.1/dist/embed.bundle.js";
11
11
  * await createViewer("#doc", "./contract.docx");
12
12
  * </script>
13
13
  * ```
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema": "https://docxodus.dev/schemas/export/export-assets/v1",
3
3
  "schemaVersion": 1,
4
- "packageVersion": "12.6.1",
4
+ "packageVersion": "12.6.2",
5
5
  "assets": [
6
6
  {
7
7
  "path": "./docxodus.worker.js",
@@ -48,14 +48,14 @@
48
48
  {
49
49
  "path": "./wasm/_framework/Docxodus.wasm",
50
50
  "mediaType": "application/wasm",
51
- "byteLength": 4631833,
52
- "sha256": "91cc7688e1a45faf3b265242298b531da39ab1d6833127df256a9f0c2adb69f7"
51
+ "byteLength": 4632345,
52
+ "sha256": "aca15421ba9b1a5d0f8a88702d3cc44ad51374f2b8f8c6d3d60a2ddee68fa185"
53
53
  },
54
54
  {
55
55
  "path": "./wasm/_framework/DocxodusWasm.wasm",
56
56
  "mediaType": "application/wasm",
57
57
  "byteLength": 522517,
58
- "sha256": "f9e82ed508f63a18c0fe1f30bd10a8f46b9173e11266c9c0dfbbe66f5b02d51f"
58
+ "sha256": "787d41885c8866d6f268e2c538a2369668362ee9da3f56b176955fbef7052274"
59
59
  },
60
60
  {
61
61
  "path": "./wasm/_framework/System.Collections.Concurrent.wasm",
@@ -247,7 +247,7 @@
247
247
  "path": "./wasm/_framework/dotnet.boot.js",
248
248
  "mediaType": "text/javascript",
249
249
  "byteLength": 9374,
250
- "sha256": "e9a546938f1d4bb4382e094660fe106e99fc55cd9f3230e96e2dfebed2e8b8bf"
250
+ "sha256": "99ed4c4572d9472922829affe15cfd4ed711eae5000a31d96d186b9424b30c7c"
251
251
  },
252
252
  {
253
253
  "path": "./wasm/_framework/dotnet.js",
@@ -264,8 +264,8 @@
264
264
  {
265
265
  "path": "./wasm/_framework/dotnet.native.wasm",
266
266
  "mediaType": "application/wasm",
267
- "byteLength": 10303358,
268
- "sha256": "2dfbb9db9c3beff32b92979c77307c19239b176b81f7f117d5b5db46557495c1"
267
+ "byteLength": 10303378,
268
+ "sha256": "6c2c1c39a2f253a7a3b38aa881fa92f3f4de6db9c8af3ae3124bbcdf94bba2a6"
269
269
  },
270
270
  {
271
271
  "path": "./wasm/_framework/dotnet.runtime.js",
Binary file
@@ -1,7 +1,7 @@
1
1
  export const config = /*json-start*/{
2
2
  "mainAssemblyName": "DocxodusWasm.dll",
3
3
  "resources": {
4
- "hash": "sha256-TveNFCgwYY9A9avm8YUPXalgu4dVMxR0DM/Iy5y36Vc=",
4
+ "hash": "sha256-Bqbp3Qq9G+yuz4UCPcqrP41ae2uxbsyRfyAQN8Kn2xk=",
5
5
  "jsModuleNative": [
6
6
  {
7
7
  "name": "dotnet.native.js"
@@ -15,7 +15,7 @@ export const config = /*json-start*/{
15
15
  "wasmNative": [
16
16
  {
17
17
  "name": "dotnet.native.wasm",
18
- "hash": "sha256-Lfu525w77/MrkpecdzB8GSObF2uB9/EX1bXbRlV0lcE="
18
+ "hash": "sha256-bCwcOaLyU6ejs4qogfqS8/TebbnIrzrjEku835S7oqY="
19
19
  }
20
20
  ],
21
21
  "coreAssembly": [
@@ -32,12 +32,12 @@ export const config = /*json-start*/{
32
32
  {
33
33
  "virtualPath": "Docxodus.wasm",
34
34
  "name": "Docxodus.wasm",
35
- "hash": "sha256-kcx2iOGkX687JlJCKYtTHaOasdaDMSffJWqfDCrbafc="
35
+ "hash": "sha256-rKFUIbqbGl0PiohwLTzEStUTdPK4+MbT1got3uaPoYU="
36
36
  },
37
37
  {
38
38
  "virtualPath": "DocxodusWasm.wasm",
39
39
  "name": "DocxodusWasm.wasm",
40
- "hash": "sha256-+egu1Qj2OhjA/h8wvRCo9GuRc+ESZsnA37vmb1sC1R8="
40
+ "hash": "sha256-eH1BiFyIZtbyaOLFOKI2lmg2LunaP1axdpVfvvcFInQ="
41
41
  },
42
42
  {
43
43
  "virtualPath": "System.Collections.Concurrent.wasm",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docxodus",
3
- "version": "12.6.1",
3
+ "version": "12.6.2",
4
4
  "description": "Render, edit, diff and project Word .docx files in the browser — DOCX to HTML, a block editor, Word-grade redlines with tracked changes, and anchor-addressed markdown for LLM agents. WebAssembly, no server.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",