react-memory-optimization 0.0.26 → 0.0.28

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.
@@ -3062,4 +3062,252 @@ 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
+ },
3177
+ '\\81x': {
3178
+ command: 'Registration',
3179
+ responseKey: '-',
3180
+ writeScheme: [
3181
+ {
3182
+ type: 0 /* EWriteModifiedDataType.Usual */,
3183
+ binary: types_1.EWriteDataType.Byte,
3184
+ key: 'registrationType',
3185
+ },
3186
+ {
3187
+ type: 0 /* EWriteModifiedDataType.Usual */,
3188
+ binary: types_1.EWriteDataType.Byte,
3189
+ key: 'appType',
3190
+ },
3191
+ {
3192
+ type: 0 /* EWriteModifiedDataType.Usual */,
3193
+ binary: types_1.EWriteDataType.UTF,
3194
+ key: 'name',
3195
+ },
3196
+ {
3197
+ type: 0 /* EWriteModifiedDataType.Usual */,
3198
+ binary: types_1.EWriteDataType.UTF,
3199
+ key: 'surname',
3200
+ },
3201
+ {
3202
+ type: 0 /* EWriteModifiedDataType.Usual */,
3203
+ binary: types_1.EWriteDataType.UTF,
3204
+ key: 'password',
3205
+ },
3206
+ {
3207
+ type: 0 /* EWriteModifiedDataType.Usual */,
3208
+ binary: types_1.EWriteDataType.UTF,
3209
+ key: 'email',
3210
+ },
3211
+ {
3212
+ type: 0 /* EWriteModifiedDataType.Usual */,
3213
+ binary: types_1.EWriteDataType.UTF,
3214
+ key: 'phone',
3215
+ },
3216
+ {
3217
+ type: 0 /* EWriteModifiedDataType.Usual */,
3218
+ binary: types_1.EWriteDataType.UTF,
3219
+ key: 'address',
3220
+ },
3221
+ {
3222
+ type: 0 /* EWriteModifiedDataType.Usual */,
3223
+ binary: types_1.EWriteDataType.UTF,
3224
+ key: 'postalCode',
3225
+ },
3226
+ {
3227
+ type: 0 /* EWriteModifiedDataType.Usual */,
3228
+ binary: types_1.EWriteDataType.UTF,
3229
+ key: 'cityName',
3230
+ },
3231
+ {
3232
+ type: 0 /* EWriteModifiedDataType.Usual */,
3233
+ binary: types_1.EWriteDataType.UTF,
3234
+ key: 'countryName',
3235
+ },
3236
+ {
3237
+ type: 0 /* EWriteModifiedDataType.Usual */,
3238
+ binary: types_1.EWriteDataType.Short,
3239
+ key: 'birthDay',
3240
+ },
3241
+ {
3242
+ type: 0 /* EWriteModifiedDataType.Usual */,
3243
+ binary: types_1.EWriteDataType.Short,
3244
+ key: 'month',
3245
+ },
3246
+ {
3247
+ type: 0 /* EWriteModifiedDataType.Usual */,
3248
+ binary: types_1.EWriteDataType.Short,
3249
+ key: 'year',
3250
+ },
3251
+ {
3252
+ type: 0 /* EWriteModifiedDataType.Usual */,
3253
+ binary: types_1.EWriteDataType.Byte,
3254
+ key: 'gender',
3255
+ },
3256
+ {
3257
+ type: 0 /* EWriteModifiedDataType.Usual */,
3258
+ binary: types_1.EWriteDataType.Short,
3259
+ key: 'currencyId',
3260
+ },
3261
+ {
3262
+ type: 0 /* EWriteModifiedDataType.Usual */,
3263
+ binary: types_1.EWriteDataType.Byte,
3264
+ key: 'gmt',
3265
+ },
3266
+ {
3267
+ type: 0 /* EWriteModifiedDataType.Usual */,
3268
+ binary: types_1.EWriteDataType.UTF,
3269
+ key: 'location',
3270
+ },
3271
+ {
3272
+ type: 0 /* EWriteModifiedDataType.Usual */,
3273
+ binary: types_1.EWriteDataType.UTF,
3274
+ key: 'promoCode',
3275
+ },
3276
+ {
3277
+ type: 0 /* EWriteModifiedDataType.Usual */,
3278
+ binary: types_1.EWriteDataType.UTF,
3279
+ key: 'utmMedium',
3280
+ },
3281
+ {
3282
+ type: 0 /* EWriteModifiedDataType.Usual */,
3283
+ binary: types_1.EWriteDataType.UTF,
3284
+ key: 'utmSource',
3285
+ },
3286
+ {
3287
+ type: 0 /* EWriteModifiedDataType.Usual */,
3288
+ binary: types_1.EWriteDataType.UTF,
3289
+ key: 'utmCampaign',
3290
+ },
3291
+ {
3292
+ type: 0 /* EWriteModifiedDataType.Usual */,
3293
+ binary: types_1.EWriteDataType.UTF,
3294
+ key: 'language',
3295
+ },
3296
+ {
3297
+ type: 0 /* EWriteModifiedDataType.Usual */,
3298
+ binary: types_1.EWriteDataType.UTF,
3299
+ key: 'clickId',
3300
+ },
3301
+ {
3302
+ type: 0 /* EWriteModifiedDataType.Usual */,
3303
+ binary: types_1.EWriteDataType.Byte,
3304
+ key: 'deviceType',
3305
+ },
3306
+ {
3307
+ type: 0 /* EWriteModifiedDataType.Usual */,
3308
+ binary: types_1.EWriteDataType.Byte,
3309
+ key: 'requestId',
3310
+ },
3311
+ ],
3312
+ },
3065
3313
  };
