@file-viewer/assets-ppt 3.0.2 → 3.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@file-viewer/assets-ppt",
3
- "version": "3.0.2",
3
+ "version": "3.1.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Independent self-hosted Legacy binary PowerPoint runtime for opt-in File Viewer integration.",
@@ -20,7 +20,7 @@
20
20
  "file-viewer-assets-ppt": "./bin/install.mjs"
21
21
  },
22
22
  "dependencies": {
23
- "@file-viewer/asset-installer": "3.0.2"
23
+ "@file-viewer/asset-installer": "3.1.0"
24
24
  },
25
25
  "engines": {
26
26
  "node": ">=20"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "packageName": "@file-viewer/assets-ppt",
4
- "packageVersion": "3.0.2",
4
+ "packageVersion": "3.1.0",
5
5
  "copyGroups": [
6
6
  "office-presentation-binary"
7
7
  ],
@@ -1,7 +1,8 @@
1
- const MANIFEST = Object.freeze({"kind":"flyfish-ppt-public-native-wasm-v2","product":"Flyfish PPT Viewer","format":"PowerPoint 97-2003 (.ppt)","packageName":"@file-viewer/ppt","packageVersion":"0.3.3","engine":"flyfish-classic-ppt-native-engine","engineBuild":"d2b522ef23b5c08a","id":"FV-PPT-PUBLIC-WATERMARKED-V2","feature":"ppt","edition":"public-watermarked","holder":"Individuals and Organizations","distribution":"proprietary-public-binary","commercialUse":true,"publicAnyOrigin":true,"watermarkRequired":true,"watermarkText":"Flyfish Viewer","usePolicy":"public-watermarked-general-use","licensePolicy":"flyfish-public-watermarked-binary-license-v2","sourceCodeRights":false,"sourceDeliveryRights":false,"apacheLicenseApplies":false,"redistributionAllowed":true,"redistributionPolicy":"unmodified-integrated-bundling-only","standaloneRedistributionAllowed":false,"watermarkRemovalRequiresCommercialAuthorization":true,"runtimeLicenseRequired":false,"renderer":"native-wasm-worker-offscreen-canvas","integrity":"native-wasm-font-sha256-v2","wasmFile":"ppt-native.wasm","wasmBytes":1557729,"workerFile":"worker.mjs","fontPack":{"kind":"flyfish-cjk-font-pack-v1","file":"ppt-font-cjk.otf","bytes":16437364,"sha256":"2c76254f6fc379fddfce0a7e84fb5385bb135d3e399294f6eeb6680d0365b74b"},"workerDefault":true,"virtualScrollDefault":true,"frameCache":"indexeddb-final-watermarked-png-lru","watermarkEnforcement":"native-final-frame","wasmSha256":"5e1313c50fee36c9573527bc3bf88920ea54b25016ee72d369bb7b27df1540ba"});
1
+ const MANIFEST = Object.freeze({"kind":"flyfish-ppt-public-native-wasm-v2","product":"Flyfish PPT Viewer","format":"PowerPoint 97-2003 (.ppt)","packageName":"@file-viewer/ppt","packageVersion":"0.3.4","engine":"flyfish-classic-ppt-native-engine","engineBuild":"d2b522ef23b5c08a","id":"FV-PPT-PUBLIC-WATERMARKED-V2","feature":"ppt","edition":"public-watermarked","holder":"Individuals and Organizations","distribution":"proprietary-public-binary","commercialUse":true,"publicAnyOrigin":true,"watermarkRequired":true,"watermarkText":"Flyfish Viewer","usePolicy":"public-watermarked-general-use","licensePolicy":"flyfish-public-watermarked-binary-license-v2","sourceCodeRights":false,"sourceDeliveryRights":false,"apacheLicenseApplies":false,"redistributionAllowed":true,"redistributionPolicy":"unmodified-integrated-bundling-only","standaloneRedistributionAllowed":false,"watermarkRemovalRequiresCommercialAuthorization":true,"runtimeLicenseRequired":false,"renderer":"native-wasm-worker-offscreen-canvas","integrity":"native-wasm-font-sha256-v2","wasmFile":"ppt-native.wasm","wasmBytes":1557729,"workerFile":"worker.mjs","fontPack":{"kind":"flyfish-cjk-font-pack-v1","file":"ppt-font-cjk.otf","bytes":16437364,"sha256":"2c76254f6fc379fddfce0a7e84fb5385bb135d3e399294f6eeb6680d0365b74b"},"workerDefault":true,"virtualScrollDefault":true,"frameCache":"indexeddb-final-watermarked-png-lru","watermarkEnforcement":"native-final-frame","wasmSha256":"5e1313c50fee36c9573527bc3bf88920ea54b25016ee72d369bb7b27df1540ba"});
2
2
  const DEFAULT_WASM_URL = new URL('./ppt-native.wasm', import.meta.url);
3
- const DEFAULT_FONT_URL = new URL(`./${MANIFEST.fontPack.file}`, import.meta.url);
4
- const DEFAULT_WORKER_URL = new URL(`./${MANIFEST.workerFile}`, import.meta.url);
3
+ // Keep asset paths literal so bundlers do not scan declarations as URL assets.
4
+ const DEFAULT_FONT_URL = new URL('./ppt-font-cjk.otf', import.meta.url);
5
+ const DEFAULT_WORKER_URL = new URL('./worker.mjs', import.meta.url);
5
6
  const WASM_EXPORTS = Object.freeze([
6
7
  'memory',
7
8
  'ppt_input_alloc',
@@ -3,7 +3,7 @@
3
3
  "product": "Flyfish PPT Viewer",
4
4
  "format": "PowerPoint 97-2003 (.ppt)",
5
5
  "packageName": "@file-viewer/ppt",
6
- "packageVersion": "0.3.3",
6
+ "packageVersion": "0.3.4",
7
7
  "engine": "flyfish-classic-ppt-native-engine",
8
8
  "engineBuild": "d2b522ef23b5c08a",
9
9
  "id": "FV-PPT-PUBLIC-WATERMARKED-V2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@file-viewer/ppt",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Professional native WebAssembly canvas viewer for PowerPoint 97-2003 (.ppt) files.",
5
5
  "type": "module",
6
6
  "main": "./index.mjs",