shufflecom-calculations 6.2.0 → 6.3.1

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/src/index.ts CHANGED
@@ -54,9 +54,10 @@ export * from './games/coinflip/coinflip-classic';
54
54
  export * from './games/coinflip/coinflip-classic-progressive';
55
55
  export * from './games/coinflip/coinflip-target';
56
56
  export * from './games/floor-is-lava/floor-is-lava';
57
+ export * from './games/floor-is-lava/floor-is-lava-autobet';
57
58
  export * from './games/floor-is-lava/floor-is-lava-rules';
58
59
  export * from './games/floor-is-lava/floor-is-lava-board';
59
60
  export * from './games/rng/shuffle-random-number-generator';
60
61
  export * from './games/rng/random-number-generator.interface';
61
62
  export * from './games/rng/true-random-rng';
62
- export * from './games/rng/fixed-rng';
63
+ export * from './games/rng/fixed-rng';
@@ -96,7 +96,7 @@ export enum SportsCashoutFailedReason {
96
96
  SPORTS_MARKET_CLOSED = 'SPORTS_MARKET_CLOSED',
97
97
  SPORTS_MARKET_CASHOUT_NOT_ENABLED = 'SPORTS_MARKET_CASHOUT_NOT_ENABLED',
98
98
  BOOSTED_BET_NOT_ALLOWED_CASHOUT = 'BOOSTED_BET_NOT_ALLOWED_CASHOUT',
99
- CUSTOM_BET_NOT_ALLOWED_CASHOUT = 'CUSTOM_BET_NOT_ALLOWED_CASHOUT',
99
+ PENDING_CUSTOM_LEG_NOT_ALLOWED_CASHOUT = 'PENDING_CUSTOM_LEG_NOT_ALLOWED_CASHOUT',
100
100
  OTC_BET_NOT_ALLOWED_CASHOUT = 'OTC_BET_NOT_ALLOWED_CASHOUT',
101
101
  CROSS_PROVIDERS_NOT_ALLOWED_CASHOUT = 'CROSS_PROVIDERS_NOT_ALLOWED_CASHOUT',
102
102
  OUTRIGHT_NOT_ALLOWED_CASHOUT = 'OUTRIGHT_NOT_ALLOWED_CASHOUT',
@@ -184,6 +184,7 @@ export interface SportsBetSelectionInterface {
184
184
  oddsDenominator: BigNumber;
185
185
  sportsBetLegId: string;
186
186
  boostId?: string | null;
187
+ productId?: SportsMarketProductId;
187
188
  }
188
189
 
189
190
  export enum SportsBetLegType {
@@ -546,6 +547,11 @@ export class MatchSummary {
546
547
  timeRemaining?: Nullable<number>;
547
548
  timeElapsed?: Nullable<number>;
548
549
  clockRunning?: Nullable<boolean>;
550
+ /**
551
+ * TODO: should move to messageTimestamp. The name says provider, but the american football path
552
+ * overrides it with our own clock so it lines up with the extrapolated timeElapsed, so it is not
553
+ * always the provider's timestamp.
554
+ */
549
555
  providerMessageTimestamp?: Nullable<string>;
550
556
  }
551
557