@@ -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
- WithdrawCoinPay = 26,
214
- GetBillingAddress = 27,
215
- WithdrawRubles = 28,
216
- BKashWithdraw = 29,
217
- CriptoWithdraw = 30,
218
- WithdrawBank = 31,
219
- WithdrawPix = 32,
220
- PixPagsmileWithdraw = 33,
221
- PixBankTransferWithdraw = 34,
222
- WithdrawPapara = 35,
223
- WithdrawAninda = 36,
224
- WithdrawMPayFix = 37,
225
- MPayWithdraw = 38,
226
- WithdrawMonetics = 39,
227
- WithdrawHavaleHera = 40,
228
- WithdrawWellexPay = 41,
229
- MNXWallet = 42,
230
- SaveToFav = 43,
231
- CancelOperation = 44,
232
- ApplyBonusPack = 45,
233
- BuyTickets = 46,
234
- LotteryHistoryTicket = 47,
235
- GetCasinoOperations = 48,
236
- GetDepositOperations = 49,
237
- CasinoTournaments = 50,
238
- ExtraLines = 51,
239
- CashOut = 52,
240
- RequestTickets = 53,
241
- LastWinners = 54,
242
- RequestLotteries = 55,
243
- ReferralWithdraw = 56,
244
- WalletAzn = 57
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,
@@ -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["WithdrawCoinPay"] = 26] = "WithdrawCoinPay";
74
+ ERequestIds[ERequestIds["WithdrawRequest"] = 26] = "WithdrawRequest";
75
+ ERequestIds[ERequestIds["WithdrawCoinPay"] = 27] = "WithdrawCoinPay";
75
76
  // Billing
76
- ERequestIds[ERequestIds["GetBillingAddress"] = 27] = "GetBillingAddress";
77
+ ERequestIds[ERequestIds["GetBillingAddress"] = 28] = "GetBillingAddress";
77
78
  // Withdraw
