farling42 / fvtt-pdf-pager

PDF Pager for Foundry
MIT License
6 stars 4 forks source link

pdfjs fails to initialise on Foundry V11 #105

Closed farling42 closed 2 months ago

farling42 commented 2 months ago

pdfjs V4.4 requires a very recent version of Node, since it uses Promise.withResolvers() which is only available in very recent browsers.

pdfjs V4.2 seems to require the same recent version.

Maybe the legacy-dist is more lenient in this situation.

farling42 commented 2 months ago

The legacy-dist version of the pdfjs distributable files contains JS which isn't cutting edge, and so is more likely to work with Foundry V10+ and older browsers.

Fixed in V1.1.1