@file-viewer/renderer-archive 2.1.16 → 2.1.18

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.
Files changed (2) hide show
  1. package/dist/archive.js +1 -1
  2. package/package.json +3 -3
package/dist/archive.js CHANGED
@@ -179,7 +179,7 @@ const withTimeout = async (promise, timeout, message, targetWindow) => {
179
179
  const getDocumentBaseUrl = (documentRef) => {
180
180
  return documentRef.baseURI ||
181
181
  documentRef.URL ||
182
- 'http://localhost/';
182
+ 'file:///';
183
183
  };
184
184
  const getWorkerConstructor = (documentRef) => {
185
185
  var _a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@file-viewer/renderer-archive",
3
- "version": "2.1.16",
3
+ "version": "2.1.18",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Standalone archive renderer plugin for Flyfish File Viewer with libarchive worker, ZIP/TAR fallback, IndexedDB cache, and nested previews.",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "funding": {
38
38
  "type": "individual",
39
- "url": "https://dev.flyfish.group/shop"
39
+ "url": "https://dev.flyfish.group/donate?source=npm"
40
40
  },
41
41
  "main": "./dist/index.js",
42
42
  "module": "./dist/index.js",
@@ -56,7 +56,7 @@
56
56
  "LICENSE"
57
57
  ],
58
58
  "dependencies": {
59
- "@file-viewer/core": "^2.1.16",
59
+ "@file-viewer/core": "^2.1.18",
60
60
  "jszip": "^3.10.1",
61
61
  "libarchive.js": "^2.0.2"
62
62
  },