Skip to content

Releases: benweier/blizzard.js

v4.6.0

03 Dec 11:19
a081e0a
Compare
Choose a tag to compare

Been a little while since I tagged a release. Sorry about that.

  • Adds WoW Classic Era client (thanks @cosileone!)
  • Updates allowed params for HS Card and Deck API methods (thanks @ziyafenn!)
  • Adds Profile Data API methods to WoW Classic and WoW Classic Era clients (thanks @bfaler!)

WoW Classic Era

The new Classic Era client can be instantiated with

await wow.classic.createEraInstance(...)

v4.3.0

30 Aug 09:36
bfa21fb
Compare
Choose a tag to compare
  • Adds wow.commodities method to WoW retail client (reported by @Akandesh)
  • Upgrades dependencies
  • Drops Node v12 from the build matrix, although supported versions remains at >=10

v4.2.0

04 Jan 04:33
88d2766
Compare
Choose a tag to compare
  • Adds gameMode param to the hs.card method (reported by @jotarun)
  • Adds an optional headers?: { [key: string]: string } argument to all API client methods (requested by @dagohan)
  • Upgrades dependencies, removes some dev dependencies I never got around to using

v4.1.1

07 Aug 06:07
7e2aa4a
Compare
Choose a tag to compare
  • [Fix] Update the WoW Conduit API path (thanks @poalrom)

v4.1.0

28 Feb 12:03
e215d22
Compare
Choose a tag to compare
  • Fixes a silly mistake where the namespace value wasn't set for the WoW Classic client (#123)
  • Miscellaneous dev dependency updates

v4.0.2

27 Feb 03:20
e6d96f8
Compare
Choose a tag to compare

Bugfix: HTTP GET deprecated for /oauth/token endpoint (ref). Closes #122 - thanks @dgelineau

v4.0.1

07 Feb 08:54
5063292
Compare
Choose a tag to compare
  • No changes, just fixing some docs

v4.0.0

07 Feb 03:03
1577726
Compare
Choose a tag to compare

The One With TypeScript

The long-awaited TypeScript release has arrived. This brings with it support for the latest Blizzard APIs, a new way to import/instantiate the library per game client, and a complete rewrite of the underlying resources. It's practically a whole new library at this point.

MIGRATION GUIDE

v3.2.0

22 Sep 07:15
Compare
Choose a tag to compare

This release includes support for the Hearthstone Game Data API via the hs namespace.

Search cards

blizzard.hs.cards({ set: 'rise-of-shadows' })

Valid search parameters include attack, class, collectible, health, keyword, manaCost, minionType, order, page, pageSize, rarity, set, sort, textFilter, and type. See the Hearthstone Guide for more information.

Get a card by ID or slug

blizzard.hs.cards({ card: '52119-arch-villain-rafaam' })

Get a deck by code

blizzard.hs.deck({ code: 'AAECAQcG+wyd8AKS+AKggAOblAPanQMMS6IE/web8wLR9QKD+wKe+wKz/AL1gAOXlAOalAOSnwMA' })

Get all metadata

blizzard.hs.metadata()

Get metadata by type

blizzard.hs.metadata({ type: 'sets' })

Valid metadata values include sets, setGroups, types, rarities, classes, minionTypes, and keywords.

v3.1.0

16 Jun 00:48
Compare
Choose a tag to compare

Dependency Update (#89)

  • Axios 0.19.0
  • Jest 24.8.0
  • ESLint 5.16.0
  • Prettier 1.18.0
  • Codecov 3.5.0

Thanks to @rejas