Releases: xivapi/xivapi-js
Releases · xivapi/xivapi-js
v0.2.3
v0.2.2
v0.2.1
v0.2.0
Breaking changes:
- Added new market functionality. Most of the previous market methods are gone because of this, and new functionality has been compounded into a single method,
market.get()
. Make sure to check the wiki for the changes.
Other changes:
- Fixed an issue around snake_case.
- Added a verbose option for debugging.
v0.1.3
Important Change:
Changes have been made with how XIVAPI handles its API keys from now on. As a result, the way keys are provided during initialization of the module has also changed:
- Since the API keys are no longer mandatory, you can simply init without providing one:
const xiv = new XIVAPI()
- If you want to use a key, you can do so by adding it to the optional global params object.
const xiv = new XIVAPI( { private_key: 'myKey' } )
The old way of providing an API key separately from the global parameters will no longer work, and show a warning instead. If you want to change your existing code, you should get your new API key (only from the staging version right now) and make the following change:
Old:
const xiv = new XIVAPI('myOldKey', { [other params] })
New:
const xiv = new XIVAPI({ private_key: 'myNewKey', [other params] })