Open minusdavid opened 3 years ago
I just tried with my sample code again (just a bit of Javascript on a static HTML page), and https://unpkg.com/@zxing/browser@0.0.9/umd/zxing-browser.js didn't work. However, https://unpkg.com/@zxing/library@0.18.6/umd/index.min.js, did work when using ZXing.BrowserMultiFormatReader.
Stale issue message
I am loving zxing-js, but I am curious where is the best place to download compiled Javascript releases that can be used client-side?
I notice many examples use https://unpkg.com/@zxing/library@latest, but that URL is currently broken, and I like to avoid CDNs and embed libraries in my projects.
That said, I was using https://unpkg.com/@zxing/library@latest back on May 21st 2021 and I was getting back Javascript that was working with the examples. I saved a local copy, but it doesn't have any embedded version numbers and it doesn't exactly match anything I can find online.
I'm guessing that URL might have resolved to something like https://cdn.jsdelivr.net/npm/@zxing/browser@0.0.9/umd/zxing-browser.js but I don't really know.