Releases: xivapi/xivapi-js
v0.3.2
Moved npm repository under the @xivapi scope. Existing installations should still work fine but receive an npm deprecation warning if you check for updated versions. The new way to install is npm i -S @xivapi/js.
I could not do too much testing before pushing this version, so if you find that anything has broken after the dependency version bump make an issue or get in contact with me and I will look into it immediately.
v0.3.0
Brought up to date with current XIVAPI version, specifically:
- Removed
marketandlodestonefunctionality. - Removed
character.verificationandcharacter.updatemethods. - Removed
data.schemamethod.
Extraneous messing with metadata and other manipulation of data produced by XIVAPI has been removed, specifically:
- Removed helper structure
statusfromget()methods. - Removed the extending of urls (such as icons, which are provided by XIVAPI in the form of
"/icons/example.jpg"and would be turned into"https://xivapi.com/icons/example.jpg"before).
Other changes:
- Moved
resources.serversandresources.datacenterstodataand made them fetch live data from XIVAPI instead of local storage. - Improved error messaging.
v0.2.4
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] })