@simple-parlay/components 1.30.5 → 1.30.6-pre

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.
Files changed (45) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/index.mjs +358 -297
  4. package/dist/react/components/EventSwipeModal.d.ts +19 -0
  5. package/dist/react/components/GameModeCard.d.ts +8 -0
  6. package/dist/react/components/PickerBrand.d.ts +7 -0
  7. package/dist/react/components/PlaceEntryProvider.d.ts +22 -3
  8. package/dist/react/components/ScrollShelf.d.ts +21 -0
  9. package/dist/react/components/SelectionVariantList.d.ts +20 -0
  10. package/dist/react/components/SelectionsPage.d.ts +1 -1
  11. package/dist/react/components/SixAgainPage.d.ts +16 -0
  12. package/dist/react/components/SportRail.d.ts +20 -0
  13. package/dist/react/components/SportSelector.d.ts +18 -1
  14. package/dist/react/components/_primitives/index.d.ts +3 -1
  15. package/dist/react/index.d.ts +15 -1
  16. package/dist/react/index.js +1 -1
  17. package/dist/react/index.mjs +358 -297
  18. package/dist/react-native/components/EventSwipeModal.d.ts +17 -0
  19. package/dist/react-native/components/GameModeCard.d.ts +9 -1
  20. package/dist/react-native/components/PickerBrand.d.ts +6 -0
  21. package/dist/react-native/components/PlaceEntryProvider.d.ts +24 -3
  22. package/dist/react-native/components/ScrollShelf.d.ts +16 -0
  23. package/dist/react-native/components/SelectionVariantList.d.ts +20 -0
  24. package/dist/react-native/components/SelectionsPage.d.ts +1 -1
  25. package/dist/react-native/components/SixAgainPage.d.ts +14 -0
  26. package/dist/react-native/components/SportRail.d.ts +21 -0
  27. package/dist/react-native/components/SportSelector.d.ts +23 -1
  28. package/dist/react-native/components/_primitives/index.d.ts +3 -1
  29. package/dist/react-native/index.d.ts +15 -1
  30. package/dist/react-native/index.js +1 -1
  31. package/dist/react-native/index.mjs +391 -336
  32. package/dist/shared/composite.d.ts +7 -0
  33. package/dist/shared/favourite-sport.d.ts +2 -0
  34. package/dist/shared/game-flow.d.ts +5 -1
  35. package/dist/shared/game-icons.d.ts +1 -1
  36. package/dist/shared/hooks.d.ts +1 -0
  37. package/dist/shared/mirror.d.ts +33 -0
  38. package/dist/shared/pick-your-dividend.d.ts +2 -1
  39. package/dist/shared/picker-brand.d.ts +6 -0
  40. package/dist/shared/selection-actions.d.ts +50 -0
  41. package/dist/shared/selection-variants.d.ts +48 -0
  42. package/dist/shared/six-again.d.ts +105 -0
  43. package/dist/shared/types.d.ts +40 -1
  44. package/dist/shared/utils.d.ts +1 -0
  45. package/package.json +1 -1
@@ -25,6 +25,13 @@ export declare function resolveCompositeOperator(prop: Proposition): CompositeOp
25
25
  export interface CompositeLegDisplay {
26
26
  text: string;
27
27
  eventLabel: string | null;
28
+ /**
29
+ * The component proposition this leg was resolved from, so a caller can ask
30
+ * the host for its silk or badge. Null when the legs were recovered by
31
+ * splitting the composite's own description — there is no component row to
32
+ * point at in that case.
33
+ */
34
+ prop: Proposition | null;
28
35
  }
29
36
  export declare function parseCompositeComponentIds(prop: Proposition): number[];
30
37
  /** Collect component proposition IDs referenced by composite rows in a list. */
@@ -0,0 +1,2 @@
1
+ export declare function readFavouriteSport(): string | null;
2
+ export declare function writeFavouriteSport(sport: string | null): void;
@@ -5,7 +5,7 @@ import { Game, GamePermittedRule } from './types';
5
5
  * The unique games each own a purpose-built setup page; everything else goes
6
6
  * through the generic rule page or straight to selections.
7
7
  */
