react-memory-optimization 0.0.49 → 0.0.50
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/binary/types.d.ts +1 -1
- package/dist/lib/service/api/index.d.ts +2 -1
- package/dist/lib/service/api/types.d.ts +3 -0
- package/dist/lib/service/responseAdapter/index.d.ts +1 -1
- package/dist/lib/service/responseAdapter/services/index.d.ts +2 -2
- package/dist/lib/service/responseAdapter/services/types.d.ts +1 -1
- package/dist/lib/service/responseAdapter/types.d.ts +1 -1
- package/dist/lib/socket/index.d.ts +1 -1
- package/dist/lib/socket/{types.d.ts → types/socket.d.ts} +6 -6
- package/dist/lib/store/betting/index.d.ts +1 -1
- package/dist/lib/store/betting/services/index.d.ts +1 -1
- package/dist/lib/store/betting/types.d.ts +1 -1
- package/dist/lib/store/casino/entities/casinoTournaments/index.d.ts +1 -1
- package/dist/lib/store/casino/entities/casinoTournaments/types.d.ts +1 -1
- package/dist/lib/store/casino/entities/jackpots/index.d.ts +1 -1
- package/dist/lib/store/casino/index.d.ts +1 -1
- package/dist/lib/store/operations/index.d.ts +1 -1
- package/dist/lib/store/user/index.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/lib/socket/{types.js → types/socket.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EApiPath } from './types';
|
|
1
|
+
import { EApiPath, RestCommandDataProps } from './types';
|
|
2
2
|
type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
3
3
|
interface ApiRequestConfig extends RequestInit {
|
|
4
4
|
method: HttpMethod;
|
|
@@ -12,6 +12,7 @@ declare class Api {
|
|
|
12
12
|
private request;
|
|
13
13
|
get<T>(url: EApiPath, config?: Partial<ApiRequestConfig>): Promise<T | null>;
|
|
14
14
|
post<T, U = unknown>(url: EApiPath, body: U, config?: Partial<ApiRequestConfig>): Promise<T | null>;
|
|
15
|
+
registration(path: string, sendData: RestCommandDataProps): Promise<any>;
|
|
15
16
|
}
|
|
16
17
|
export declare const api: Api;
|
|
17
18
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MoneyResponse } from '../moneyResponse';
|
|
2
|
-
import { SendCommand, UseFulUrls } from '../../socket/types';
|
|
2
|
+
import { SendCommand, UseFulUrls } from '../../socket/types/socket';
|
|
3
3
|
import { Casino } from '../../store/casino';
|
|
4
4
|
import { CasinoTournaments } from '../../store/casino/entities/casinoTournaments';
|
|
5
5
|
import { UserOperations } from '../../store/operations';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CallbackStatus, SendCommand } from 'socket/types';
|
|
1
|
+
import { CallbackStatus, SendCommand } from 'socket/types/socket';
|
|
2
2
|
import { ResponseAdapter } from '..';
|
|
3
3
|
import { ResponseAdapterServiceProps } from './types';
|
|
4
4
|
export declare class ResponseAdapterService {
|
|
@@ -6,7 +6,7 @@ export declare class ResponseAdapterService {
|
|
|
6
6
|
sendCallbackStatus: CallbackStatus;
|
|
7
7
|
sendCommand: SendCommand;
|
|
8
8
|
constructor(props: ResponseAdapterServiceProps);
|
|
9
|
-
getSettings(): import("socket/types").ISocketSettings;
|
|
9
|
+
getSettings(): import("socket/types/socket").ISocketSettings;
|
|
10
10
|
getSocketLanguage(): string;
|
|
11
11
|
getEventKeyTypeEvent(eventTypeRadar: number, objectId: number): string;
|
|
12
12
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ResponseAdapter } from 'service/responseAdapter';
|
|
2
|
-
import { CallbackStatus, SendCommand } from 'socket/types';
|
|
2
|
+
import { CallbackStatus, SendCommand } from 'socket/types/socket';
|
|
3
3
|
export type ResponseAdapterServiceProps = {
|
|
4
4
|
parent: ResponseAdapter;
|
|
5
5
|
callbackStatus: CallbackStatus;
|
|
@@ -5,7 +5,7 @@ import { LotteryResponseHistoryTicket, LotteryTicket } from 'store/lottery/types
|
|
|
5
5
|
import { ResponseHistoryTicket } from 'store/lottery/entities/history/types';
|
|
6
6
|
import { BettingSettings } from 'store/betting/types';
|
|
7
7
|
import { CasinoHistoryBet } from 'store/operations/entities/casinoHistory/types';
|
|
8
|
-
import { SendCommand, TBettingSettings, TCasinoSettings, UseFulUrls } from 'socket/types';
|
|
8
|
+
import { SendCommand, TBettingSettings, TCasinoSettings, UseFulUrls } from 'socket/types/socket';
|
|
9
9
|
import { SocketServices } from 'socket/services';
|
|
10
10
|
export declare enum EKYCStatus {
|
|
11
11
|
NotVerified = 0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ESocketCallbackStep, ISocketSettings, SocketInterface, TBettingSettings, TCasinoSettings } from './types';
|
|
1
|
+
import { ESocketCallbackStep, ISocketSettings, SocketInterface, TBettingSettings, TCasinoSettings } from './types/socket';
|
|
2
2
|
import { ResponseAdapter } from '../service/responseAdapter';
|
|
3
3
|
import { SubscribeSportInfoBySportIdProps, SubscribeSportsProps } from '../store/betting/entities/sports/types';
|
|
4
4
|
import { ReadModuleKeys, ReadModuleType } from '../binary/types';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SubscribeSportInfoBySportIdProps, SubscribeSportsProps } from '
|
|
2
|
-
import { SubscriberCategoriesProps, SubscriberCategoryProps } from '
|
|
3
|
-
import { CashOutTicketProps, SubscribeComposeTransactionsProps } from '
|
|
4
|
-
import { SubscribeBettingEventsByTournamentIdProps, SubscribeBettingTopEventsProps, SubscribeEventDetailsMarketTabs, SubscribeEventDetailsMarketsByGroupIdProps, SubscribeEventEntitiesProps, SubscribeEventShortInfoProps, SubscribeLineEntitiesProps, SubscribeOdd } from '
|
|
5
|
-
import { SubscribeLiveScoreProps } from '
|
|
6
|
-
import { AddBetProps, RemoveBetProps, SetBetSlipStakeProps, SubscribeBetSlipBaseProps, SubscribeBetSlipMaxToWinProps, SubscribeBettingBetSlipCounterProps, SubscribeSelectedOdd, SubscribeSpecialBetOdd } from '
|
|
1
|
+
import { SubscribeSportInfoBySportIdProps, SubscribeSportsProps } from '../../store/betting/entities/sports/types';
|
|
2
|
+
import { SubscriberCategoriesProps, SubscriberCategoryProps } from '../../store/betting/entities/categories/types';
|
|
3
|
+
import { CashOutTicketProps, SubscribeComposeTransactionsProps } from '../methodTypes';
|
|
4
|
+
import { SubscribeBettingEventsByTournamentIdProps, SubscribeBettingTopEventsProps, SubscribeEventDetailsMarketTabs, SubscribeEventDetailsMarketsByGroupIdProps, SubscribeEventEntitiesProps, SubscribeEventShortInfoProps, SubscribeLineEntitiesProps, SubscribeOdd } from '../../store/betting/entities/events/types';
|
|
5
|
+
import { SubscribeLiveScoreProps } from '../../store/betting/entities/events/live/types';
|
|
6
|
+
import { AddBetProps, RemoveBetProps, SetBetSlipStakeProps, SubscribeBetSlipBaseProps, SubscribeBetSlipMaxToWinProps, SubscribeBettingBetSlipCounterProps, SubscribeSelectedOdd, SubscribeSpecialBetOdd } from '../../store/betting/entities/betslip/types';
|
|
7
7
|
import { SubscribeCasinoGamesProps } from 'store/casino/entities/games/types';
|
|
8
8
|
import { ObservableProviderGameCountSetting, ObservableProviderInfoSetting, ObservableProvidersSetting } from 'store/casino/entities/providers/types';
|
|
9
9
|
import { PrepareFavoriteEntitiesForSavingProps, SubscribeFavoriteGameProps, SubscribeFavoriteGamesProps } from 'store/user/entities/favorites/types';
|
|
@@ -5,7 +5,7 @@ import { Sports } from './entities/sports';
|
|
|
5
5
|
import { Tournaments } from './entities/tournaments';
|
|
6
6
|
import { BettingEntitySubscribers, BettingProps } from './types';
|
|
7
7
|
import { BettingServices } from './services';
|
|
8
|
-
import { TBettingSettings } from '../../socket/types';
|
|
8
|
+
import { TBettingSettings } from '../../socket/types/socket';
|
|
9
9
|
import { BetSlip } from './entities/betslip';
|
|
10
10
|
import { BettingTickets } from './entities/tickets';
|
|
11
11
|
import { ObservableEntity } from 'service/observableEntity';
|
|
@@ -9,7 +9,7 @@ import { GetBetSlipLimitProps, GetOddProps, ReturnGetMarketsByComboMarketIdProps
|
|
|
9
9
|
import { ResponseAdapterService } from 'service/responseAdapter/services';
|
|
10
10
|
import { ENotifications } from 'store/notifications/types';
|
|
11
11
|
import { BettingProps } from '../types';
|
|
12
|
-
import { CallbackStatus, SendCommand } from 'socket/types';
|
|
12
|
+
import { CallbackStatus, SendCommand } from 'socket/types/socket';
|
|
13
13
|
export declare class BettingServices {
|
|
14
14
|
parent: Betting;
|
|
15
15
|
adapterService: ResponseAdapterService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseObservableSubscriber } from 'service/observable/type';
|
|
2
2
|
import { ResponseAdapterService } from 'service/responseAdapter/services';
|
|
3
|
-
import { CallbackStatus, SendCommand, TBettingSettings } from 'socket/types';
|
|
3
|
+
import { CallbackStatus, SendCommand, TBettingSettings } from 'socket/types/socket';
|
|
4
4
|
export type BettingProps = {
|
|
5
5
|
bettingSettings: TBettingSettings;
|
|
6
6
|
sendCommand: SendCommand;
|
|
@@ -2,7 +2,7 @@ import { TournamentPlayer, CurrentTournamentPlayer, AdaptedCasinoTournament, Ini
|
|
|
2
2
|
import { TournamentServices } from './service';
|
|
3
3
|
import { ObservableEntity } from 'service/observableEntity';
|
|
4
4
|
import { UpdateData } from 'service/observable/type';
|
|
5
|
-
import { SendCommand } from 'socket/types';
|
|
5
|
+
import { SendCommand } from 'socket/types/socket';
|
|
6
6
|
import { ResponseAdapter } from 'service/responseAdapter';
|
|
7
7
|
export declare class CasinoTournaments extends ObservableEntity<undefined> {
|
|
8
8
|
services: TournamentServices;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseObservableSubscriber } from 'service/observable/type';
|
|
2
2
|
import { ResponseAdapter } from 'service/responseAdapter';
|
|
3
|
-
import { SendCommand } from 'socket/types';
|
|
3
|
+
import { SendCommand } from 'socket/types/socket';
|
|
4
4
|
import { AdaptedGame } from '../games/types';
|
|
5
5
|
export type TournamentInfo = {
|
|
6
6
|
amount: number;
|
|
@@ -3,7 +3,7 @@ import { UpdateData } from 'service/observable/type';
|
|
|
3
3
|
import { ObservableEntity } from 'service/observableEntity';
|
|
4
4
|
import { CasinoServices } from 'store/casino/services';
|
|
5
5
|
import { JackpotInfo, JackpotSettings, JackpotSubscribes } from './types';
|
|
6
|
-
import { ERequestStatus } from 'socket/types';
|
|
6
|
+
import { ERequestStatus } from 'socket/types/socket';
|
|
7
7
|
export declare class Jackpots extends ObservableEntity<undefined> {
|
|
8
8
|
_jackpots: JackpotInfo[];
|
|
9
9
|
_requestStatus: ERequestStatus;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TCasinoSettings } from '../../socket/types';
|
|
1
|
+
import { TCasinoSettings } from '../../socket/types/socket';
|
|
2
2
|
import { TFilerDataProps, InitProps } from './types';
|
|
3
3
|
import { CasinoCategories } from './entities/categories';
|
|
4
4
|
import { CasinoGames } from './entities/games';
|
|
@@ -7,7 +7,7 @@ import { AvailableBonuses } from './entities/availableBonuses';
|
|
|
7
7
|
import { ActiveBonuses } from './entities/activeBonuses';
|
|
8
8
|
import { UserOperationServices } from './services';
|
|
9
9
|
import { TournamentOperations } from './entities/tournaments';
|
|
10
|
-
import { CallbackStatus, SendCommand } from 'socket/types';
|
|
10
|
+
import { CallbackStatus, SendCommand } from 'socket/types/socket';
|
|
11
11
|
import { ReferralOperation } from './entities/referralOperations';
|
|
12
12
|
import { ObservableEntity } from 'service/observableEntity';
|
|
13
13
|
import { UpdateData } from 'service/observable/type';
|
|
@@ -6,7 +6,7 @@ import { Balance } from './entities/balance';
|
|
|
6
6
|
import { SendCommand } from './services/types';
|
|
7
7
|
import { ReferralSystem } from './entities/referral';
|
|
8
8
|
import { ResponseAdapterService } from 'service/responseAdapter/services';
|
|
9
|
-
import { CallbackStatus } from 'socket/types';
|
|
9
|
+
import { CallbackStatus } from 'socket/types/socket';
|
|
10
10
|
import { Hamster } from './entities/hamster';
|
|
11
11
|
import { LootBox } from './entities/lootBox';
|
|
12
12
|
import { BonusWheel } from './entities/bonusWheel';
|
package/package.json
CHANGED
|
File without changes
|