@poco-ai/agentero-dsh-pdf 0.1.2 → 0.1.3

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/lib/client.js +6 -2
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -58088,8 +58088,12 @@ function PdfPanel(props) {
58088
58088
  if (cancelled) return;
58089
58089
  setBytes(next);
58090
58090
  setStatus("ready");
58091
- const painted = await loadMarks(paperPath);
58092
- if (!cancelled) setMarks(painted);
58091
+ try {
58092
+ const painted = await loadMarks(paperPath);
58093
+ if (!cancelled) setMarks(painted);
58094
+ } catch {
58095
+ if (!cancelled) setMarks([]);
58096
+ }
58093
58097
  }).catch((error) => {
58094
58098
  if (cancelled) return;
58095
58099
  const text = error instanceof Error ? error.message : "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poco-ai/agentero-dsh-pdf",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },