diff --git a/.changeset/beige-trees-complain.md b/.changeset/beige-trees-complain.md new file mode 100644 index 0000000..5dc340b --- /dev/null +++ b/.changeset/beige-trees-complain.md @@ -0,0 +1,5 @@ +--- +'@blizzard-api/sc2': patch +--- + +Add missing default export of sc2 object and export all other functions separately diff --git a/packages/sc2/src/index.ts b/packages/sc2/src/index.ts index 47e3bae..73ae22b 100644 --- a/packages/sc2/src/index.ts +++ b/packages/sc2/src/index.ts @@ -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';