@blizzard-api/wow 0.2.0 → 0.2.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.
package/README.md CHANGED
@@ -35,6 +35,10 @@ const achievement = wow.achievement(123);
35
35
  type AchievementResponse = ExtractResourceType<typeof achievement>;
36
36
  ```
37
37
 
38
+ ## Types
39
+
40
+ The types are manually created from using the Blizzard API documentation, and are as accurate as possible with smoke testing each endpoint. However, no-one is perfect so there is likely be some discrepancies. If you encounter any issues with the types from this package, please open an issue or a pull request.
41
+
38
42
  ### Client
39
43
 
40
44
  While this package is made to function on it's own, it performs even better when combined with `@blizzard-api/client` where you can easily request data combining the two libraries.
package/dist/index.d.cts CHANGED
@@ -176,8 +176,8 @@ interface AzeriteEssenceSearchResponseItem extends KeyBase {
176
176
  }
177
177
 
178
178
  type WithoutUnderscore<T extends string> = T extends `${infer Prefix}_${infer Suffix}` ? `${Prefix}${Suffix}` : never;
179
- type RealmCategory = 'English' | 'French' | 'German' | 'Italian' | 'PS' | 'Russian' | 'Spanish';
180
- type RealmTimezone = 'America/New_York' | 'Europe/Paris';
179
+ type RealmCategory = 'English' | 'French' | 'German' | 'Italian' | 'PS' | 'Russian' | 'Spanish' | 'Brazil' | 'Latin America' | 'Oceanic' | 'United States' | '한국';
180
+ type RealmTimezone = 'America/Chicago' | 'America/Denver' | 'America/Los_Angeles' | 'America/New_York' | 'America/Sao_Paulo' | 'Asia/Seoul' | 'Australia/Melbourne' | 'Europe/Paris';
181
181
  type RealmTypeCapitalized = 'NORMAL' | 'RP';
182
182
  type RealmType = 'Normal' | 'Roleplaying';
183
183
  interface RealmIndexResponse extends ResponseBase {
package/dist/index.d.ts CHANGED
@@ -176,8 +176,8 @@ interface AzeriteEssenceSearchResponseItem extends KeyBase {
176
176
  }
177
177
 
178
178
  type WithoutUnderscore<T extends string> = T extends `${infer Prefix}_${infer Suffix}` ? `${Prefix}${Suffix}` : never;
179
- type RealmCategory = 'English' | 'French' | 'German' | 'Italian' | 'PS' | 'Russian' | 'Spanish';
180
- type RealmTimezone = 'America/New_York' | 'Europe/Paris';
179
+ type RealmCategory = 'English' | 'French' | 'German' | 'Italian' | 'PS' | 'Russian' | 'Spanish' | 'Brazil' | 'Latin America' | 'Oceanic' | 'United States' | '한국';
180
+ type RealmTimezone = 'America/Chicago' | 'America/Denver' | 'America/Los_Angeles' | 'America/New_York' | 'America/Sao_Paulo' | 'Asia/Seoul' | 'Australia/Melbourne' | 'Europe/Paris';
181
181
  type RealmTypeCapitalized = 'NORMAL' | 'RP';
182
182
  type RealmType = 'Normal' | 'Roleplaying';
183
183
  interface RealmIndexResponse extends ResponseBase {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blizzard-api/wow",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "license": "MIT",
5
5
  "author": "Putro",
6
6
  "description": "A series of helpers to interact with the World of Warcraft Blizzard API",