Closed aodinok closed 1 year ago
See: https://github.com/messagebird/messagebird-nodejs/issues/55
To avoid problems with export default - switch to named export. This is going to be a breaking change.
After this is merged MB client will need to be imported differently.
With ES6 import syntax:
import { initClient } from "messagebird"; const messagebird = initClient("MB_API_KEY");
With require syntax:
const messagebird = require("messagebird").initClient("MB_API_KEY");
Package version 4.0.0-alpha will be published soon for tests.
4.0.0-alpha
See: https://github.com/messagebird/messagebird-nodejs/issues/55
To avoid problems with export default - switch to named export. This is going to be a breaking change.
After this is merged MB client will need to be imported differently.
With ES6 import syntax:
With require syntax:
Package version
4.0.0-alpha
will be published soon for tests.