react-memory-optimization 0.0.73 → 0.0.75
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/constants/requestModules/FlashCall.d.ts +2 -0
- package/dist/lib/binary/constants/requestModules/FlashCall.js +48 -0
- package/dist/lib/binary/constants/requests.js +3 -2
- package/dist/lib/binary/types.d.ts +2 -1
- package/dist/lib/binary/types.js +1 -0
- package/dist/lib/service/responseAdapter/index.d.ts +1 -0
- package/dist/lib/service/responseAdapter/types.d.ts +4 -0
- package/dist/lib/socket/types/socket.d.ts +2 -1
- package/dist/lib/socket/types/socket.js +1 -0
- package/dist/lib/store/notifications/types.d.ts +14 -13
- package/dist/lib/store/notifications/types.js +14 -13
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FLASH_CALL_REQUESTS = void 0;
|
|
4
|
+
const types_1 = require("binary/types");
|
|
5
|
+
exports.FLASH_CALL_REQUESTS = {
|
|
6
|
+
'\\09x_flash_call': {
|
|
7
|
+
command: 'ClientFlashCall',
|
|
8
|
+
responseKey: '-',
|
|
9
|
+
writeScheme: [
|
|
10
|
+
{
|
|
11
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
12
|
+
binary: types_1.EWriteDataType.UTF,
|
|
13
|
+
key: 'value',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
17
|
+
binary: types_1.EWriteDataType.Byte,
|
|
18
|
+
key: 'appType',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
22
|
+
binary: types_1.EWriteDataType.Byte,
|
|
23
|
+
key: 'section', // 3 ?
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
27
|
+
binary: types_1.EWriteDataType.Byte,
|
|
28
|
+
key: 'requestId',
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
'\\31x_flash_call_code_check': {
|
|
33
|
+
command: 'СlientСode',
|
|
34
|
+
responseKey: '-',
|
|
35
|
+
writeScheme: [
|
|
36
|
+
{
|
|
37
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
38
|
+
binary: types_1.EWriteDataType.UTF,
|
|
39
|
+
key: 'sms',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
43
|
+
binary: types_1.EWriteDataType.Byte,
|
|
44
|
+
key: 'requestId',
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
},
|
|
48
|
+
};
|
|
@@ -8,7 +8,8 @@ const PlixoTryRequests_1 = require("./requestModules/PlixoTryRequests");
|
|
|
8
8
|
const PlixoCreedo_1 = require("./requestModules/PlixoCreedo");
|
|
9
9
|
const PlixoPkr_1 = require("./requestModules/PlixoPkr");
|
|
10
10
|
const Registration_1 = require("./requestModules/Registration");
|
|
11
|
-
|
|
11
|
+
const FlashCall_1 = require("./requestModules/FlashCall");
|
|
12
|
+
exports.REQUEST_COMMANDS = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ '\\x0': {
|
|
12
13
|
command: 'GeoProviders',
|
|
13
14
|
responseKey: '-',
|
|
14
15
|
writeScheme: [],
|
|
@@ -2991,4 +2992,4 @@ exports.REQUEST_COMMANDS = Object.assign(Object.assign(Object.assign(Object.assi
|
|
|
2991
2992
|
key: 'requestId',
|
|
2992
2993
|
},
|
|
2993
2994
|
],
|
|
2994
|
-
} }, Registration_1.REGISTRATION_REQUESTS), PlixoRequests_1.PLIXO_REQUESTS), APayRequest_1.APAY_REQUESTS), PlixoTryRequests_1.PLIXO_TRY_REQUESTS), PlixoCreedo_1.PLIXO_CREEDO_REQUESTS), PlixoPkr_1.PLIXO_CASHX_REQUESTS);
|
|
2995
|
+
} }, FlashCall_1.FLASH_CALL_REQUESTS), Registration_1.REGISTRATION_REQUESTS), PlixoRequests_1.PLIXO_REQUESTS), APayRequest_1.APAY_REQUESTS), PlixoTryRequests_1.PLIXO_TRY_REQUESTS), PlixoCreedo_1.PLIXO_CREEDO_REQUESTS), PlixoPkr_1.PLIXO_CASHX_REQUESTS);
|
package/dist/lib/binary/types.js
CHANGED
|
@@ -116,6 +116,7 @@ var ERequestIds;
|
|
|
116
116
|
ERequestIds[ERequestIds["RequestLotteries"] = 56] = "RequestLotteries";
|
|
117
117
|
ERequestIds[ERequestIds["ReferralWithdraw"] = 57] = "ReferralWithdraw";
|
|
118
118
|
ERequestIds[ERequestIds["WalletAzn"] = 58] = "WalletAzn";
|
|
119
|
+
ERequestIds[ERequestIds["FlashCall"] = 59] = "FlashCall";
|
|
119
120
|
})(ERequestIds || (exports.ERequestIds = ERequestIds = {}));
|
|
120
121
|
// REGISTRATION SUB ID
|
|
121
122
|
var RegistrationSubType;
|
|
@@ -37,5 +37,6 @@ export declare class ResponseAdapter {
|
|
|
37
37
|
private handleAdditionalUserInfo;
|
|
38
38
|
handleBackOfficeSettings(result: HandleBackOfficeResponse): void;
|
|
39
39
|
handleRunCasinoGameResponse(result: HandleRunGameResponse): void;
|
|
40
|
+
private handleSmsCodeSended;
|
|
40
41
|
handleCasinoTournament(result: AdaptedCasinoTournamentProps, isInitial?: boolean): void;
|
|
41
42
|
}
|
|
@@ -125,7 +125,8 @@ export declare enum ERequestCommand {
|
|
|
125
125
|
RublesDeposit = "bet_payment_create_deposit",
|
|
126
126
|
BetPaymentCreateWithdraw = "bet_payment_create_withdraw",
|
|
127
127
|
BetPaymentCreateDeposit = "bet_payment_create_deposit",
|
|
128
|
-
ClientAfterRegister = "client_after_register"
|
|
128
|
+
ClientAfterRegister = "client_after_register",
|
|
129
|
+
ClientFlashCall = "clientflashcall"
|
|
129
130
|
}
|
|
130
131
|
export type SendCommand = (key: string, data: {
|
|
131
132
|
[key: string]: string | number | any[];
|
|
@@ -73,6 +73,7 @@ var ERequestCommand;
|
|
|
73
73
|
ERequestCommand["BetPaymentCreateWithdraw"] = "bet_payment_create_withdraw";
|
|
74
74
|
ERequestCommand["BetPaymentCreateDeposit"] = "bet_payment_create_deposit";
|
|
75
75
|
ERequestCommand["ClientAfterRegister"] = "client_after_register";
|
|
76
|
+
ERequestCommand["ClientFlashCall"] = "clientflashcall";
|
|
76
77
|
})(ERequestCommand || (exports.ERequestCommand = ERequestCommand = {}));
|
|
77
78
|
// ============== END MARKETS ==============
|
|
78
79
|
var ERequestStatus;
|
|
@@ -3,17 +3,18 @@ export declare enum ENotifications {
|
|
|
3
3
|
ReplacedBet = 1,
|
|
4
4
|
TicketFinished = 2,
|
|
5
5
|
SmsCodeSended = 3,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
FlashCallSended = 4,
|
|
7
|
+
ReferralWithdrawSuccess = 5,
|
|
8
|
+
ReferralWithdrawError = 6,
|
|
9
|
+
OperationCanMayAFewMinutes = 7,
|
|
10
|
+
UserInNotAuthorize = 8,
|
|
11
|
+
LootBoxBetNotFound = 9,
|
|
12
|
+
AmountIsNotEnough = 10,
|
|
13
|
+
WheelIsNotAvailable = 11,
|
|
14
|
+
BalanceIsNotAvailable = 12,
|
|
15
|
+
PromoCodeError = 13,
|
|
16
|
+
PromoCodeSuccess = 14,
|
|
17
|
+
LootBoxTakeMonthly = 15,
|
|
18
|
+
AccrualHistoryError = 16,
|
|
19
|
+
SendCodeResponse = 17
|
|
19
20
|
}
|
|
@@ -7,17 +7,18 @@ var ENotifications;
|
|
|
7
7
|
ENotifications[ENotifications["ReplacedBet"] = 1] = "ReplacedBet";
|
|
8
8
|
ENotifications[ENotifications["TicketFinished"] = 2] = "TicketFinished";
|
|
9
9
|
ENotifications[ENotifications["SmsCodeSended"] = 3] = "SmsCodeSended";
|
|
10
|
-
ENotifications[ENotifications["
|
|
11
|
-
ENotifications[ENotifications["
|
|
12
|
-
ENotifications[ENotifications["
|
|
13
|
-
ENotifications[ENotifications["
|
|
14
|
-
ENotifications[ENotifications["
|
|
15
|
-
ENotifications[ENotifications["
|
|
16
|
-
ENotifications[ENotifications["
|
|
17
|
-
ENotifications[ENotifications["
|
|
18
|
-
ENotifications[ENotifications["
|
|
19
|
-
ENotifications[ENotifications["
|
|
20
|
-
ENotifications[ENotifications["
|
|
21
|
-
ENotifications[ENotifications["
|
|
22
|
-
ENotifications[ENotifications["
|
|
10
|
+
ENotifications[ENotifications["FlashCallSended"] = 4] = "FlashCallSended";
|
|
11
|
+
ENotifications[ENotifications["ReferralWithdrawSuccess"] = 5] = "ReferralWithdrawSuccess";
|
|
12
|
+
ENotifications[ENotifications["ReferralWithdrawError"] = 6] = "ReferralWithdrawError";
|
|
13
|
+
ENotifications[ENotifications["OperationCanMayAFewMinutes"] = 7] = "OperationCanMayAFewMinutes";
|
|
14
|
+
ENotifications[ENotifications["UserInNotAuthorize"] = 8] = "UserInNotAuthorize";
|
|
15
|
+
ENotifications[ENotifications["LootBoxBetNotFound"] = 9] = "LootBoxBetNotFound";
|
|
16
|
+
ENotifications[ENotifications["AmountIsNotEnough"] = 10] = "AmountIsNotEnough";
|
|
17
|
+
ENotifications[ENotifications["WheelIsNotAvailable"] = 11] = "WheelIsNotAvailable";
|
|
18
|
+
ENotifications[ENotifications["BalanceIsNotAvailable"] = 12] = "BalanceIsNotAvailable";
|
|
19
|
+
ENotifications[ENotifications["PromoCodeError"] = 13] = "PromoCodeError";
|
|
20
|
+
ENotifications[ENotifications["PromoCodeSuccess"] = 14] = "PromoCodeSuccess";
|
|
21
|
+
ENotifications[ENotifications["LootBoxTakeMonthly"] = 15] = "LootBoxTakeMonthly";
|
|
22
|
+
ENotifications[ENotifications["AccrualHistoryError"] = 16] = "AccrualHistoryError";
|
|
23
|
+
ENotifications[ENotifications["SendCodeResponse"] = 17] = "SendCodeResponse";
|
|
23
24
|
})(ENotifications || (exports.ENotifications = ENotifications = {}));
|