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.
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.
In v1.1.0 you need to create an instance with the exported function.
All arguments to the create function are optional. If you don't pass an application id, it is pulled from
process.env.APPLICATION_IDas it was before. The default region is REGION_NA. The default language is English.