78
- ERequestIds[ERequestIds["WithdrawRubles"] = 28] = "WithdrawRubles";
79
- ERequestIds[ERequestIds["BKashWithdraw"] = 29] = "BKashWithdraw";
80
- ERequestIds[ERequestIds["CriptoWithdraw"] = 30] = "CriptoWithdraw";
81
- ERequestIds[ERequestIds["WithdrawBank"] = 31] = "WithdrawBank";
82
- ERequestIds[ERequestIds["WithdrawPix"] = 32] = "WithdrawPix";
83
- ERequestIds[ERequestIds["PixPagsmileWithdraw"] = 33] = "PixPagsmileWithdraw";
84
- ERequestIds[ERequestIds["PixBankTransferWithdraw"] = 34] = "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"] = 35] = "WithdrawPapara";
87
- ERequestIds[ERequestIds["WithdrawAninda"] = 36] = "WithdrawAninda";
88
- ERequestIds[ERequestIds["WithdrawMPayFix"] = 37] = "WithdrawMPayFix";
89
- ERequestIds[ERequestIds["MPayWithdraw"] = 38] = "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"] = 39] = "WithdrawMonetics";
93
- ERequestIds[ERequestIds["WithdrawHavaleHera"] = 40] = "WithdrawHavaleHera";
93
+ ERequestIds[ERequestIds["WithdrawMonetics"] = 40] = "WithdrawMonetics";
94
+ ERequestIds[ERequestIds["WithdrawHavaleHera"] = 41] = "WithdrawHavaleHera";
94
95
  // Wellex pay
95
- ERequestIds[ERequestIds["WithdrawWellexPay"] = 41] = "WithdrawWellexPay";
96
+ ERequestIds[ERequestIds["WithdrawWellexPay"] = 42] = "WithdrawWellexPay";
96
97
  // MNX
97
- ERequestIds[ERequestIds["MNXWallet"] = 42] = "MNXWallet";
98
+ ERequestIds[ERequestIds["MNXWallet"] = 43] = "MNXWallet";
98
99
  // END
99
100
  // Fav
100
- ERequestIds[ERequestIds["SaveToFav"] = 43] = "SaveToFav";
101
+ ERequestIds[ERequestIds["SaveToFav"] = 44] = "SaveToFav";
101
102
  // operation
102
- ERequestIds[ERequestIds["CancelOperation"] = 44] = "CancelOperation";
103
- ERequestIds[ERequestIds["ApplyBonusPack"] = 45] = "ApplyBonusPack";
103
+ ERequestIds[ERequestIds["CancelOperation"] = 45] = "CancelOperation";
104
+ ERequestIds[ERequestIds["ApplyBonusPack"] = 46] = "ApplyBonusPack";
104
105
  // lotteries
105
- ERequestIds[ERequestIds["BuyTickets"] = 46] = "BuyTickets";
106
- ERequestIds[ERequestIds["LotteryHistoryTicket"] = 47] = "LotteryHistoryTicket";
106
+ ERequestIds[ERequestIds["BuyTickets"] = 47] = "BuyTickets";
107
+ ERequestIds[ERequestIds["LotteryHistoryTicket"] = 48] = "LotteryHistoryTicket";
107
108
  // lib
108
- ERequestIds[ERequestIds["GetCasinoOperations"] = 48] = "GetCasinoOperations";
109
- ERequestIds[ERequestIds["GetDepositOperations"] = 49] = "GetDepositOperations";
110
- ERequestIds[ERequestIds["CasinoTournaments"] = 50] = "CasinoTournaments";
111
- ERequestIds[ERequestIds["ExtraLines"] = 51] = "ExtraLines";
112
- ERequestIds[ERequestIds["CashOut"] = 52] = "CashOut";
113
- ERequestIds[ERequestIds["RequestTickets"] = 53] = "RequestTickets";
114
- ERequestIds[ERequestIds["LastWinners"] = 54] = "LastWinners";
115
- ERequestIds[ERequestIds["RequestLotteries"] = 55] = "RequestLotteries";
116
- ERequestIds[ERequestIds["ReferralWithdraw"] = 56] = "ReferralWithdraw";
117
- ERequestIds[ERequestIds["WalletAzn"] = 57] = "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 = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-memory-optimization",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "react memory optimization library",
5
5
  "sideEffects": false,
6
6
  "files": [