Closed shehabghazy closed 4 months 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
How do you import the lib? It should be either import NotifmeSdk from 'notifme-sdk' or const NotifmeSdk = require('notifme-sdk').default
import NotifmeSdk from 'notifme-sdk'
const NotifmeSdk = require('notifme-sdk').default
when I import the package and use it as written in the readme file .. it throws this error:
TypeError: NotifmeSdk is not a constructor