-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Anyone upgrading from v1.0.0 to v1.1.0 needs to be aware that it is a breaking API change.
In v1.0.0 you can get an instance by simply requiring the module.
var wotblitz = require('wotblitz');
In v1.1.0 you need to create an instance with the exported function.
var create = require('wotblitz');
var wotblitz = create('application_id', create.REGION_NA, create.LANGUAGES.English);
All arguments to the create function are optional. If you don't pass an application id, it is pulled from process.env.APPLICATION_ID
as it was before. The default region is REGION_NA. The default language is English.
Metadata
Metadata
Assignees
Labels
No labels