notifme / notifme-sdk

A Node.js library to send all kinds of transactional notifications.
https://notifme.github.io/www/
MIT License
1.94k stars 150 forks source link

Fix export of class NotifmeSdk #98

Closed shehabghazy closed 7 months ago

shehabghazy commented 1 year ago

when I import the package and use it as written in the readme file .. it throws this error: TypeError: NotifmeSdk is not a constructor

it needs to update the export of class NotifmeSdk to be normal export not default and it will work as expected

BDav24 commented 8 months ago

Do you have a way to reproduce the error (gist or small project)? Because what you propose has a breaking change.