@blizzard-api/wow 4.2.1 → 4.2.2
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/dist/account-profile/index.d.ts +1 -1
- package/dist/account-profile/index.js +8 -8
- package/dist/account-profile/index.js.map +1 -1
- package/dist/{index-DyhS61bj.d.ts → index-BaL7P-bA.d.ts} +2 -2
- package/dist/{index-FuJJlGI3.d.ts → index-V1Na_uH5.d.ts} +17 -17
- package/dist/index.d.ts +2 -2
- package/dist/quest/index.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as accountPetsCollectionSummary, c as accountTransmogsCollectionSummary, i as accountMountsCollectionSummary, l as protectedCharacterProfileSummary, n as accountDecorCollection, o as accountProfileSummary, r as accountHeirloomsCollectionSummary, s as accountToysCollectionSummary, t as accountCollectionsIndex } from "../index-
|
|
1
|
+
import { a as accountPetsCollectionSummary, c as accountTransmogsCollectionSummary, i as accountMountsCollectionSummary, l as protectedCharacterProfileSummary, n as accountDecorCollection, o as accountProfileSummary, r as accountHeirloomsCollectionSummary, s as accountToysCollectionSummary, t as accountCollectionsIndex } from "../index-V1Na_uH5.js";
|
|
2
2
|
export { accountCollectionsIndex, accountDecorCollection, accountHeirloomsCollectionSummary, accountMountsCollectionSummary, accountPetsCollectionSummary, accountProfileSummary, accountToysCollectionSummary, accountTransmogsCollectionSummary, protectedCharacterProfileSummary };
|
|
@@ -2,7 +2,7 @@ import { wowAccountProfileBasePath } from "@blizzard-api/core";
|
|
|
2
2
|
// src/account-profile/index.ts
|
|
3
3
|
/**
|
|
4
4
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
5
|
-
* @param token
|
|
5
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
6
6
|
* @returns an index of collection types for an account.
|
|
7
7
|
*/
|
|
8
8
|
function accountCollectionsIndex(token) {
|
|
@@ -14,7 +14,7 @@ function accountCollectionsIndex(token) {
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
17
|
-
* @param token
|
|
17
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
18
18
|
* @returns the housing decor an account has collected.
|
|
19
19
|
*/
|
|
20
20
|
function accountDecorCollection(token) {
|
|
@@ -26,7 +26,7 @@ function accountDecorCollection(token) {
|
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
29
|
-
* @param token
|
|
29
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
30
30
|
* @returns a summary of the heirlooms an account has obtained.
|
|
31
31
|
*/
|
|
32
32
|
function accountHeirloomsCollectionSummary(token) {
|
|
@@ -38,7 +38,7 @@ function accountHeirloomsCollectionSummary(token) {
|
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
41
|
-
* @param token
|
|
41
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
42
42
|
* @returns a summary of the mounts an account has obtained.
|
|
43
43
|
*/
|
|
44
44
|
function accountMountsCollectionSummary(token) {
|
|
@@ -50,7 +50,7 @@ function accountMountsCollectionSummary(token) {
|
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
52
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
53
|
-
* @param token
|
|
53
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
54
54
|
* @returns a summary of the battle pets an account has obtained.
|
|
55
55
|
*/
|
|
56
56
|
function accountPetsCollectionSummary(token) {
|
|
@@ -62,7 +62,7 @@ function accountPetsCollectionSummary(token) {
|
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
65
|
-
* @param token
|
|
65
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
66
66
|
* @returns a profile summary for an account.
|
|
67
67
|
*/
|
|
68
68
|
function accountProfileSummary(token) {
|
|
@@ -74,7 +74,7 @@ function accountProfileSummary(token) {
|
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
76
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
77
|
-
* @param token
|
|
77
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
78
78
|
* @returns a summary of the toys an account has obtained.
|
|
79
79
|
*/
|
|
80
80
|
function accountToysCollectionSummary(token) {
|
|
@@ -86,7 +86,7 @@ function accountToysCollectionSummary(token) {
|
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
89
|
-
* @param token
|
|
89
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
90
90
|
* @returns a summary of the transmog unlocks an account has obtained.
|
|
91
91
|
*/
|
|
92
92
|
function accountTransmogsCollectionSummary(token) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/account-profile/index.ts"],"sourcesContent":["import { wowAccountProfileBasePath } from '@blizzard-api/core';\nimport type { ProtectedResource } from '@blizzard-api/core';\nimport type {\n AccountCollectionsIndexResponse,\n AccountDecorCollectionResponse,\n AccountHeirloomsCollectionSummaryResponse,\n AccountMountsCollectionSummaryResponse,\n AccountPetsCollectionSummaryResponse,\n AccountProfileSummaryResponse,\n AccountToysCollectionSummaryResponse,\n AccountTransmogsCollectionSummaryResponse,\n ProtectedCharacterProfileSummaryResponse,\n} from './types';\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/account-profile/index.ts"],"sourcesContent":["import { wowAccountProfileBasePath } from '@blizzard-api/core';\nimport type { ProtectedResource } from '@blizzard-api/core';\nimport type {\n AccountCollectionsIndexResponse,\n AccountDecorCollectionResponse,\n AccountHeirloomsCollectionSummaryResponse,\n AccountMountsCollectionSummaryResponse,\n AccountPetsCollectionSummaryResponse,\n AccountProfileSummaryResponse,\n AccountToysCollectionSummaryResponse,\n AccountTransmogsCollectionSummaryResponse,\n ProtectedCharacterProfileSummaryResponse,\n} from './types';\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns an index of collection types for an account.\n */\nexport function accountCollectionsIndex(token?: string): ProtectedResource<AccountCollectionsIndexResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns the housing decor an account has collected.\n */\nexport function accountDecorCollection(token?: string): ProtectedResource<AccountDecorCollectionResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/decor`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns a summary of the heirlooms an account has obtained.\n */\nexport function accountHeirloomsCollectionSummary(\n token?: string,\n): ProtectedResource<AccountHeirloomsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/heirlooms`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns a summary of the mounts an account has obtained.\n */\nexport function accountMountsCollectionSummary(\n token?: string,\n): ProtectedResource<AccountMountsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/mounts`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns a summary of the battle pets an account has obtained.\n */\nexport function accountPetsCollectionSummary(token?: string): ProtectedResource<AccountPetsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/pets`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns a profile summary for an account.\n */\nexport function accountProfileSummary(token?: string): ProtectedResource<AccountProfileSummaryResponse> {\n return {\n namespace: 'profile',\n path: wowAccountProfileBasePath,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns a summary of the toys an account has obtained.\n */\nexport function accountToysCollectionSummary(token?: string): ProtectedResource<AccountToysCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/toys`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.\n * @returns a summary of the transmog unlocks an account has obtained.\n */\nexport function accountTransmogsCollectionSummary(\n token?: string,\n): ProtectedResource<AccountTransmogsCollectionSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/collections/transmogs`,\n token,\n };\n}\n\n/**\n * Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}\n * @param realmId The realm ID.\n * @param characterId The character ID.\n * @param token The OAuth 2.0 access token to use for authentication.\n * @returns a protected profile summary for a character.\n */\nexport function protectedCharacterProfileSummary(\n realmId: number,\n characterId: number,\n token: string,\n): ProtectedResource<ProtectedCharacterProfileSummaryResponse> {\n return {\n namespace: 'profile',\n path: `${wowAccountProfileBasePath}/protected-character/${realmId}-${characterId}`,\n token,\n };\n}\n"],"mappings":";;;;;;;AAmBA,SAAgB,wBAAwB,OAAoE;CAC1G,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,uBAAuB,OAAmE;CACxG,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,kCACd,OAC8D;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,+BACd,OAC2D;CAC3D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,6BAA6B,OAAyE;CACpH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,sBAAsB,OAAkE;CACtG,OAAO;EACL,WAAW;EACX,MAAM;EACN;CACF;AACF;;;;;;AAOA,SAAgB,6BAA6B,OAAyE;CACpH,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;AAOA,SAAgB,kCACd,OAC8D;CAC9D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B;EACnC;CACF;AACF;;;;;;;;AASA,SAAgB,iCACd,SACA,aACA,OAC6D;CAC7D,OAAO;EACL,WAAW;EACX,MAAM,GAAG,0BAA0B,uBAAuB,QAAQ,GAAG;EACrE;CACF;AACF"}
|
|
@@ -29,7 +29,7 @@ interface QuestCategoryIndexResponse extends ResponseBase {
|
|
|
29
29
|
interface QuestCategoryResponse extends ResponseBase {
|
|
30
30
|
category: string;
|
|
31
31
|
id: number;
|
|
32
|
-
quests: Array<
|
|
32
|
+
quests: Array<NullishNameIdKey>;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* The response for a quest index.
|
|
@@ -142,4 +142,4 @@ declare function questType(questTypeId: number): Resource<QuestTypeResponse>;
|
|
|
142
142
|
*/
|
|
143
143
|
declare function questTypeIndex(): Resource<QuestTypeIndexResponse>;
|
|
144
144
|
export { questCategoryIndex as a, questTypeIndex as c, QuestCategoryIndexResponse as d, QuestCategoryResponse as f, QuestTypeResponse as g, QuestTypeIndexResponse as h, questCategory as i, QuestAreaIndexResponse as l, QuestResponse as m, questArea as n, questIndex as o, QuestIndexResponse as p, questAreaIndex as r, questType as s, quest as t, QuestAreaResponse as u };
|
|
145
|
-
//# sourceMappingURL=index-
|
|
145
|
+
//# sourceMappingURL=index-BaL7P-bA.d.ts.map
|
|
@@ -127,52 +127,52 @@ interface WowAccount {
|
|
|
127
127
|
}
|
|
128
128
|
/**
|
|
129
129
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
130
|
-
* @param token
|
|
130
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
131
131
|
* @returns an index of collection types for an account.
|
|
132
132
|
*/
|
|
133
|
-
declare function accountCollectionsIndex(token
|
|
133
|
+
declare function accountCollectionsIndex(token?: string): ProtectedResource<AccountCollectionsIndexResponse>;
|
|
134
134
|
/**
|
|
135
135
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
136
|
-
* @param token
|
|
136
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
137
137
|
* @returns the housing decor an account has collected.
|
|
138
138
|
*/
|
|
139
|
-
declare function accountDecorCollection(token
|
|
139
|
+
declare function accountDecorCollection(token?: string): ProtectedResource<AccountDecorCollectionResponse>;
|
|
140
140
|
/**
|
|
141
141
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
142
|
-
* @param token
|
|
142
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
143
143
|
* @returns a summary of the heirlooms an account has obtained.
|
|
144
144
|
*/
|
|
145
|
-
declare function accountHeirloomsCollectionSummary(token
|
|
145
|
+
declare function accountHeirloomsCollectionSummary(token?: string): ProtectedResource<AccountHeirloomsCollectionSummaryResponse>;
|
|
146
146
|
/**
|
|
147
147
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
148
|
-
* @param token
|
|
148
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
149
149
|
* @returns a summary of the mounts an account has obtained.
|
|
150
150
|
*/
|
|
151
|
-
declare function accountMountsCollectionSummary(token
|
|
151
|
+
declare function accountMountsCollectionSummary(token?: string): ProtectedResource<AccountMountsCollectionSummaryResponse>;
|
|
152
152
|
/**
|
|
153
153
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
154
|
-
* @param token
|
|
154
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
155
155
|
* @returns a summary of the battle pets an account has obtained.
|
|
156
156
|
*/
|
|
157
|
-
declare function accountPetsCollectionSummary(token
|
|
157
|
+
declare function accountPetsCollectionSummary(token?: string): ProtectedResource<AccountPetsCollectionSummaryResponse>;
|
|
158
158
|
/**
|
|
159
159
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
160
|
-
* @param token
|
|
160
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
161
161
|
* @returns a profile summary for an account.
|
|
162
162
|
*/
|
|
163
|
-
declare function accountProfileSummary(token
|
|
163
|
+
declare function accountProfileSummary(token?: string): ProtectedResource<AccountProfileSummaryResponse>;
|
|
164
164
|
/**
|
|
165
165
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
166
|
-
* @param token
|
|
166
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
167
167
|
* @returns a summary of the toys an account has obtained.
|
|
168
168
|
*/
|
|
169
|
-
declare function accountToysCollectionSummary(token
|
|
169
|
+
declare function accountToysCollectionSummary(token?: string): ProtectedResource<AccountToysCollectionSummaryResponse>;
|
|
170
170
|
/**
|
|
171
171
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
172
|
-
* @param token
|
|
172
|
+
* @param token Optional OAuth 2.0 access token; alternatively, scope the client with `withUserToken`.
|
|
173
173
|
* @returns a summary of the transmog unlocks an account has obtained.
|
|
174
174
|
*/
|
|
175
|
-
declare function accountTransmogsCollectionSummary(token
|
|
175
|
+
declare function accountTransmogsCollectionSummary(token?: string): ProtectedResource<AccountTransmogsCollectionSummaryResponse>;
|
|
176
176
|
/**
|
|
177
177
|
* Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See {@link https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow}
|
|
178
178
|
* @param realmId The realm ID.
|
|
@@ -182,4 +182,4 @@ declare function accountTransmogsCollectionSummary(token: string): ProtectedReso
|
|
|
182
182
|
*/
|
|
183
183
|
declare function protectedCharacterProfileSummary(realmId: number, characterId: number, token: string): ProtectedResource<ProtectedCharacterProfileSummaryResponse>;
|
|
184
184
|
export { AccountTransmogsCollectionSummaryResponse as _, accountPetsCollectionSummary as a, accountTransmogsCollectionSummary as c, AccountDecorCollectionResponse as d, AccountHeirloomsCollectionSummaryResponse as f, AccountToysCollectionSummaryResponse as g, AccountProfileSummaryResponse as h, accountMountsCollectionSummary as i, protectedCharacterProfileSummary as l, AccountPetsCollectionSummaryResponse as m, accountDecorCollection as n, accountProfileSummary as o, AccountMountsCollectionSummaryResponse as p, accountHeirloomsCollectionSummary as r, accountToysCollectionSummary as s, accountCollectionsIndex as t, AccountCollectionsIndexResponse as u, ProtectedCharacterProfileSummaryResponse as v };
|
|
185
|
-
//# sourceMappingURL=index-
|
|
185
|
+
//# sourceMappingURL=index-V1Na_uH5.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as AccountTransmogsCollectionSummaryResponse, a as accountPetsCollectionSummary, c as accountTransmogsCollectionSummary, d as AccountDecorCollectionResponse, f as AccountHeirloomsCollectionSummaryResponse, g as AccountToysCollectionSummaryResponse, h as AccountProfileSummaryResponse, i as accountMountsCollectionSummary, l as protectedCharacterProfileSummary, m as AccountPetsCollectionSummaryResponse, n as accountDecorCollection, o as accountProfileSummary, p as AccountMountsCollectionSummaryResponse, r as accountHeirloomsCollectionSummary, s as accountToysCollectionSummary, t as accountCollectionsIndex, u as AccountCollectionsIndexResponse, v as ProtectedCharacterProfileSummaryResponse } from "./index-
|
|
1
|
+
import { _ as AccountTransmogsCollectionSummaryResponse, a as accountPetsCollectionSummary, c as accountTransmogsCollectionSummary, d as AccountDecorCollectionResponse, f as AccountHeirloomsCollectionSummaryResponse, g as AccountToysCollectionSummaryResponse, h as AccountProfileSummaryResponse, i as accountMountsCollectionSummary, l as protectedCharacterProfileSummary, m as AccountPetsCollectionSummaryResponse, n as accountDecorCollection, o as accountProfileSummary, p as AccountMountsCollectionSummaryResponse, r as accountHeirloomsCollectionSummary, s as accountToysCollectionSummary, t as accountCollectionsIndex, u as AccountCollectionsIndexResponse, v as ProtectedCharacterProfileSummaryResponse } from "./index-V1Na_uH5.js";
|
|
2
2
|
import { a as achievementMedia, c as AchievementCriteria, d as AchievementResponse, i as achievementIndex, l as AchievementIndexResponse, n as achievementCategory, o as AchievementCategoryIndexResponse, r as achievementCategoryIndex, s as AchievementCategoryResponse, t as achievement, u as AchievementMediaResponse } from "./index-0Bhntrik.js";
|
|
3
3
|
import { i as AuctionHouseResponse, n as commodities, r as AuctionHouseCommoditiesResponse, t as auctions } from "./index-CkvIeNqH.js";
|
|
4
4
|
import { a as AzeriteEssenceIndexResponse, c as AzeriteEssenceSearchParameters, i as azeriteEssenceSearch, l as AzeriteEssenceSearchResponse, n as azeriteEssenceIndex, o as AzeriteEssenceMediaResponse, r as azeriteEssenceMedia, s as AzeriteEssenceResponse, t as azeriteEssence } from "./index-clqZ-M8A.js";
|
|
@@ -46,7 +46,7 @@ import { i as PowerTypeResponse, n as powerTypeIndex, r as PowerTypeIndexRespons
|
|
|
46
46
|
import { a as recipe, c as ProfessionMediaResponse, d as RecipeMediaResponse, f as RecipeResponse, i as professionSkillTier, l as ProfessionResponse, n as professionIndex, o as recipeMedia, r as professionMedia, s as ProfessionIndexResponse, t as profession, u as ProfessionSkillTierResponse } from "./index-_gTBl2_Y.js";
|
|
47
47
|
import { a as pvpSeasonIndex, c as PvpRewardsIndexResponse, i as pvpSeason, l as PvpSeasonIndexResponse, n as pvpLeaderboardIndex, o as PvpLeaderboardIndexResponse, r as pvpRewardsIndex, s as PvpLeaderboardResponse, t as pvpLeaderboard, u as PvpSeasonResponse } from "./index-bl4DdMgs.js";
|
|
48
48
|
import { a as PvpTierMediaResponse, i as PvpTierIndexResponse, n as pvpTierIndex, o as PvpTierResponse, r as pvpTierMedia, t as pvpTier } from "./index-eLWbd2FJ.js";
|
|
49
|
-
import { a as questCategoryIndex, c as questTypeIndex, d as QuestCategoryIndexResponse, f as QuestCategoryResponse, g as QuestTypeResponse, h as QuestTypeIndexResponse, i as questCategory, l as QuestAreaIndexResponse, m as QuestResponse, n as questArea, o as questIndex, p as QuestIndexResponse, r as questAreaIndex, s as questType, t as quest, u as QuestAreaResponse } from "./index-
|
|
49
|
+
import { a as questCategoryIndex, c as questTypeIndex, d as QuestCategoryIndexResponse, f as QuestCategoryResponse, g as QuestTypeResponse, h as QuestTypeIndexResponse, i as questCategory, l as QuestAreaIndexResponse, m as QuestResponse, n as questArea, o as questIndex, p as QuestIndexResponse, r as questAreaIndex, s as questType, t as quest, u as QuestAreaResponse } from "./index-BaL7P-bA.js";
|
|
50
50
|
import { realm, realmIndex, realmSearch } from "./realm/index.js";
|
|
51
51
|
import { i as RegionResponse, n as regionIndex, r as RegionIndexResponse, t as region } from "./index-DeQ5fmQn.js";
|
|
52
52
|
import { a as ReputationFactionIndexResponse, c as ReputationTiersResponse, i as reputationTiersIndex, n as reputationFactionIndex, o as ReputationFactionResponse, r as reputationTiers, s as ReputationTiersIndexResponse, t as reputationFaction } from "./index-DWXx_hQX.js";
|
package/dist/quest/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as questCategoryIndex, c as questTypeIndex, i as questCategory, n as questArea, o as questIndex, r as questAreaIndex, s as questType, t as quest } from "../index-
|
|
1
|
+
import { a as questCategoryIndex, c as questTypeIndex, i as questCategory, n as questArea, o as questIndex, r as questAreaIndex, s as questType, t as quest } from "../index-BaL7P-bA.js";
|
|
2
2
|
export { quest, questArea, questAreaIndex, questCategory, questCategoryIndex, questIndex, questType, questTypeIndex };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blizzard-api/wow",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.2",
|
|
4
4
|
"description": "A series of helpers to interact with the World of Warcraft Blizzard API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@blizzard-api/core": "4.5.
|
|
45
|
+
"@blizzard-api/core": "4.5.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@blizzard-api/core": "4.5.
|
|
48
|
+
"@blizzard-api/core": "4.5.1"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": "^22.13.0 || ^24 || ^26"
|