@blizzard-api/classic-wow 4.0.5 → 4.1.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.
@@ -0,0 +1,2 @@
1
+ import { t as characterSpecializationsSummary } from "../index-DCIoQ85A.js";
2
+ export { characterSpecializationsSummary };
@@ -1,5 +1,5 @@
1
1
  import { wowCharacterBasePath } from "@blizzard-api/core";
2
- //#region src/character-specialization/index.ts
2
+ //#region src/character-specializations/index.ts
3
3
  /**
4
4
  * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
5
5
  * @param realmSlug The slug of the realm.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/character-specializations/index.ts"],"sourcesContent":["import type { BlizzardNamespaces, Resource } from '@blizzard-api/core';\nimport { wowCharacterBasePath } from '@blizzard-api/core';\nimport type { CharacterSpecializationsSummaryResponse } from './types';\n\n/**\n * @param namespace The namespace to use. See {@link BlizzardNamespaces}.\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of a character's specializations.\n */\nexport function characterSpecializationsSummary(\n namespace: Extract<BlizzardNamespaces, 'profile-classic1x' | 'profile-classic'>,\n realmSlug: string,\n characterName: string,\n): Resource<CharacterSpecializationsSummaryResponse> {\n return {\n namespace,\n path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/specializations`,\n };\n}\n"],"mappings":";;;;;;;;AAUA,SAAgB,gCACd,WACA,WACA,eACmD;CACnD,OAAO;EACL;EACA,MAAM,GAAG,qBAAqB,GAAG,UAAU,GAAG,cAAc;CAC9D;AACF"}
@@ -12,7 +12,7 @@ interface ItemClassIndexResponse extends ResponseBase {
12
12
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
13
13
  */
14
14
  interface ItemClassResponse extends ResponseBase {
15
- class_id: number;
15
+ id: number;
16
16
  item_subclasses?: Array<NameIdKey>;
17
17
  name: string;
18
18
  }
@@ -70,10 +70,10 @@ interface ItemSearchResponse extends SearchResponseWithoutResults {
70
70
  * @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
71
71
  */
72
72
  interface ItemSubclassResponse extends ResponseBase {
73
- class_id: number;
74
73
  display_name: string;
75
74
  hide_subclass_in_tooltips?: boolean;
76
- subclass_id: number;
75
+ id: number;
76
+ item_class: NameIdKey;
77
77
  verbose_name?: string;
78
78
  }
79
79
  interface Armor {
@@ -286,4 +286,4 @@ declare function itemSearch(namespace: Extract<BlizzardNamespaces, 'static-class
286
286
  declare function itemSubclass(namespace: Extract<BlizzardNamespaces, 'static-classic1x' | 'static-classic'>, itemClassId: number, itemSubclassId: number): Resource<ItemSubclassResponse>;
287
287
  //#endregion
288
288
  export { itemSearch as a, ItemClassResponse as c, ItemSearchParameters as d, ItemSearchResponse as f, itemMedia as i, ItemMediaResponse as l, itemClass as n, itemSubclass as o, ItemSubclassResponse as p, itemClassIndex as r, ItemClassIndexResponse as s, item as t, ItemResponse as u };
289
- //# sourceMappingURL=index-D6ADoHQt.d.ts.map
289
+ //# sourceMappingURL=index-D0O_RzQb.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { BlizzardNamespaces, Character, NameId, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
2
- //#region src/character-specialization/types.d.ts
2
+ //#region src/character-specializations/types.d.ts
3
3
  interface CharacterSpecializationsSummaryResponse extends ResponseBase {
4
4
  active_specialization?: NameIdKey;
5
5
  character: Character;
@@ -37,7 +37,7 @@ interface TalentElement {
37
37
  talent_rank?: number;
38
38
  }
39
39
  //#endregion
40
- //#region src/character-specialization/index.d.ts
40
+ //#region src/character-specializations/index.d.ts
41
41
  /**
42
42
  * @param namespace The namespace to use. See {@link BlizzardNamespaces}.
43
43
  * @param realmSlug The slug of the realm.
@@ -47,4 +47,4 @@ interface TalentElement {
47
47
  declare function characterSpecializationsSummary(namespace: Extract<BlizzardNamespaces, 'profile-classic1x' | 'profile-classic'>, realmSlug: string, characterName: string): Resource<CharacterSpecializationsSummaryResponse>;
48
48
  //#endregion
49
49
  export { CharacterSpecializationsSummaryResponse as n, characterSpecializationsSummary as t };
50
- //# sourceMappingURL=index-Cdyf19Zy.d.ts.map
50
+ //# sourceMappingURL=index-DCIoQ85A.d.ts.map
package/dist/index.d.ts CHANGED
@@ -4,14 +4,14 @@ import { n as CharacterEquipmentSummaryResponse, t as characterEquipmentSummary
4
4
  import { n as CharacterHunterPetsSummaryResponse, t as characterHunterPetsSummary } from "./index-C3DdXCOU.js";
5
5
  import { n as CharacterMediaSummaryResponse, t as characterMediaSummary } from "./index-Caav35xE.js";
6
6
  import { i as CharacterProfileStatusResponse, n as characterProfileSummary, r as CharacterProfileSummaryResponse, t as characterProfileStatus } from "./index-DQHRdkfv.js";
7
- import { n as CharacterSpecializationsSummaryResponse, t as characterSpecializationsSummary } from "./index-Cdyf19Zy.js";
7
+ import { n as CharacterSpecializationsSummaryResponse, t as characterSpecializationsSummary } from "./index-DCIoQ85A.js";
8
8
  import { n as CharacterStatisticsSummaryResponse, t as characterStatisticsSummary } from "./index-C6_j4Esk.js";
9
9
  import { a as RealmSearchParameters, c as RealmTypeCapitalized, i as RealmResponse, n as RealmIndexResponse, o as RealmSearchResponse, r as RealmLocales, s as RealmTimezone, t as RealmCategory } from "./types-5Mwrkm82.js";
10
10
  import { a as ConnectedRealmResponse, i as ConnectedRealmIndexResponse, n as connectedRealmIndex, o as ConnectedRealmSearchParameters, r as connectedRealmSearch, s as ConnectedRealmSearchResponse, t as connectedRealm } from "./index-CDBSDqLP.js";
11
11
  import { _ as CreatureTypeResponse, a as creatureFamilyMedia, c as creatureTypeIndex, d as CreatureFamilyMediaResponse, f as CreatureFamilyResponse, g as CreatureTypeIndexResponse, h as CreatureSearchResponse, i as creatureFamilyIndex, l as CreatureDisplayMediaResponse, m as CreatureSearchParameters, n as creatureDisplayMedia, o as creatureSearch, p as CreatureResponse, r as creatureFamily, s as creatureType, t as creature, u as CreatureFamilyIndexResponse } from "./index-CN-9LndK.js";
12
12
  import { a as GuildCrestComponentsIndexResponse, i as GuildCrestBorderEmblemResponse, n as guildCrestComponentsIndex, r as guildCrestEmblem, t as guildCrestBorder } from "./index-BssCYm0w.js";
13
13
  import { a as GuildAchievementsClassicEraResponse, c as GuildResponse, i as guildRoster, l as GuildRosterResponse, n as guildAchievements, o as GuildAchievementsResponse, r as guildActivity, s as GuildActivityResponse, t as guild } from "./index-Vjr16k7v.js";
14
- import { a as itemSearch, c as ItemClassResponse, d as ItemSearchParameters, f as ItemSearchResponse, i as itemMedia, l as ItemMediaResponse, n as itemClass, o as itemSubclass, p as ItemSubclassResponse, r as itemClassIndex, s as ItemClassIndexResponse, t as item, u as ItemResponse } from "./index-D6ADoHQt.js";
14
+ import { a as itemSearch, c as ItemClassResponse, d as ItemSearchParameters, f as ItemSearchResponse, i as itemMedia, l as ItemMediaResponse, n as itemClass, o as itemSubclass, p as ItemSubclassResponse, r as itemClassIndex, s as ItemClassIndexResponse, t as item, u as ItemResponse } from "./index-D0O_RzQb.js";
15
15
  import { n as MediaSearchParameters, r as MediaSearchResponse, t as mediaSearch } from "./index-RXB4hyX6.js";
16
16
  import { a as PlayableClassMediaResponse, i as PlayableClassIndexResponse, n as playableClassIndex, o as PlayableClassResponse, r as playableClassMedia, t as playableClass } from "./index-BlQvrHvE.js";
17
17
  import { i as PlayableRaceResponse, n as playableRaceIndex, r as PlayableRaceIndexResponse, t as playableRace } from "./index-DX3qGBKu.js";
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { characterEquipmentSummary } from "./character-equipment/index.js";
4
4
  import { characterHunterPetsSummary } from "./character-hunter-pets/index.js";
5
5
  import { characterMediaSummary } from "./character-media/index.js";
6
6
  import { characterProfileStatus, characterProfileSummary } from "./character-profile/index.js";
7
- import { characterSpecializationsSummary } from "./character-specialization/index.js";
7
+ import { characterSpecializationsSummary } from "./character-specializations/index.js";
8
8
  import { characterStatisticsSummary } from "./character-statistics/index.js";
9
9
  import { connectedRealm, connectedRealmIndex, connectedRealmSearch } from "./connected-realm/index.js";
10
10
  import { creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex } from "./creature/index.js";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import { auctionHouseIndex, auctions } from './auction-house/index';\r\nimport { characterAchievementsSummary, characterAchievementStatistics } from './character-achievements/index';\r\nimport { characterEquipmentSummary } from './character-equipment/index';\r\nimport { characterHunterPetsSummary } from './character-hunter-pets/index';\r\nimport { characterMediaSummary } from './character-media/index';\r\nimport { characterProfileStatus, characterProfileSummary } from './character-profile/index';\r\nimport { characterSpecializationsSummary } from './character-specialization/index';\r\nimport { characterStatisticsSummary } from './character-statistics/index';\r\nimport { connectedRealm, connectedRealmIndex, connectedRealmSearch } from './connected-realm/index';\r\nimport {\r\n creature,\r\n creatureDisplayMedia,\r\n creatureFamily,\r\n creatureFamilyIndex,\r\n creatureFamilyMedia,\r\n creatureSearch,\r\n creatureType,\r\n creatureTypeIndex,\r\n} from './creature/index';\r\nimport { guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem } from './guild-crest/index';\r\nimport { guild, guildAchievements, guildActivity, guildRoster } from './guild/index';\r\nimport { item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSubclass } from './item/index';\r\nimport { mediaSearch } from './media-search/index';\r\nimport { playableClass, playableClassIndex, playableClassMedia } from './playable-class/index';\r\nimport { playableRace, playableRaceIndex } from './playable-race/index';\r\nimport { powerType, powerTypeIndex } from './power-type/index';\r\nimport {\r\n pvpLeaderboard,\r\n pvpLeaderboardIndex,\r\n pvpRegionalSeason,\r\n pvpRegionalSeasonIndex,\r\n pvpRegionIndex,\r\n pvpRewardsIndex,\r\n pvpSeason,\r\n pvpSeasonIndex,\r\n} from './pvp-season/index';\r\nimport { realm, realmIndex, realmSearch } from './realm/index';\r\nimport { region, regionIndex } from './region/index';\r\n\r\nconst classicWow = {\r\n //Auction House\r\n auctionHouseIndex,\r\n auctions,\r\n //Character Achievements\r\n characterAchievementsSummary,\r\n characterAchievementStatistics,\r\n //Character Equipment\r\n characterEquipmentSummary,\r\n //Character Hunter Pets\r\n characterHunterPetsSummary,\r\n //Character Media\r\n characterMediaSummary,\r\n //Character Profile\r\n characterProfileStatus,\r\n characterProfileSummary,\r\n //Character Specialization\r\n characterSpecializationsSummary,\r\n //Character Statistics\r\n characterStatisticsSummary,\r\n //Connected Realm\r\n connectedRealm,\r\n connectedRealmIndex,\r\n connectedRealmSearch,\r\n //Creature\r\n creature,\r\n creatureDisplayMedia,\r\n creatureFamily,\r\n creatureFamilyIndex,\r\n creatureFamilyMedia,\r\n creatureSearch,\r\n creatureType,\r\n creatureTypeIndex,\r\n //Guild\r\n guild,\r\n guildAchievements,\r\n guildActivity,\r\n guildRoster,\r\n //Guild Crest\r\n guildCrestBorder,\r\n guildCrestComponentsIndex,\r\n guildCrestEmblem,\r\n //Item\r\n item,\r\n itemClass,\r\n itemClassIndex,\r\n itemMedia,\r\n itemSearch,\r\n itemSubclass,\r\n //Media Search\r\n mediaSearch,\r\n //Playable Class\r\n playableClass,\r\n playableClassIndex,\r\n playableClassMedia,\r\n //Playable Race\r\n playableRace,\r\n playableRaceIndex,\r\n //Power Type\r\n powerType,\r\n powerTypeIndex,\r\n //Pvp Season\r\n pvpLeaderboard,\r\n pvpLeaderboardIndex,\r\n pvpRegionalSeason,\r\n pvpRegionalSeasonIndex,\r\n pvpRegionIndex,\r\n pvpRewardsIndex,\r\n pvpSeason,\r\n pvpSeasonIndex,\r\n //Realm\r\n realm,\r\n realmIndex,\r\n realmSearch,\r\n //Region\r\n region,\r\n regionIndex,\r\n};\r\nexport default classicWow;\r\nexport { classicWow };\r\n\r\n//Auction House\r\nexport * from './auction-house/index';\r\nexport type * from './auction-house/types';\r\n//Character Achievements\r\nexport * from './character-achievements/index';\r\nexport type * from './character-achievements/types';\r\n//Character Equipment\r\nexport * from './character-equipment/index';\r\nexport type * from './character-equipment/types';\r\n//Character Hunter Pets\r\nexport * from './character-hunter-pets/index';\r\nexport type * from './character-hunter-pets/types';\r\n//Character Media\r\nexport * from './character-media/index';\r\nexport type * from './character-media/types';\r\n//Character Profile\r\nexport * from './character-profile/index';\r\nexport type * from './character-profile/types';\r\n//Character Specialization\r\nexport * from './character-specialization/index';\r\nexport type * from './character-specialization/types';\r\n//Character Statistics\r\nexport * from './character-statistics/index';\r\nexport type * from './character-statistics/types';\r\n//Connected Realm\r\nexport * from './connected-realm/index';\r\nexport type * from './connected-realm/types';\r\n//Creature\r\nexport * from './creature/index';\r\nexport type * from './creature/types';\r\n//Guild\r\nexport * from './guild/index';\r\nexport type * from './guild/types';\r\n//Guild Crest\r\nexport * from './guild-crest/index';\r\nexport type * from './guild-crest/types';\r\n//Item\r\nexport * from './item/index';\r\nexport type * from './item/types';\r\n//Media Search\r\nexport * from './media-search/index';\r\nexport type * from './media-search/types';\r\n//Playable Class\r\nexport * from './playable-class/index';\r\nexport type * from './playable-class/types';\r\n//Playable Race\r\nexport * from './playable-race/index';\r\nexport type * from './playable-race/types';\r\n//Power Type\r\nexport * from './power-type/index';\r\nexport type * from './power-type/types';\r\n//Pvp Season\r\nexport * from './pvp-season/index';\r\nexport type * from './pvp-season/types';\r\n//Realm\r\nexport * from './realm/index';\r\nexport type * from './realm/types';\r\n//Region\r\nexport * from './region/index';\r\nexport type * from './region/types';\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAuCA,MAAM,aAAa;CAEjB;CACA;CAEA;CACA;CAEA;CAEA;CAEA;CAEA;CACA;CAEA;CAEA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CAEA;CAEA;CACA;CACA;CAEA;CACA;CAEA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;AACF"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import { auctionHouseIndex, auctions } from './auction-house/index';\r\nimport { characterAchievementsSummary, characterAchievementStatistics } from './character-achievements/index';\r\nimport { characterEquipmentSummary } from './character-equipment/index';\r\nimport { characterHunterPetsSummary } from './character-hunter-pets/index';\r\nimport { characterMediaSummary } from './character-media/index';\r\nimport { characterProfileStatus, characterProfileSummary } from './character-profile/index';\r\nimport { characterSpecializationsSummary } from './character-specializations/index';\r\nimport { characterStatisticsSummary } from './character-statistics/index';\r\nimport { connectedRealm, connectedRealmIndex, connectedRealmSearch } from './connected-realm/index';\r\nimport {\r\n creature,\r\n creatureDisplayMedia,\r\n creatureFamily,\r\n creatureFamilyIndex,\r\n creatureFamilyMedia,\r\n creatureSearch,\r\n creatureType,\r\n creatureTypeIndex,\r\n} from './creature/index';\r\nimport { guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem } from './guild-crest/index';\r\nimport { guild, guildAchievements, guildActivity, guildRoster } from './guild/index';\r\nimport { item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSubclass } from './item/index';\r\nimport { mediaSearch } from './media-search/index';\r\nimport { playableClass, playableClassIndex, playableClassMedia } from './playable-class/index';\r\nimport { playableRace, playableRaceIndex } from './playable-race/index';\r\nimport { powerType, powerTypeIndex } from './power-type/index';\r\nimport {\r\n pvpLeaderboard,\r\n pvpLeaderboardIndex,\r\n pvpRegionalSeason,\r\n pvpRegionalSeasonIndex,\r\n pvpRegionIndex,\r\n pvpRewardsIndex,\r\n pvpSeason,\r\n pvpSeasonIndex,\r\n} from './pvp-season/index';\r\nimport { realm, realmIndex, realmSearch } from './realm/index';\r\nimport { region, regionIndex } from './region/index';\r\n\r\nconst classicWow = {\r\n //Auction House\r\n auctionHouseIndex,\r\n auctions,\r\n //Character Achievements\r\n characterAchievementsSummary,\r\n characterAchievementStatistics,\r\n //Character Equipment\r\n characterEquipmentSummary,\r\n //Character Hunter Pets\r\n characterHunterPetsSummary,\r\n //Character Media\r\n characterMediaSummary,\r\n //Character Profile\r\n characterProfileStatus,\r\n characterProfileSummary,\r\n //Character Specialization\r\n characterSpecializationsSummary,\r\n //Character Statistics\r\n characterStatisticsSummary,\r\n //Connected Realm\r\n connectedRealm,\r\n connectedRealmIndex,\r\n connectedRealmSearch,\r\n //Creature\r\n creature,\r\n creatureDisplayMedia,\r\n creatureFamily,\r\n creatureFamilyIndex,\r\n creatureFamilyMedia,\r\n creatureSearch,\r\n creatureType,\r\n creatureTypeIndex,\r\n //Guild\r\n guild,\r\n guildAchievements,\r\n guildActivity,\r\n guildRoster,\r\n //Guild Crest\r\n guildCrestBorder,\r\n guildCrestComponentsIndex,\r\n guildCrestEmblem,\r\n //Item\r\n item,\r\n itemClass,\r\n itemClassIndex,\r\n itemMedia,\r\n itemSearch,\r\n itemSubclass,\r\n //Media Search\r\n mediaSearch,\r\n //Playable Class\r\n playableClass,\r\n playableClassIndex,\r\n playableClassMedia,\r\n //Playable Race\r\n playableRace,\r\n playableRaceIndex,\r\n //Power Type\r\n powerType,\r\n powerTypeIndex,\r\n //Pvp Season\r\n pvpLeaderboard,\r\n pvpLeaderboardIndex,\r\n pvpRegionalSeason,\r\n pvpRegionalSeasonIndex,\r\n pvpRegionIndex,\r\n pvpRewardsIndex,\r\n pvpSeason,\r\n pvpSeasonIndex,\r\n //Realm\r\n realm,\r\n realmIndex,\r\n realmSearch,\r\n //Region\r\n region,\r\n regionIndex,\r\n};\r\nexport default classicWow;\r\nexport { classicWow };\r\n\r\n//Auction House\r\nexport * from './auction-house/index';\r\nexport type * from './auction-house/types';\r\n//Character Achievements\r\nexport * from './character-achievements/index';\r\nexport type * from './character-achievements/types';\r\n//Character Equipment\r\nexport * from './character-equipment/index';\r\nexport type * from './character-equipment/types';\r\n//Character Hunter Pets\r\nexport * from './character-hunter-pets/index';\r\nexport type * from './character-hunter-pets/types';\r\n//Character Media\r\nexport * from './character-media/index';\r\nexport type * from './character-media/types';\r\n//Character Profile\r\nexport * from './character-profile/index';\r\nexport type * from './character-profile/types';\r\n//Character Specialization\r\nexport * from './character-specializations/index';\r\nexport type * from './character-specializations/types';\r\n//Character Statistics\r\nexport * from './character-statistics/index';\r\nexport type * from './character-statistics/types';\r\n//Connected Realm\r\nexport * from './connected-realm/index';\r\nexport type * from './connected-realm/types';\r\n//Creature\r\nexport * from './creature/index';\r\nexport type * from './creature/types';\r\n//Guild\r\nexport * from './guild/index';\r\nexport type * from './guild/types';\r\n//Guild Crest\r\nexport * from './guild-crest/index';\r\nexport type * from './guild-crest/types';\r\n//Item\r\nexport * from './item/index';\r\nexport type * from './item/types';\r\n//Media Search\r\nexport * from './media-search/index';\r\nexport type * from './media-search/types';\r\n//Playable Class\r\nexport * from './playable-class/index';\r\nexport type * from './playable-class/types';\r\n//Playable Race\r\nexport * from './playable-race/index';\r\nexport type * from './playable-race/types';\r\n//Power Type\r\nexport * from './power-type/index';\r\nexport type * from './power-type/types';\r\n//Pvp Season\r\nexport * from './pvp-season/index';\r\nexport type * from './pvp-season/types';\r\n//Realm\r\nexport * from './realm/index';\r\nexport type * from './realm/types';\r\n//Region\r\nexport * from './region/index';\r\nexport type * from './region/types';\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAuCA,MAAM,aAAa;CAEjB;CACA;CAEA;CACA;CAEA;CAEA;CAEA;CAEA;CACA;CAEA;CAEA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CAEA;CAEA;CACA;CACA;CAEA;CACA;CAEA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;AACF"}
@@ -1,2 +1,2 @@
1
- import { a as itemSearch, i as itemMedia, n as itemClass, o as itemSubclass, r as itemClassIndex, t as item } from "../index-D6ADoHQt.js";
1
+ import { a as itemSearch, i as itemMedia, n as itemClass, o as itemSubclass, r as itemClassIndex, t as item } from "../index-D0O_RzQb.js";
2
2
  export { item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSubclass };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blizzard-api/classic-wow",
3
- "version": "4.0.5",
3
+ "version": "4.1.1",
4
4
  "license": "MIT",
5
5
  "author": "Putro",
6
6
  "description": "A series of helpers to interact with the World of Warcraft Classic Blizzard API",
@@ -1,2 +0,0 @@
1
- import { t as characterSpecializationsSummary } from "../index-Cdyf19Zy.js";
2
- export { characterSpecializationsSummary };
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/character-specialization/index.ts"],"sourcesContent":["import type { BlizzardNamespaces, Resource } from '@blizzard-api/core';\nimport { wowCharacterBasePath } from '@blizzard-api/core';\nimport type { CharacterSpecializationsSummaryResponse } from './types';\n\n/**\n * @param namespace The namespace to use. See {@link BlizzardNamespaces}.\n * @param realmSlug The slug of the realm.\n * @param characterName The lowercase name of the character.\n * @returns a summary of a character's specializations.\n */\nexport function characterSpecializationsSummary(\n namespace: Extract<BlizzardNamespaces, 'profile-classic1x' | 'profile-classic'>,\n realmSlug: string,\n characterName: string,\n): Resource<CharacterSpecializationsSummaryResponse> {\n return {\n namespace,\n path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/specializations`,\n };\n}\n"],"mappings":";;;;;;;;AAUA,SAAgB,gCACd,WACA,WACA,eACmD;CACnD,OAAO;EACL;EACA,MAAM,GAAG,qBAAqB,GAAG,UAAU,GAAG,cAAc;CAC9D;AACF"}