5.0.1
Improvements
- [#311] - Update pdfjs
- [#308] - Not working on IOS on both Chrome and Safari
- [#302] - ng2-pdf-viewer dependencies have conflicts with webpack >= 3
Breaking changes
PDFJS is not attached to the window
therefore setting custom path to the worker changed to window.pdfWorkerSrc
:
(<any>window).pdfWorkerSrc = '/pdf.worker.js';