Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.1.0 is a breaking change. #38

Open
CodeMan99 opened this issue Apr 17, 2017 · 0 comments
Open

v1.1.0 is a breaking change. #38

CodeMan99 opened this issue Apr 17, 2017 · 0 comments
Assignees

Comments

@CodeMan99
Copy link
Owner

CodeMan99 commented Apr 17, 2017

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.

@CodeMan99 CodeMan99 self-assigned this Apr 17, 2017
Repository owner locked and limited conversation to collaborators Apr 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant