Skip to content

Releases: xivapi/xivapi-js

v0.3.2

26 Jan 18:29

Choose a tag to compare

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

05 Sep 19:04

Choose a tag to compare

Brought up to date with current XIVAPI version, specifically:

  • Removed market and lodestone functionality.
  • Removed character.verification and character.update methods.
  • Removed data.schema method.

Extraneous messing with metadata and other manipulation of data produced by XIVAPI has been removed, specifically:

  • Removed helper structure status from get() 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.servers and resources.datacenters to data and made them fetch live data from XIVAPI instead of local storage.
  • Improved error messaging.

v0.2.4

15 May 22:53

Choose a tag to compare

  • Removed some extraneous server checking in some search commands.

v0.2.3

06 May 15:27

Choose a tag to compare

  • Added new datacenters to resources

v0.2.2

05 Apr 09:36

Choose a tag to compare

  • Fixed a typo that prevented character.update() from working properly.

v0.2.1

03 Apr 17:11

Choose a tag to compare

  • Removed int parsing, which was causing issues (and shouldn't have been there in the first place but hey we all make mistakes okay)

v0.2.0

01 Apr 17:53

Choose a tag to compare

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

26 Mar 19:50

Choose a tag to compare

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] })

Other changes:

v0.1.2

26 Feb 21:19

Choose a tag to compare

  • Fixed an issue with character.search() when provided with wrong server.

v0.1.1

04 Feb 15:32

Choose a tag to compare

  • Fixed search() when using JSON input.
  • Fixed small code inconsistencies.