@pinta365/blizzard_api 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -117,7 +117,8 @@ export interface AccountToysCollection extends AccountLinks {
117
117
  toys: CollectedToy[];
118
118
  }
119
119
  export interface AccountHeirloomsCollection extends AccountLinks {
120
- heirlooms: CollectedHeirloom[];
120
+ /** Absent when the account has collected no heirlooms. */
121
+ heirlooms?: CollectedHeirloom[];
121
122
  }
122
123
  export interface AccountTransmogsCollection extends AccountLinks {
123
124
  appearance_sets: KeyNameId[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinta365/blizzard_api",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "TS library to interact with the Blizzard Battle.net API. World of Warcraft, World of Warcraft Classic, StarCraft 2, Diablo 3, Hearthstone.",
5
5
  "keywords": [
6
6
  "blizzard",
@@ -117,7 +117,8 @@ export interface AccountToysCollection extends AccountLinks {
117
117
  toys: CollectedToy[];
118
118
  }
119
119
  export interface AccountHeirloomsCollection extends AccountLinks {
120
- heirlooms: CollectedHeirloom[];
120
+ /** Absent when the account has collected no heirlooms. */
121
+ heirlooms?: CollectedHeirloom[];
121
122
  }
122
123
  export interface AccountTransmogsCollection extends AccountLinks {
123
124
  appearance_sets: KeyNameId[];