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.
- package/dist/bundle.js +1 -1
- package/dist/lib/socket/index.d.ts +4 -2
- package/dist/lib/socket/types.d.ts +4 -2
- package/dist/lib/store/betting/entities/BazarFrame/index.d.ts +2 -1
- package/dist/lib/store/betting/index.d.ts +2 -0
- package/dist/lib/store/betting/services/index.d.ts +1 -1
- package/dist/lib/store/casino/entities/providers/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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
|
-
|
|
73
|
-
|
|
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
|
-
|
|
226
|
-
|
|
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
|
}
|