@blizzard-api/sc2 3.1.0 → 3.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.
@@ -14,7 +14,7 @@ interface SeasonResponse {
14
14
  interface LadderTeam {
15
15
  joinTimestamp: number;
16
16
  losses: number;
17
- mmr: number;
17
+ mmr?: number;
18
18
  points: number;
19
19
  previousRank: number;
20
20
  teamMembers: Array<TeamMember>;
@@ -23,7 +23,7 @@ interface LadderTeam {
23
23
  interface TeamMember {
24
24
  clanTag?: string;
25
25
  displayName: string;
26
- favoriteRace: 'protoss' | 'random' | 'terran' | 'zerg';
26
+ favoriteRace?: 'protoss' | 'random' | 'terran' | 'zerg';
27
27
  id: string;
28
28
  realm: number;
29
29
  region: number;
@@ -44,4 +44,4 @@ declare function grandmasterLeaderboard(regionId: StarcraftRegion): Resource<Gra
44
44
  declare function season(regionId: StarcraftRegion): Resource<SeasonResponse>;
45
45
  //#endregion
46
46
  export { SeasonResponse as i, season as n, GrandmasterLeaderboardResponse as r, grandmasterLeaderboard as t };
47
- //# sourceMappingURL=index-CnxodUGF.d.ts.map
47
+ //# sourceMappingURL=index-BtQ6VqOV.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { player } from "./account/index.js";
2
- import { i as SeasonResponse, n as season, r as GrandmasterLeaderboardResponse, t as grandmasterLeaderboard } from "./index-CnxodUGF.js";
2
+ import { i as SeasonResponse, n as season, r as GrandmasterLeaderboardResponse, t as grandmasterLeaderboard } from "./index-BtQ6VqOV.js";
3
3
  import { a as StarcraftLeagueTeamType, i as StarcraftLeagueQueue, n as LeagueDataResponse, r as StarcraftLeagueId, t as getLeagueData } from "./index-BawvMD5r.js";
4
4
  import { a as legacyProfile, c as LegacyLaddersResponse, d as LegacyRewardsResponse, f as SingleLegacyLadderResponse, i as legacyMatchHistory, l as LegacyMatchHistoryResponse, n as legacyLadder, o as legacyRewards, r as legacyLadders, s as LegacyAchievementsResponse, t as legacyAchievements, u as LegacyProfileResponse } from "./index-Dxs7pfrO.js";
5
5
  import { a as staticProfile, c as MetadataResponse, i as profile, l as ProfileResponse, n as ladderSummary, o as LadderResponse, r as metadata, s as LadderSummaryResponse, t as ladder, u as StaticProfileResponse } from "./index-BBcAaWfH.js";
@@ -1,2 +1,2 @@
1
- import { n as season, t as grandmasterLeaderboard } from "../index-CnxodUGF.js";
1
+ import { n as season, t as grandmasterLeaderboard } from "../index-BtQ6VqOV.js";
2
2
  export { grandmasterLeaderboard, season };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blizzard-api/sc2",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "license": "MIT",
5
5
  "author": "Putro",
6
6
  "description": "A series of helpers to interact with the Starcraft II Blizzard API",