8
- export type GameFlow = 'quick_pick' | 'game_set' | 'pick_your_dividend' | 'ladder' | 'mirror' | 'safety_net' | 'rule_setup' | 'selections';
8
+ export type GameFlow = 'quick_pick' | 'game_set' | 'pick_your_dividend' | 'ladder' | 'mirror' | 'safety_net' | 'six_again' | 'rule_setup' | 'selections';
9
9
  export declare function getGameFlow(game: Game | null | undefined): GameFlow;
10
10
  export declare function isFixedCardExactGame(game: Game | null | undefined): boolean;
11
11
  export declare function isOpenExactMultiGame(game: Game | null | undefined): boolean;
@@ -38,3 +38,7 @@ export interface ConfirmBoostCopy {
38
38
  */
39
39
  export declare function getConfirmBoostCopy(game: Game | null | undefined): ConfirmBoostCopy;
40
40
  export declare function describeWinCondition(rule: GamePermittedRule | null | undefined, winningCounts: number[] | null | undefined, totalPicks: number, payouts?: Record<number, number> | null): string | null;
41
+ export declare function isStakeLockedGame(game: Game | null | undefined): boolean;
42
+ /** Why the stake is fixed, shown beside the locked figure. */
43
+ export declare function stakeLockedNote(game: Game | null | undefined): string;
44
+ export declare function quotedPayoutAtCount(game: Game | null | undefined, count: number, stake: number): number;
@@ -1,5 +1,5 @@
1
1
  import { Game } from './types';
2
- export type GameIconId = 'perfect_pick' | 'head_to_head' | 'total_points' | 'quickpick' | 'safety_net' | 'ladder' | 'game_set' | 'pick_your_dividend' | 'mirror' | 'same_game_multi' | 'unknown';
2
+ export type GameIconId = 'perfect_pick' | 'head_to_head' | 'total_points' | 'quickpick' | 'safety_net' | 'ladder' | 'game_set' | 'pick_your_dividend' | 'mirror' | 'same_game_multi' | 'six_again' | 'unknown';
3
3
  export declare const GAME_ICON_SCHEME = "game-icon:";
4
4
  export declare const GAME_ICON_SVG: Record<GameIconId, string>;
5
5
  /** Resolve a bundled icon id for a game; unknown games use the question-mark fallback. */
@@ -64,6 +64,7 @@ export declare function useCreateGameEntry(apiClient: BladeApiClient): {
64
64
  loading: boolean;
65
65
  error: string | null;
66
66
  entry: GameEntry | null;
67
+ clearSubmitError: () => void;
67
68
  };
68
69
  export declare function usePlaceEntryFlow(initialGameId?: number): {
69
70
  step: "success" | "sport" | "game" | "confirm";
@@ -64,3 +64,36 @@ export declare function mirrorPrize(stake: number, legs: number, opts?: {
64
64
  }): MirrorPrize;
65
65
  /** Resolve the ticket-builder config for a Mirror game. */
66
66
  export declare function getMirrorConfig(game: Game | null | undefined): MirrorConfig | null;
67
+ export type MirrorVariantId = 'straight' | 'double' | 'triple';
68
+ export interface MirrorVariant {
69
+ id: MirrorVariantId;
70
+ name: string;
71
+ depth: number;
72
+ minLegs: number;
73
+ waysToWin: string;
74
+ description: string;
75
+ tierNames: string[];
76
+ }
77
+ export declare const MIRROR_VARIANTS: MirrorVariant[];
78
+ export declare function getMirrorVariant(id: MirrorVariantId): MirrorVariant;
79
+ export interface MirrorTierPrize {
80
+ distance: number;
81
+ label: string;
82
+ correctCounts: number[];
83
+ prize: number;
84
+ outcomes: number;
85
+ }
86
+ export interface MirrorSuitePrize {
87
+ variant: MirrorVariantId;
88
+ legs: number;
89
+ stake: number;
90
+ tiers: MirrorTierPrize[];
91
+ totalOutcomes: number;
92
+ winningOutcomes: number;
93
+ oddsOneIn: number;
94
+ }
95
+ export declare function mirrorCombinations(n: number, k: number): number;
96
+ export declare function mirrorSuitePrize(variantId: MirrorVariantId, stake: number, legs: number, opts?: {
97
+ operatorMargin?: number;
98
+ }): MirrorSuitePrize;
99
+ export declare function mirrorVariantLegOptions(config: MirrorConfig, variantId: MirrorVariantId): number[];
@@ -15,7 +15,7 @@ import { Game } from './types';
15
15
  * that rung at an 18.62% margin. The dividend is never rounded — rounding
16
16
  * lives in the stake by construction.
17
17
  */
18
- /** Retail dividend tiers — "Seven set dividends, from $2,500 to $20,000". */
18
+ /** Retail dividend tiers — the set dividends, from $500 to $15,000. */
19
19
  export declare const PYD_RETAIL_DIVIDENDS: number[];
20
20
  /** Rungs offered per dividend, longest climb first (12 legs down to 6). */
21
21
  export declare const PYD_LEG_RUNGS: number[];
@@ -57,3 +57,4 @@ export declare function pydLadder(dividend: number, legs?: number[]): PydDividen
57
57
  export declare function getPickYourDividendConfig(game: Game | null | undefined, overrides?: {
58
58
  dividends?: number[];
59
59
  }): PickYourDividendConfig | null;
60
+ export declare function pydDividendForTicket(legs: number, stake: number, dividends?: number[]): number;
@@ -8,6 +8,12 @@ export declare function getCategoryTagline(category: string): string;
8
8
  export declare function getSportShortCode(sport: string, sportBaseKey?: string | null, override?: string): string;
9
9
  export declare function getSportPickerTagline(count: number, selectedCategory?: string | null): string;
10
10
  export declare function getSportSummaryTagline(gamesToday: number, activeProps: number): string;
11
+ /**
12
+ * The one-line caption on a sport rail card. A rail card is ~92px wide, so the
13
+ * two-part `getSportSummaryTagline` never fits — lead with today's fixtures
14
+ * when there are any, and fall back to the pick count when there aren't.
15
+ */
16
+ export declare function getSportRailCaption(gamesToday: number, activeProps: number): string;
11
17
  export declare function gameLogoTileFontSize(code: string): number;
12
18
  export interface ComingSoonSport {
13
19
  key: string;
@@ -0,0 +1,50 @@
1
+ import { TopPayoutsResponse } from './types';
2
+ /** Copy for the live slip docked under the selection list. */
3
+ export declare const SLIP_EMPTY_HINT = "Tap Yes or No to start building your multi.";
4
+ export declare const SLIP_STAKE_LABEL = "Your stake";
5
+ export declare const SLIP_DIVIDEND_LABEL = "Potential dividend";
6
+ export interface LiveSlipLeg {
7
+ id: number;
8
+ /** 1-based position in the multi — the number printed on the tile. */
9
+ number: number;
10
+ side: 'yes' | 'no';
11
+ }
12
+ export interface LiveSlipInput {
13
+ /** Picks so far, keyed by proposition id. */
14
+ selections: Record<number, 'yes' | 'no'>;
15
+ /** Proposition ids in the order they should be numbered. */
16
+ order: number[];
17
+ /** Minimum picks before the multi is live (0 when the game has no minimum). */
18
+ minReq: number;
19
+ /** Maximum picks the card accepts (0 when unbounded). */
20
+ maxReq: number;
21
+ /** Stake the player has typed into the slip. */
22
+ stake: number;
23
+ /** Dividend for this many picks, normalised to a $20 bet. */
24
+ payout20?: number;
25
+ }
26
+ export interface LiveSlip {
27
+ legs: LiveSlipLeg[];
28
+ count: number;
29
+ dividend: number;
30
+ dividendText: string;
31
+ ctaLabel: string;
32
+ ctaDisabled: boolean;
33
+ atMax: boolean;
34
+ }
35
+ /**
36
+ * The bottom slip: every pick becomes a numbered leg tile, and the stake drives
37
+ * a dividend that moves on each pick. Dead until the minimum is reached.
38
+ */
39
+ export declare function buildLiveSlip({ selections, order, minReq, maxReq, stake, payout20, }: LiveSlipInput): LiveSlip;
40
+ /**
41
+ * Picks keep the order they were made in: existing legs hold their number, new
42
+ * ones land on the end. Returns `prev` untouched when nothing moved.
43
+ */
44
+ export declare function mergePickOrder(prev: number[], selections: Record<number, 'yes' | 'no'>): number[];
45
+ /**
46
+ * Dividend for a leg count, normalised to a $20 bet. Reads the game's own
47
+ * `/max-payout` table, so it prices every game — not just the range ones the
48
+ * overload callout covers.
49
+ */
50
+ export declare function payout20AtCount(payouts: TopPayoutsResponse | undefined, count: number): number;
@@ -0,0 +1,48 @@
1
+ import { Proposition } from './types';
2
+ /**
3
+ * Alternative shapes for the proposition list — YESNO's fixture-first designs,
4
+ * ported from the demo site. `undefined` means the packaged matchup list, which
5
+ * stays the default for every host that never asks for a variant.
6
+ *
7
+ * All of them are fed the same already-filtered, already-grouped propositions
8
+ * the default list draws, so date/market filters, composites, jerseys and the
9
+ * leg cap behave identically whichever one is on screen.
10
+ */
11
+ export type SelectionVariant = 'split' | 'split-inline' | 'compact';
12
+ export declare const SELECTION_VARIANTS: SelectionVariant[];
13
+ /** One fixture (or race) and every question asked about it. */
14
+ export interface SelectionEvent {
15
+ /** The grouping key as `groupPropositionsForDisplay` produced it. */
16
+ key: string;
17
+ /** `Home vs Away`, the race name, or '' when the props carry no event at all. */
18
+ title: string;
19
+ home?: string;
20
+ away?: string;
21
+ /** No club badges and no `A v B` label — the race name stands alone. */
22
+ racing: boolean;
23
+ date: Date | null;
24
+ props: Proposition[];
25
+ }
26
+ export interface SelectionDay {
27
+ key: string;
28
+ /** '' for the trailing block of undated fixtures, which gets no header. */
29
+ label: string;
30
+ events: SelectionEvent[];
31
+ }
32
+ /** `Thu 14 Aug` — the day header above a block of fixtures. */
33
+ export declare function formatFixtureDay(date: Date): string;
34
+ /** `8:00pm` — kick-off time on a fixture header. */
35
+ export declare function formatFixtureTime(date: Date): string;
36
+ /**
37
+ * Three-letter badge code — the mascot, which is the last word of an
38
+ * Australian club name (`South Sydney Rabbitohs` → `RAB`).
39
+ */
40
+ export declare function teamCode(team: string | null | undefined): string;
41
+ /**
42
+ * Fixtures in kick-off order, split into day blocks; undated ones trail.
43
+ *
44
+ * Takes the output of `groupPropositionsForDisplay` rather than a flat list, so
45
+ * the variants group exactly as the default list does — same racing handling,
46
+ * same composite handling, same filtered pool.
47
+ */
48
+ export declare function groupSelectionDays(groups: Record<string, Proposition[]>, racing?: boolean): SelectionDay[];
@@ -0,0 +1,105 @@
1
+ import { Game } from './types';
2
+ /**
3
+ * YESNO 6 Again — the six-leg NRL card with two optional boosts.
4
+ *
5
+ * Six calls, every one a 50/50. Land all six and the base play pays
6
+ * `unit × 2^6 × (1 − margin)` — 50× at the suite-standard 21.875% margin.
7
+ * On top of the base play the player can buy either boost, each costing one
8
+ * more unit of stake:
9
+ *
10
+ * - **Golden Point** — doubles the perfect prize. Economically this is simply
11
+ * a second unit riding on the same bet, so it settles on the base rule.
12
+ * - **Captain's Challenge** — a side bet that collects `unit × 5` whenever the
13
+ * card lands five or six of six, and stacks on top of a winning slip. It
14
+ * changes the payout shape, so it settles on its own rule.
15
+ *
16
+ * The entry's `stake` is the TOTAL wager (unit × number of plays bought), so
17
+ * every server expression is written against the total. That is why the
18
+ * Captain's Challenge needs two rules — with Golden Point the total is three
19
+ * units, without it two, and the same prize is a different multiple of each:
20
+ *
21
+ * | boosts | stake | 6 of 6 | 5 of 6 | rule |
22
+ * |-------------------|-------|---------------|--------------|-----------------|
23
+ * | none | 1u | 50u = 50.0S | — | base |
24
+ * | Golden Point | 2u | 100u = 50.0S | — | base |
25
+ * | Challenge | 2u | 55u = 27.5S | 5u = 2.5S | challenge |
26
+ * | Golden + Challenge| 3u | 105u = 35.0S | 5u = 5S/3 | golden_challenge|
27
+ *
28
+ * Those multiples are the literals in the server rules' `expression` payout
29
+ * structures; they are derived from {@link SixAgainConfig.baseMultiple} and
30
+ * {@link SixAgainConfig.challengeMultiple} by {@link sixAgainStakeMultiples},
31
+ * so the two sides can be checked against each other rather than trusted.
32
+ */
33
+ /** Suite-standard operator margin — 2^6 × 0.78125 = a clean 50× perfect prize. */
34
+ export declare const SIX_AGAIN_MARGIN = 0.21875;
35
+ /** Legs on the card. "6 Again" is the six-again restart call — the six is the product. */
36
+ export declare const SIX_AGAIN_LEGS = 6;
37
+ /** Captain's Challenge collects this multiple of one unit on five or six of six. */
38
+ export declare const CHALLENGE_MULTIPLE = 5;
39
+ /** Misses the Captain's Challenge still collects on. */
40
+ export declare const CHALLENGE_MISSES = 1;
41
+ /** Golden Point doubles the perfect prize. */
42
+ export declare const GOLDEN_POINT_FACTOR = 2;
43
+ export type SixAgainBoostId = 'golden_point' | 'captains_challenge';
44
+ /** Which boosts are switched on. */
45
+ export type SixAgainBoosts = Record<SixAgainBoostId, boolean>;
46
+ export interface SixAgainBoost {
47
+ id: SixAgainBoostId;
48
+ label: string;
49
+ /** Extra units of stake this boost costs. */
50
+ costUnits: number;
51
+ }
52
+ export interface SixAgainConfig {
53
+ legs: number;
54
+ /** Smallest unit stake, and the step the stepper moves in. */
55
+ unitMin: number;
56
+ unitStep: number;
57
+ /** Largest unit stake — set so unit × every boost still fits the game's max bet. */
58
+ unitMax: number;
59
+ defaultUnit: number;
60
+ /** Perfect prize on the base play, as a multiple of one unit (50 at 21.875%). */
61
+ baseMultiple: number;
62
+ challengeMultiple: number;
63
+ challengeMisses: number;
64
+ goldenPointFactor: number;
65
+ boosts: SixAgainBoost[];
66
+ tagline: string;
67
+ /** Which server rule settles each boost combination. */
68
+ ruleIds: {
69
+ base: number | null;
70
+ challenge: number | null;
71
+ goldenChallenge: number | null;
72
+ };
73
+ }
74
+ export interface SixAgainTicket {
75
+ legs: number;
76
+ unit: number;
77
+ /** Total wager — what the entry is placed for. */
78
+ stake: number;
79
+ /** Base play's prize on a perfect card, Golden Point included. */
80
+ base: number;
81
+ /** Captain's Challenge collect — 0 when the boost is off. */
82
+ challenge: number;
83
+ /** Everything a perfect card collects. */
84
+ perfect: number;
85
+ /** Fewest correct calls that pay anything. */
86
+ lowestWinningCount: number;
87
+ /** Rule the entry settles on. */
88
+ ruleId: number | null;
89
+ }
90
+ /** Whether a game is 6 Again (routes to the one-screen boost builder). */
91
+ export declare function isSixAgainGame(game: Game | null | undefined): boolean;
92
+ export declare const NO_BOOSTS: SixAgainBoosts;
93
+ /** Price a ticket: what the player pays and what each outcome collects. */
94
+ export declare function sixAgainTicket(unit: number, boosts: SixAgainBoosts, config: SixAgainConfig): SixAgainTicket;
95
+ export declare function sixAgainRuleId(boosts: SixAgainBoosts, config: SixAgainConfig): number | null;
96
+ /**
97
+ * The payout multiples on the TOTAL stake for one boost combination — the
98
+ * literals the matching server rule's expression must carry.
99
+ */
100
+ export declare function sixAgainStakeMultiples(boosts: SixAgainBoosts, config: SixAgainConfig): {
101
+ perfect: number;
102
+ challenge: number;
103
+ };
104
+ /** Resolve the one-screen boost-builder config for a 6 Again game. */
105
+ export declare function getSixAgainConfig(game: Game | null | undefined): SixAgainConfig | null;
@@ -1,4 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
+ import { SelectionVariant } from './selection-variants';
2
3
  import { BladeTheme, BladeThemeSet, ColorScheme } from './themes';
3
4
  export type { BladeTheme, BladeThemeSet, ColorScheme };
4
5
  /** Screen size category for responsive behavior.
@@ -119,7 +120,24 @@ export interface GameAllocation {
119
120
  created_at?: string;
120
121
  updated_at?: string;
121
122
  }
122
- export type RenderTeamLogo = (teamName: string) => ReactNode;
123
+ /**
124
+ * A club badge or runner silk for `teamName`.
125
+ *
126
+ * `size` is the pixel edge the layout wants — the fixture-first variants ask
127
+ * for anything from 16px in a folded strip to 24px in a split stub. Hosts that
128
+ * ignore it get their own single size everywhere, which is what every existing
129
+ * renderer did before the argument existed.
130
+ */
131
+ export type RenderTeamLogo = (teamName: string, size?: number) => ReactNode;
132
+ /**
133
+ * The runner's silk, the player's headshot, the team's jersey — whatever art
134
+ * belongs to this proposition. It sits inline in front of the question it
135
+ * belongs to, and a composite gets one per leg, so honour `size`: it is the
136
+ * pixel edge the caller has room for (32 in front of a swipe card's question,
137
+ * 24 in front of one of its legs). Return null for propositions with no art
138
+ * and nothing is reserved.
139
+ */
140
+ export type RenderPropositionSilk = (proposition: Proposition, size?: number) => ReactNode;
123
141
  export interface Proposition {
124
142
  id: number;
125
143
  api_key_id?: number;
@@ -240,6 +258,15 @@ export interface PlaceEntryFlowProps {
240
258
  filterSport?: string;
241
259
  /** Custom renderer for team or proposition logos. Receives a display name or prop logo key. */
242
260
  renderTeamLogo?: RenderTeamLogo;
261
+ /** Custom renderer for a proposition's silk or jersey, shown on the swipe card. */
262
+ renderPropositionSilk?: RenderPropositionSilk;
263
+ /**
264
+ * Proposition layout for every selection screen in the flow. Omit for the
265
+ * packaged matchup list, which stays the default.
266
+ */
267
+ selectionVariant?: SelectionVariant;
268
+ /** Drop the per-fixture swipe deck offered by the variant layouts. @default false */
269
+ disableEventSwipe?: boolean;
243
270
  /** Hide the Quick Pick @default false */
244
271
  disableQuickPick?: boolean;
245
272
  /** Callback when an entry is selected in the Entries tab */
@@ -290,10 +317,21 @@ export interface SportSelectorProps {
290
317
  renderTeamLogo?: RenderTeamLogo;
291
318
  /** Hide the Quick Pick button and count input. @default false */
292
319
  disableQuickPick?: boolean;
320
+ /**
321
+ * Drop the per-fixture swipe deck the variant layouts offer, leaving the rows
322
+ * as the only way to answer. Falls back to the provider's flag. @default false
323
+ */
324
+ disableEventSwipe?: boolean;
293
325
  selectedPropositionCount?: number;
294
326
  onPropositionCountChange?: (count: number) => void;
295
327
  allowAnswerToggle?: boolean;
296
328
  headerExtra?: ReactNode;
329
+ /**
330
+ * Which proposition layout to draw. Omitted (the default) is the packaged
331
+ * matchup list; the variants are YESNO's fixture-first designs. Falls back to
332
+ * the provider's `selectionVariant` when this is not set.
333
+ */
334
+ variant?: SelectionVariant;
297
335
  }
298
336
  export interface EntrySubmissionProps {
299
337
  game: Game;
@@ -411,6 +449,7 @@ export interface EntryPreviewRequest {
411
449
  predicted: number;
412
450
  total: number;
413
451
  bet_amount: number;
452
+ rule_id?: number | null;
414
453
  }
415
454
  export interface EntryPreviewResponse {
416
455
  winning_counts: number[];
@@ -1,4 +1,5 @@
1
1
  import { Game, GamePermittedRule, Proposition, QuickPickResult } from './types';
2
+ export declare const DEFAULT_STAKE = 10;
2
3
  export declare function stripColumns(count: number, containerWidth: number): number;
3
4
  export declare function resolvePrice(price: number | string | {
4
5
  amount: number | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simple-parlay/components",
3
- "version": "1.30.5",
3
+ "version": "1.30.6-pre",
4
4
  "description": "UI components, hooks, and utilities for React and React Native",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",