- update pdf-js to v4
- peer dependencies changed to svelte v4, and latest pdfjs-dist v3
- 4b2093c: [breaking] add exports field
[breaking]
svelte-pdfjs/utils/vite
is nowsvelte-pdfjs/vite
document is not loaded on the server side
- feat: only render in ssr
- feat: add pagerendersuccess and pagerendererror events to Page and PageCanvas
- fix: use URL constructor for worker src
- update to pdf.js v3
- 70618d1: [breaking] change api for supplying worker
- [breaking] change api for supplying worker
- a9ef4d6: [breaking] make pdfjs-dist a peer dep, add setWorkerSrc
- [breaking] make pdfjs-dist a peer dep
- refactor pagecanvas styles
- 05d341a: fix "tried to restore ctx..." warning
- use a symbol for the context key (49689427a2c3dc619ad94ca892e17eb2dba1adf3)
- better error handling (48733c1b66ce515332e578676e89ff3a0efd2679)
- perf: speedup clearing text layer (b859f6a201ef6c8a76e6390f2367cb16465f85f7)
- 2ca6fbd: set dimensions on page canvas through attributes instead of manual dom manipulations
- adc9629: Update PDFJS to 2.13 and update dev deps