webplan-pro / currency-list

package for mutli locale currency list
8 stars 4 forks source link

currencyList.get is not a function #2

Closed xXAvoraXx closed 2 years ago

xXAvoraXx commented 2 years ago

After the new update the functions stopped working.

import currencyList from 'currency-list';

currencyList.get('USD');

TypeError: currencyList.get is not a function

tuturis commented 2 years ago

Thanks for the notification and sorry for the inconvenience. The webpack build that I changed while patching, did not respect default exports so I changed the build back

tuturis commented 2 years ago

Patched to 1.0.8 btw.