@sleeperhq/mini-core 1.6.1 → 1.6.3
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
|
|
49
|
+
--minify true \
|
|
50
50
|
--assets-dest "${assetsDestPath[platform]}" \
|
|
51
51
|
--webpackConfig ./node_modules/@sleeperhq/mini-core/webpack.config.js`;
|
|
52
52
|
};
|
|
@@ -60,6 +60,7 @@ export type DraftPicksInDraftMap = Record<DraftId, DraftPick[]>;
|
|
|
60
60
|
export type PlayersMap = Record<PlayerId, Player>;
|
|
61
61
|
export type PlayersInSportMap = Record<SportType, PlayersMap>;
|
|
62
62
|
export type Entitlement = 'user:email' | 'user:phone' | 'wallet:date_of_birth' | 'wallet:first_name' | 'wallet:last_name' | 'wallet:country_code' | 'wallet:city' | 'location:longitude' | 'location:latitude' | 'location:state' | 'location:country' | 'location:postalCode' | 'action:push_notification';
|
|
63
|
+
export type Entitlements = Partial<Record<Entitlement, any>>;
|
|
63
64
|
export declare const EntitlementDisplayText: Record<Entitlement, string>;
|
|
64
65
|
export type Notification = {
|
|
65
66
|
title?: string | undefined;
|