react-memory-optimization 0.0.26 → 0.0.27
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/requests.js +112 -0
- package/dist/lib/binary/constants/scheme.js +10 -0
- package/dist/lib/binary/types.d.ts +33 -32
- package/dist/lib/binary/types.js +33 -32
- package/dist/lib/store/user/types.d.ts +4 -1
- package/dist/lib/store/user/types.js +3 -0
- package/package.json +1 -1
|
@@ -3062,4 +3062,116 @@ exports.REQUEST_COMMANDS = {
|
|
|
3062
3062
|
},
|
|
3063
3063
|
],
|
|
3064
3064
|
},
|
|
3065
|
+
'\\79x': {
|
|
3066
|
+
command: 'BetPaymentCreateDeposit',
|
|
3067
|
+
responseKey: '152',
|
|
3068
|
+
writeScheme: [
|
|
3069
|
+
{
|
|
3070
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3071
|
+
binary: types_1.EWriteDataType.Long,
|
|
3072
|
+
key: 'bonusId',
|
|
3073
|
+
},
|
|
3074
|
+
{
|
|
3075
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3076
|
+
binary: types_1.EWriteDataType.Short,
|
|
3077
|
+
key: 'currencyId',
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3081
|
+
binary: types_1.EWriteDataType.Byte,
|
|
3082
|
+
key: 'channelId',
|
|
3083
|
+
},
|
|
3084
|
+
{
|
|
3085
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3086
|
+
binary: types_1.EWriteDataType.UTF,
|
|
3087
|
+
key: 'name',
|
|
3088
|
+
},
|
|
3089
|
+
{
|
|
3090
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3091
|
+
binary: types_1.EWriteDataType.UTF,
|
|
3092
|
+
key: 'sureName',
|
|
3093
|
+
},
|
|
3094
|
+
{
|
|
3095
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3096
|
+
binary: types_1.EWriteDataType.UTF,
|
|
3097
|
+
key: 'email',
|
|
3098
|
+
},
|
|
3099
|
+
{
|
|
3100
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3101
|
+
binary: types_1.EWriteDataType.UTF,
|
|
3102
|
+
key: 'phone',
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3106
|
+
binary: types_1.EWriteDataType.Int,
|
|
3107
|
+
key: 'amount',
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3111
|
+
binary: types_1.EWriteDataType.Byte,
|
|
3112
|
+
key: 'requestId',
|
|
3113
|
+
},
|
|
3114
|
+
],
|
|
3115
|
+
},
|
|
3116
|
+
'\\80x': {
|
|
3117
|
+
command: 'BetPaymentCreateWithdraw',
|
|
3118
|
+
responseKey: '153',
|
|
3119
|
+
writeScheme: [
|
|
3120
|
+
{
|
|
3121
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3122
|
+
binary: types_1.EWriteDataType.Short,
|
|
3123
|
+
key: 'currencyId',
|
|
3124
|
+
},
|
|
3125
|
+
{
|
|
3126
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3127
|
+
binary: types_1.EWriteDataType.Byte,
|
|
3128
|
+
key: 'channelId',
|
|
3129
|
+
},
|
|
3130
|
+
{
|
|
3131
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3132
|
+
binary: types_1.EWriteDataType.UTF,
|
|
3133
|
+
key: 'name',
|
|
3134
|
+
},
|
|
3135
|
+
{
|
|
3136
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3137
|
+
binary: types_1.EWriteDataType.UTF,
|
|
3138
|
+
key: 'surname',
|
|
3139
|
+
},
|
|
3140
|
+
{
|
|
3141
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3142
|
+
binary: types_1.EWriteDataType.UTF,
|
|
3143
|
+
key: 'email',
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3147
|
+
binary: types_1.EWriteDataType.UTF,
|
|
3148
|
+
key: 'phone',
|
|
3149
|
+
},
|
|
3150
|
+
{
|
|
3151
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3152
|
+
binary: types_1.EWriteDataType.UTF,
|
|
3153
|
+
key: 'bankCode',
|
|
3154
|
+
},
|
|
3155
|
+
{
|
|
3156
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3157
|
+
binary: types_1.EWriteDataType.UTF,
|
|
3158
|
+
key: 'bankName',
|
|
3159
|
+
},
|
|
3160
|
+
{
|
|
3161
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3162
|
+
binary: types_1.EWriteDataType.UTF,
|
|
3163
|
+
key: 'accountNumber',
|
|
3164
|
+
},
|
|
3165
|
+
{
|
|
3166
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3167
|
+
binary: types_1.EWriteDataType.Int,
|
|
3168
|
+
key: 'amount',
|
|
3169
|
+
},
|
|
3170
|
+
{
|
|
3171
|
+
type: 0 /* EWriteModifiedDataType.Usual */,
|
|
3172
|
+
binary: types_1.EWriteDataType.Byte,
|
|
3173
|
+
key: 'requestId',
|
|
3174
|
+
},
|
|
3175
|
+
],
|
|
3176
|
+
},
|
|
3065
3177
|
};
|
|
@@ -1545,4 +1545,14 @@ exports.binaryDecoderScheme = {
|
|
|
1545
1545
|
},
|
|
1546
1546
|
],
|
|
1547
1547
|
},
|
|
1548
|
+
'152': {
|
|
1549
|
+
data: [
|
|
1550
|
+
{
|
|
1551
|
+
type: -2 /* EReadModifiedDataType.Module */,
|
|
1552
|
+
name: 'paymentResponse',
|
|
1553
|
+
isSave: true,
|
|
1554
|
+
dependencyName: types_1.ReadModuleKeys.ReadPaymentResponse,
|
|
1555
|
+
},
|
|
1556
|
+
],
|
|
1557
|
+
},
|
|
1548
1558
|
};
|
|
@@ -210,38 +210,39 @@ export declare enum ERequestIds {
|
|
|
210
210
|
DepositERC = 23,
|
|
211
211
|
DepositBEP = 24,
|
|
212
212
|
DepositQrForm = 25,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
213
|
+
WithdrawRequest = 26,
|
|
214
|
+
WithdrawCoinPay = 27,
|
|
215
|
+
GetBillingAddress = 28,
|
|
216
|
+
WithdrawRubles = 29,
|
|
217
|
+
BKashWithdraw = 30,
|
|
218
|
+
CriptoWithdraw = 31,
|
|
219
|
+
WithdrawBank = 32,
|
|
220
|
+
WithdrawPix = 33,
|
|
221
|
+
PixPagsmileWithdraw = 34,
|
|
222
|
+
PixBankTransferWithdraw = 35,
|
|
223
|
+
WithdrawPapara = 36,
|
|
224
|
+
WithdrawAninda = 37,
|
|
225
|
+
WithdrawMPayFix = 38,
|
|
226
|
+
MPayWithdraw = 39,
|
|
227
|
+
WithdrawMonetics = 40,
|
|
228
|
+
WithdrawHavaleHera = 41,
|
|
229
|
+
WithdrawWellexPay = 42,
|
|
230
|
+
MNXWallet = 43,
|
|
231
|
+
SaveToFav = 44,
|
|
232
|
+
CancelOperation = 45,
|
|
233
|
+
ApplyBonusPack = 46,
|
|
234
|
+
BuyTickets = 47,
|
|
235
|
+
LotteryHistoryTicket = 48,
|
|
236
|
+
GetCasinoOperations = 49,
|
|
237
|
+
GetDepositOperations = 50,
|
|
238
|
+
CasinoTournaments = 51,
|
|
239
|
+
ExtraLines = 52,
|
|
240
|
+
CashOut = 53,
|
|
241
|
+
RequestTickets = 54,
|
|
242
|
+
LastWinners = 55,
|
|
243
|
+
RequestLotteries = 56,
|
|
244
|
+
ReferralWithdraw = 57,
|
|
245
|
+
WalletAzn = 58
|
|
245
246
|
}
|
|
246
247
|
export declare enum RegistrationSubType {
|
|
247
248
|
UpdateUserInfo = 6,
|
package/dist/lib/binary/types.js
CHANGED
|
@@ -71,50 +71,51 @@ var ERequestIds;
|
|
|
71
71
|
ERequestIds[ERequestIds["DepositERC"] = 23] = "DepositERC";
|
|
72
72
|
ERequestIds[ERequestIds["DepositBEP"] = 24] = "DepositBEP";
|
|
73
73
|
ERequestIds[ERequestIds["DepositQrForm"] = 25] = "DepositQrForm";
|
|
74
|
-
ERequestIds[ERequestIds["
|
|
74
|
+
ERequestIds[ERequestIds["WithdrawRequest"] = 26] = "WithdrawRequest";
|
|
75
|
+
ERequestIds[ERequestIds["WithdrawCoinPay"] = 27] = "WithdrawCoinPay";
|
|
75
76
|
// Billing
|
|
76
|
-
ERequestIds[ERequestIds["GetBillingAddress"] =
|
|
77
|
+
ERequestIds[ERequestIds["GetBillingAddress"] = 28] = "GetBillingAddress";
|
|
77
78
|
// Withdraw
|
|
78
|
-
ERequestIds[ERequestIds["WithdrawRubles"] =
|
|
79
|
-
ERequestIds[ERequestIds["BKashWithdraw"] =
|
|
80
|
-
ERequestIds[ERequestIds["CriptoWithdraw"] =
|
|
81
|
-
ERequestIds[ERequestIds["WithdrawBank"] =
|
|
82
|
-
ERequestIds[ERequestIds["WithdrawPix"] =
|
|
83
|
-
ERequestIds[ERequestIds["PixPagsmileWithdraw"] =
|
|
84
|
-
ERequestIds[ERequestIds["PixBankTransferWithdraw"] =
|
|
79
|
+
ERequestIds[ERequestIds["WithdrawRubles"] = 29] = "WithdrawRubles";
|
|
80
|
+
ERequestIds[ERequestIds["BKashWithdraw"] = 30] = "BKashWithdraw";
|
|
81
|
+
ERequestIds[ERequestIds["CriptoWithdraw"] = 31] = "CriptoWithdraw";
|
|
82
|
+
ERequestIds[ERequestIds["WithdrawBank"] = 32] = "WithdrawBank";
|
|
83
|
+
ERequestIds[ERequestIds["WithdrawPix"] = 33] = "WithdrawPix";
|
|
84
|
+
ERequestIds[ERequestIds["PixPagsmileWithdraw"] = 34] = "PixPagsmileWithdraw";
|
|
85
|
+
ERequestIds[ERequestIds["PixBankTransferWithdraw"] = 35] = "PixBankTransferWithdraw";
|
|
85
86
|
// Widthdray turkish
|
|
86
|
-
ERequestIds[ERequestIds["WithdrawPapara"] =
|
|
87
|
-
ERequestIds[ERequestIds["WithdrawAninda"] =
|
|
88
|
-
ERequestIds[ERequestIds["WithdrawMPayFix"] =
|
|
89
|
-
ERequestIds[ERequestIds["MPayWithdraw"] =
|
|
87
|
+
ERequestIds[ERequestIds["WithdrawPapara"] = 36] = "WithdrawPapara";
|
|
88
|
+
ERequestIds[ERequestIds["WithdrawAninda"] = 37] = "WithdrawAninda";
|
|
89
|
+
ERequestIds[ERequestIds["WithdrawMPayFix"] = 38] = "WithdrawMPayFix";
|
|
90
|
+
ERequestIds[ERequestIds["MPayWithdraw"] = 39] = "MPayWithdraw";
|
|
90
91
|
// End withdraw turkish
|
|
91
92
|
// Withdraw Monetics
|
|
92
|
-
ERequestIds[ERequestIds["WithdrawMonetics"] =
|
|
93
|
-
ERequestIds[ERequestIds["WithdrawHavaleHera"] =
|
|
93
|
+
ERequestIds[ERequestIds["WithdrawMonetics"] = 40] = "WithdrawMonetics";
|
|
94
|
+
ERequestIds[ERequestIds["WithdrawHavaleHera"] = 41] = "WithdrawHavaleHera";
|
|
94
95
|
// Wellex pay
|
|
95
|
-
ERequestIds[ERequestIds["WithdrawWellexPay"] =
|
|
96
|
+
ERequestIds[ERequestIds["WithdrawWellexPay"] = 42] = "WithdrawWellexPay";
|
|
96
97
|
// MNX
|
|
97
|
-
ERequestIds[ERequestIds["MNXWallet"] =
|
|
98
|
+
ERequestIds[ERequestIds["MNXWallet"] = 43] = "MNXWallet";
|
|
98
99
|
// END
|
|
99
100
|
// Fav
|
|
100
|
-
ERequestIds[ERequestIds["SaveToFav"] =
|
|
101
|
+
ERequestIds[ERequestIds["SaveToFav"] = 44] = "SaveToFav";
|
|
101
102
|
// operation
|
|
102
|
-
ERequestIds[ERequestIds["CancelOperation"] =
|
|
103
|
-
ERequestIds[ERequestIds["ApplyBonusPack"] =
|
|
103
|
+
ERequestIds[ERequestIds["CancelOperation"] = 45] = "CancelOperation";
|
|
104
|
+
ERequestIds[ERequestIds["ApplyBonusPack"] = 46] = "ApplyBonusPack";
|
|
104
105
|
// lotteries
|
|
105
|
-
ERequestIds[ERequestIds["BuyTickets"] =
|
|
106
|
-
ERequestIds[ERequestIds["LotteryHistoryTicket"] =
|
|
106
|
+
ERequestIds[ERequestIds["BuyTickets"] = 47] = "BuyTickets";
|
|
107
|
+
ERequestIds[ERequestIds["LotteryHistoryTicket"] = 48] = "LotteryHistoryTicket";
|
|
107
108
|
// lib
|
|
108
|
-
ERequestIds[ERequestIds["GetCasinoOperations"] =
|
|
109
|
-
ERequestIds[ERequestIds["GetDepositOperations"] =
|
|
110
|
-
ERequestIds[ERequestIds["CasinoTournaments"] =
|
|
111
|
-
ERequestIds[ERequestIds["ExtraLines"] =
|
|
112
|
-
ERequestIds[ERequestIds["CashOut"] =
|
|
113
|
-
ERequestIds[ERequestIds["RequestTickets"] =
|
|
114
|
-
ERequestIds[ERequestIds["LastWinners"] =
|
|
115
|
-
ERequestIds[ERequestIds["RequestLotteries"] =
|
|
116
|
-
ERequestIds[ERequestIds["ReferralWithdraw"] =
|
|
117
|
-
ERequestIds[ERequestIds["WalletAzn"] =
|
|
109
|
+
ERequestIds[ERequestIds["GetCasinoOperations"] = 49] = "GetCasinoOperations";
|
|
110
|
+
ERequestIds[ERequestIds["GetDepositOperations"] = 50] = "GetDepositOperations";
|
|
111
|
+
ERequestIds[ERequestIds["CasinoTournaments"] = 51] = "CasinoTournaments";
|
|
112
|
+
ERequestIds[ERequestIds["ExtraLines"] = 52] = "ExtraLines";
|
|
113
|
+
ERequestIds[ERequestIds["CashOut"] = 53] = "CashOut";
|
|
114
|
+
ERequestIds[ERequestIds["RequestTickets"] = 54] = "RequestTickets";
|
|
115
|
+
ERequestIds[ERequestIds["LastWinners"] = 55] = "LastWinners";
|
|
116
|
+
ERequestIds[ERequestIds["RequestLotteries"] = 56] = "RequestLotteries";
|
|
117
|
+
ERequestIds[ERequestIds["ReferralWithdraw"] = 57] = "ReferralWithdraw";
|
|
118
|
+
ERequestIds[ERequestIds["WalletAzn"] = 58] = "WalletAzn";
|
|
118
119
|
})(ERequestIds || (exports.ERequestIds = ERequestIds = {}));
|
|
119
120
|
// REGISTRATION SUB ID
|
|
120
121
|
var RegistrationSubType;
|
|
@@ -238,7 +238,10 @@ export declare enum PaymentChannelType {
|
|
|
238
238
|
PlixoNagad = 227,
|
|
239
239
|
UpiP2p = 228,
|
|
240
240
|
PayTmP2P = 229,
|
|
241
|
-
PhonePeP2P = 230
|
|
241
|
+
PhonePeP2P = 230,
|
|
242
|
+
NetBanking = 231,
|
|
243
|
+
UPI = 232,
|
|
244
|
+
UPI_QR = 233
|
|
242
245
|
}
|
|
243
246
|
export type MPayMethods = PaymentChannelType.MPayParazula | PaymentChannelType.MPayPayco | PaymentChannelType.MPayVCC | PaymentChannelType.PaparaMPay | PaymentChannelType.MefeteMpay | PaymentChannelType.MefeteMpayQr | PaymentChannelType.EFTMPay | PaymentChannelType.MiniHavaleMpay | PaymentChannelType.PopyMpay;
|
|
244
247
|
export type WellexPayMethods = PaymentChannelType.BKashFastWellexPay | PaymentChannelType.NagadFastWellexPay | PaymentChannelType.NagadWellexPay | PaymentChannelType.BkashWellexPay | PaymentChannelType.WellxpayUpay | PaymentChannelType.BKashFastWellexPayCopy | PaymentChannelType.NagadFastWellexPayCopy | PaymentChannelType.WellxpayRocket;
|
|
@@ -141,4 +141,7 @@ var PaymentChannelType;
|
|
|
141
141
|
PaymentChannelType[PaymentChannelType["UpiP2p"] = 228] = "UpiP2p";
|
|
142
142
|
PaymentChannelType[PaymentChannelType["PayTmP2P"] = 229] = "PayTmP2P";
|
|
143
143
|
PaymentChannelType[PaymentChannelType["PhonePeP2P"] = 230] = "PhonePeP2P";
|
|
144
|
+
PaymentChannelType[PaymentChannelType["NetBanking"] = 231] = "NetBanking";
|
|
145
|
+
PaymentChannelType[PaymentChannelType["UPI"] = 232] = "UPI";
|
|
146
|
+
PaymentChannelType[PaymentChannelType["UPI_QR"] = 233] = "UPI_QR";
|
|
144
147
|
})(PaymentChannelType || (exports.PaymentChannelType = PaymentChannelType = {}));
|