Skip to content

Commit

Permalink
[SC2] Add missing default export of sc2 object and export all other f…
Browse files Browse the repository at this point in the history
…unctions separately
  • Loading branch information
Pewtro committed Oct 7, 2024
1 parent 65cd839 commit 707648a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-trees-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@blizzard-api/sc2': patch
---

Add missing default export of sc2 object and export all other functions separately
6 changes: 6 additions & 0 deletions packages/sc2/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,19 @@ export const sc2 = {
profile,
staticProfile,
};
export default sc2;

//Account
export * from './account/account';
//Ladder
export * from './ladder/ladder';
export type * from './ladder/types';
//League
export * from './league/league';
export type * from './league/types';
//Legacy
export * from './legacy/legacy';
export type * from './legacy/types';
//Profile
export * from './profile/profile';
export type * from './profile/types';

0 comments on commit 707648a

Please sign in to comment.