coinranking / supplies

Cryptocurrency supply data library in JavaScript (open source) for getting total, circulating and max supplies from block explorers.
https://coinranking.com
MIT License
25 stars 18 forks source link

examples/getSupplyDash.js returns an error #690

Closed developeron29 closed 1 year ago

developeron29 commented 1 year ago

examples/getSupplyDash.js returns this error > (node:4919) UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property 'blockchain' of 'undefined' as it is undefined.

Screenshot 2022-11-01 at 4 20 44 PM

wouthoekstra commented 1 year ago

Thank you for noticing. The example file had an error, which is fixed here: https://github.com/coinranking/supplies/pull/696