web-doc 0.6.1 → 0.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/dist/adapters/office.js +1 -1
- package/package.json +2 -1
package/dist/adapters/office.js
CHANGED
|
@@ -341,7 +341,7 @@ export class OfficeDocumentAdapter {
|
|
|
341
341
|
async #loadPptx(data, options) {
|
|
342
342
|
if (this.#options.engines?.pptx)
|
|
343
343
|
return this.#options.engines.pptx(data, options);
|
|
344
|
-
const { PptxPresentation } = await import("@silurus/ooxml/pptx");
|
|
344
|
+
const { PptxPresentation } = await import("@silurus/ooxml-pptx/pptx");
|
|
345
345
|
return PptxPresentation.load(data, options);
|
|
346
346
|
}
|
|
347
347
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "web-doc",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "web-doc — embeddable browser-only document viewer with Rust/WASM adapters (a fork of Zrimo)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"document-viewer",
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@silurus/ooxml": "0.72.2",
|
|
72
|
+
"@silurus/ooxml-pptx": "npm:@silurus/ooxml@0.88.0",
|
|
72
73
|
"fuse.js": "7.5.0",
|
|
73
74
|
"pdfjs-dist": "6.2.108"
|
|
74
75
|
}
|