react-memory-optimization 0.0.22 → 0.0.23

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.
@@ -69,8 +69,10 @@ export declare class Socket implements SocketInterface {
69
69
  subscribeEntity(method: () => boolean): boolean;
70
70
  logout(): void;
71
71
  subscribeUserEntity(props: BaseObservableSubscriber & SubscribeUserKeys): boolean;
72
- subscribeCasinoFrameUrl(props: BaseObservableSubscriber): boolean;
73
- unsubscribeCasinoFrameUrl(uid: string): boolean;
72
+ subscribeBazarFrameUrl(props: BaseObservableSubscriber & {
73
+ gameId: number;
74
+ }): boolean;
75
+ unsubscribeBazarFrameUrl(uid: string): boolean;
74
76
  subscribeStories(props: BaseObservableSubscriber): boolean;
75
77
  unsubscribeUserEntity(uid: string): boolean;
76
78
  subscribeBalanceInfo(props: BaseObservableSubscriber): boolean;
@@ -222,8 +222,10 @@ export interface SocketInterface {
222
222
  subscribeBettingEntity: (props: BettingEntitySubscribers) => boolean;
223
223
  subscribeOdd: (props: SubscribeOdd) => void;
224
224
  unsubscribeOdd: (uid: string, isPrematch: boolean) => void;
225
- subscribeCasinoFrameUrl: (props: BaseObservableSubscriber) => boolean;
226
- unsubscribeCasinoFrameUrl: (uid: string) => boolean;
225
+ subscribeBazarFrameUrl: (props: BaseObservableSubscriber & {
226
+ gameId: number;
227
+ }) => boolean;
228
+ unsubscribeBazarFrameUrl: (uid: string) => boolean;
227
229
  subscribeBettingTopEvents: (props: SubscribeBettingTopEventsProps) => boolean;
228
230
  unsubscribeBettingTopEvents: (uid: string) => boolean;
229
231
  subscribeSports: (props: SubscribeSportsProps) => boolean;
@@ -10,9 +10,10 @@ export declare class BazarFrame extends ObservableEntity<undefined> {
10
10
  set url(value: string);
11
11
  get url(): string;
12
12
  parseResponse(result: HandleRunGameResponse): void;
13
- getAndSendUrl(): UpdateData | null;
13
+ getAndSendUrl(gameId: number): UpdateData | null;
14
14
  sendUpdateEntity(d: BaseObservableSubscriber & {
15
15
  [key: string]: unknown;
16
+ gameId: number;
16
17
  }): UpdateData | null;
17
18
  unsubscribe(uid: string): void;
18
19
  }
@@ -12,6 +12,7 @@ import { ObservableEntity } from 'service/observableEntity';
12
12
  import { BaseObservableSubscriber, UpdateData } from 'service/observable/type';
13
13
  import { BettingResponseAdapter } from './adapter';
14
14
  import { BazarFrame } from './entities/BazarFrame';
15
+ import { ResponseAdapterService } from 'service/responseAdapter/services';
15
16
  export declare class Betting extends ObservableEntity<undefined> {
16
17
  bettingResponseAdapter: BettingResponseAdapter;
17
18
  bazarFrame: BazarFrame;
@@ -25,6 +26,7 @@ export declare class Betting extends ObservableEntity<undefined> {
25
26
  tickets: BettingTickets;
26
27
  _banUserCashOut: boolean;
27
28
  bettingServices: BettingServices;
29
+ adapterService: ResponseAdapterService;
28
30
  _isBettingAvailable: boolean;
29
31
  _isSettingInstalled: boolean;
30
32
  constructor(props: BettingProps);
@@ -312,5 +312,5 @@ export declare class BettingServices {
312
312
  away: string;
313
313
  }): string;
314
314
  replaceOutcomeName(name: string, marketSpecValues: string[], lineSpecifierValues: string[], home?: string, away?: string): string;
315
- getBazarUrl(): void;
315
+ getBazarUrl(gameId: number): void;
316
316
  }
@@ -28,5 +28,6 @@ export declare class CasinoProviders extends ObservableEntity<undefined> {
28
28
  private sendProvidersUpdates;
29
29
  private sendProviderUpdates;
30
30
  private sendProviderGameCount;
31
+ private handleSendAllProviders;
31
32
  sendUpdateEntity(d: BaseObservableSubscriber | ObservableProvidersSetting | ObservableProviderInfoSetting | ObservableProviderGameCountSetting): UpdateData | null;
32
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-memory-optimization",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "description": "react memory optimization library",
5
5
  "sideEffects": false,
6
6
  "files": [