@triiiceratops/plugin-pdf-export 1.0.0-rc.1 → 1.0.0-rc.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.
@@ -1,15 +1 @@
1
- /**
2
- * Route an actionable export failure to the host through the structured
3
- * `pluginerror` channel (ticket 09 shape, {@link PluginError}) instead of the
4
- * browser console; `node` is the panel's own root element, which lives inside the viewer
5
- * root, so a bubbling + composed event reaches the host's `pluginerror` listener
6
- * and escapes the shadow root for a Web Component host — the same delivery core
7
- * uses for lifecycle failures. The event name is core's `PLUGIN_ERROR_EVENT`
8
- * (`'pluginerror'`); it is used as a string literal so this framework-neutral
9
- * bundle never pulls in core's runtime entry.
10
- *
11
- * `phase` is `'command'`: the failure occurred while carrying out a user-driven
12
- * viewer operation (the export action), the closest lifecycle phase in
13
- * {@link PluginError}. `retry` re-runs that operation.
14
- */
15
1
  export declare function reportPdfExportError(node: EventTarget, error: unknown, retry: () => void): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triiiceratops/plugin-pdf-export",
3
- "version": "1.0.0-rc.1",
3
+ "version": "1.0.0-rc.2",
4
4
  "type": "module",
5
5
  "description": "PDF export plugin for the triiiceratops IIIF viewer, authored on @triiiceratops/plugin-sdk. Owns its own pdf-lib dependency.",
6
6
  "license": "MIT",
@@ -49,21 +49,21 @@
49
49
  "lint:fix": "eslint . --fix --max-warnings 0"
50
50
  },
51
51
  "peerDependencies": {
52
- "triiiceratops": "workspace:^",
53
- "@triiiceratops/plugin-sdk": "workspace:^"
52
+ "triiiceratops": "^1.0.0-rc.26",
53
+ "@triiiceratops/plugin-sdk": "^1.0.0-rc.2"
54
54
  },
55
55
  "dependencies": {
56
56
  "pdf-lib": "^1.17.1"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@sveltejs/vite-plugin-svelte": "^6.2.1",
60
- "@triiiceratops/plugin-sdk": "workspace:*",
61
- "@triiiceratops/ui": "workspace:*",
60
+ "@triiiceratops/plugin-sdk": "1.0.0-rc.2",
61
+ "@triiiceratops/ui": "0.0.0",
62
62
  "@vitest/coverage-v8": "4.0.15",
63
63
  "happy-dom": "^20.0.11",
64
64
  "svelte": "5.45.5",
65
65
  "svelte-check": "^4.3.4",
66
- "triiiceratops": "workspace:*",
66
+ "triiiceratops": "1.0.0-rc.26",
67
67
  "typescript": "~5.9.3",
68
68
  "vite": "^6.0.0",
69
69
  "vitest": "^4.0.15"