@sleeperhq/mini-core 1.6.2 → 1.6.4

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/bin/build_mini.js CHANGED
@@ -46,7 +46,7 @@ const getCommands = (projectName) => {
46
46
  --reset-cache \
47
47
  --bundle-output "${bundleOutputPath[platform]}" \
48
48
  --sourcemap-output "${sourcemapOutputPath[platform]}" \
49
- --minify false \
49
+ --minify true \
50
50
  --assets-dest "${assetsDestPath[platform]}" \
51
51
  --webpackConfig ./node_modules/@sleeperhq/mini-core/webpack.config.js`;
52
52
  };
@@ -1,10 +1,11 @@
1
- import { User, League, LeaguesMap, RostersInLeagueMap, UserMap, MatchupsInLeagueMap, UsersInLeagueMap, PlayoffsInLeagueMap, TransactionsInLeagueMap, TransactionsMap, SportInfoMap, DraftsInLeagueMap, DraftPickTradesInLeagueMap, DraftPicksInDraftMap, PlayersInSportMap, Topic, Location } from './types';
1
+ import { User, League, LeaguesMap, RostersInLeagueMap, UserMap, MatchupsInLeagueMap, UsersInLeagueMap, PlayoffsInLeagueMap, TransactionsInLeagueMap, TransactionsMap, SportInfoMap, SportType, DraftsInLeagueMap, DraftPickTradesInLeagueMap, DraftPicksInDraftMap, PlayersInSportMap, Topic, Location } from './types';
2
2
  import type { SleeperActions } from './sleeper_actions';
3
3
  declare class SleeperContext {
4
4
  static apiLevel: string;
5
5
  user: User;
6
6
  league: League;
7
7
  leaguesMap: LeaguesMap;
8
+ activeLeaguesMap: Record<SportType, LeaguesMap>;
8
9
  userLeagueList: string[];
9
10
  rostersInLeagueMap: RostersInLeagueMap;
10
11
  userMap: UserMap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleeperhq/mini-core",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "description": "Core library frameworks for developing Sleeper Mini Apps.",
5
5
  "main": "index.ts",
6
6
  "types": "index.d.ts",
@@ -43,7 +43,7 @@
43
43
  "@react-native-community/netinfo": "9.3.7",
44
44
  "axios": "0.15.3",
45
45
  "babel-loader": "9.1.2",
46
- "react-native-fast-image": "https://github.com/blitzstudios/react-native-fast-image.git#release/1.1",
46
+ "react-native-fast-image": "https://github.com/blitzstudios/react-native-fast-image.git#release/1.2",
47
47
  "react-native-interactable": "https://github.com/blitzstudios/react-native-interactable",
48
48
  "react-native-linear-gradient": "2.5.6",
49
49
  "react-native-rename": "^3.2.12",