Socket
Socket
Sign inDemoInstall

wargamer

Package Overview
Dependencies
42
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

0.5.0

Diff

Changelog

Source

[0.5.0]

Added

  • Additional options to configure the client's data cache.
  • Accounts module for all API clients.

Changed

  • The cacheTimeToLive client option now represents the TTL in seconds, not milliseconds.

Fixed

  • Issue with findVehicleProfile() not returning null when a vehicle ID match is not found.
hkwu
published 0.4.0 •

Changelog

Source

[0.4.0] - 2017-01-29

Added

  • Encyclopedia modules for World of Tanks Blitz, World of Tanks Console, World of Warplanes and World of Warships.
  • findVehicleProfile() method for World of Tanks module.

Changed

  • Removed options parameter from module convenience methods.

Fixed

  • Issue with request rejection handler not handling certain types of errors.
hkwu
published 0.3.1 •

Changelog

Source

[0.3.1] - 2017-01-22

No changes from previous release. Just a patch for npm.

hkwu
published 0.3.0 •

Changelog

Source

[0.3.0] - 2017-01-22

Added

  • Default language option for client constructor.
  • Client modules.
    • Separate components for each client with convenience methods associated with specific endpoints.
  • Caching system for requests.
  • More unit tests!

Changed

  • The World of Tanks Console client's factory method on the Wargamer class is now WoTX() instead of WoTC() in order to be consistent with the client slugs. The exported WorldOfTanksConsole client class remains the same.
  • Changed Webpack's Babel preset setting to >2% usage. Node distribution now builds based on Node v4 compatibility only.
  • APIResponse#response is now APIResponse#body.
  • Client methods that weren't entirely asynchronous have been rewritten to be 100% asynchronous.

Removed

  • APIResponse#url removed since it's not consistent with SuperAgent's response.
hkwu
published 0.2.1 •

Changelog

Source

[0.2.1] - 2017-01-09

Changed

  • Publishing process.

Removed

  • Web distribution from version control. For real this time.
hkwu
published 0.2.0 •

Changelog

Source

[0.2.0] - 2017-01-09

Changed

  • client.fetch() is now a private method. Requests must now go through client.get() or client.post(). The requestMethod option is no longer available.
  • Web distribution: the Wargamer object is now available as Wargamer or window.Wargamer (the name is capitalized).

Removed

  • Wiped out .npmignore in favour of package.json.
  • Web distribution removed from version control.
hkwu
published 0.1.2 •

Changelog

Source

[0.1.2] - 2017-01-04

Added

  • Webpack bundles for the client.

Fixed

  • Undefined property issue in client while handling responses.
hkwu
published 0.1.1 •

Changelog

Source

[0.1.1] - 2017-01-03

Added

  • Parameter normalization for request methods.

Fixed

  • Documentation build process for custom domains.
  • Missing entries in .npmignore.
  • Missing environment variables in Travis builds.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc