react-memory-optimization 0.0.120 → 0.0.121
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/service/api/constants.js +33 -0
- package/dist/lib/service/api/types.d.ts +9 -1
- package/dist/lib/service/api/types.js +10 -0
- package/dist/lib/store/new-flow/transport/types.d.ts +3 -1
- package/dist/lib/store/new-flow/transport/types.js +2 -0
- package/dist/lib/store/user/types.d.ts +4 -0
- package/dist/lib/store/user/types.js +4 -0
- package/package.json +1 -1
|
@@ -85,4 +85,37 @@ exports.PAYMENT_REQUEST_PATHS = {
|
|
|
85
85
|
path: types_1.EApiPath.CreateProdDeposit,
|
|
86
86
|
adapterFn: utils_1.restAdapterDeposit,
|
|
87
87
|
},
|
|
88
|
+
// BetterBro BDT
|
|
89
|
+
[types_1.EPaymentRequestPath.BetterBroBkashDeposit]: {
|
|
90
|
+
path: types_1.EApiPath.CreateProdDeposit,
|
|
91
|
+
adapterFn: utils_1.restAdapterDeposit,
|
|
92
|
+
},
|
|
93
|
+
[types_1.EPaymentRequestPath.BetterBroBkashWithdraw]: {
|
|
94
|
+
path: types_1.EApiPath.CreateProdWithdraw,
|
|
95
|
+
adapterFn: utils_1.restAdapterDeposit,
|
|
96
|
+
},
|
|
97
|
+
[types_1.EPaymentRequestPath.BetterBroNagadDeposit]: {
|
|
98
|
+
path: types_1.EApiPath.CreateProdDeposit,
|
|
99
|
+
adapterFn: utils_1.restAdapterDeposit,
|
|
100
|
+
},
|
|
101
|
+
[types_1.EPaymentRequestPath.BetterBroNagadWithdraw]: {
|
|
102
|
+
path: types_1.EApiPath.CreateProdWithdraw,
|
|
103
|
+
adapterFn: utils_1.restAdapterWithdraw,
|
|
104
|
+
},
|
|
105
|
+
[types_1.EPaymentRequestPath.BetterBroEasypaisaDeposit]: {
|
|
106
|
+
path: types_1.EApiPath.CreateProdDeposit,
|
|
107
|
+
adapterFn: utils_1.restAdapterDeposit,
|
|
108
|
+
},
|
|
109
|
+
[types_1.EPaymentRequestPath.BetterBroEasypaisaWithdraw]: {
|
|
110
|
+
path: types_1.EApiPath.CreateProdWithdraw,
|
|
111
|
+
adapterFn: utils_1.restAdapterWithdraw,
|
|
112
|
+
},
|
|
113
|
+
[types_1.EPaymentRequestPath.BetterBroJazzCashDeposit]: {
|
|
114
|
+
path: types_1.EApiPath.CreateProdDeposit,
|
|
115
|
+
adapterFn: utils_1.restAdapterDeposit,
|
|
116
|
+
},
|
|
117
|
+
[types_1.EPaymentRequestPath.BetterBroJazzCashWithdraw]: {
|
|
118
|
+
path: types_1.EApiPath.CreateProdWithdraw,
|
|
119
|
+
adapterFn: utils_1.restAdapterWithdraw,
|
|
120
|
+
},
|
|
88
121
|
};
|
|
@@ -35,7 +35,15 @@ export declare enum EPaymentRequestPath {
|
|
|
35
35
|
PayinOnlineBankingMYRDepositDeposit = "prepare_data_for_payin_online_banking_myr",
|
|
36
36
|
PayinOnlineBankingMYRDepositWithdraw = "prepare_data_for_payout_online_banking_myr",
|
|
37
37
|
PayoutBankTransferMYRWithdraw = "payout_bank_transfer_myr_withdraw",
|
|
38
|
-
PayinBankTransferMYRDeposit = "payin_bank_transfer_myr_deposit"
|
|
38
|
+
PayinBankTransferMYRDeposit = "payin_bank_transfer_myr_deposit",
|
|
39
|
+
BetterBroBkashDeposit = "better_bro_bkash_deposit",
|
|
40
|
+
BetterBroBkashWithdraw = "better_bro_bkash_withdraw",
|
|
41
|
+
BetterBroNagadDeposit = "better_bro_nagad_deposit",
|
|
42
|
+
BetterBroNagadWithdraw = "better_bro_nagad_withdraw",
|
|
43
|
+
BetterBroEasypaisaDeposit = "better_bro_easypaisa_deposit",
|
|
44
|
+
BetterBroEasypaisaWithdraw = "better_bro_easypaisa_withdraw",
|
|
45
|
+
BetterBroJazzCashDeposit = "better_bro_jazzcash_deposit",
|
|
46
|
+
BetterBroJazzCashWithdraw = "better_bro_jazzcash_withdraw"
|
|
39
47
|
}
|
|
40
48
|
export type ApiList = {
|
|
41
49
|
[key: string]: {
|
|
@@ -42,6 +42,16 @@ var EPaymentRequestPath;
|
|
|
42
42
|
EPaymentRequestPath["PayinOnlineBankingMYRDepositWithdraw"] = "prepare_data_for_payout_online_banking_myr";
|
|
43
43
|
EPaymentRequestPath["PayoutBankTransferMYRWithdraw"] = "payout_bank_transfer_myr_withdraw";
|
|
44
44
|
EPaymentRequestPath["PayinBankTransferMYRDeposit"] = "payin_bank_transfer_myr_deposit";
|
|
45
|
+
// BetterBro BDT
|
|
46
|
+
EPaymentRequestPath["BetterBroBkashDeposit"] = "better_bro_bkash_deposit";
|
|
47
|
+
EPaymentRequestPath["BetterBroBkashWithdraw"] = "better_bro_bkash_withdraw";
|
|
48
|
+
EPaymentRequestPath["BetterBroNagadDeposit"] = "better_bro_nagad_deposit";
|
|
49
|
+
EPaymentRequestPath["BetterBroNagadWithdraw"] = "better_bro_nagad_withdraw";
|
|
50
|
+
// BetterBro PKR
|
|
51
|
+
EPaymentRequestPath["BetterBroEasypaisaDeposit"] = "better_bro_easypaisa_deposit";
|
|
52
|
+
EPaymentRequestPath["BetterBroEasypaisaWithdraw"] = "better_bro_easypaisa_withdraw";
|
|
53
|
+
EPaymentRequestPath["BetterBroJazzCashDeposit"] = "better_bro_jazzcash_deposit";
|
|
54
|
+
EPaymentRequestPath["BetterBroJazzCashWithdraw"] = "better_bro_jazzcash_withdraw";
|
|
45
55
|
})(EPaymentRequestPath || (exports.EPaymentRequestPath = EPaymentRequestPath = {}));
|
|
46
56
|
// FlashPayUpiDeposit
|
|
47
57
|
var EPaymentStatusCode;
|
|
@@ -12,7 +12,9 @@ export declare enum ETransportPath {
|
|
|
12
12
|
SignUp = "/auth/sign-up",
|
|
13
13
|
SignIn = "/auth/sign-in/client",
|
|
14
14
|
TokenSignIn = "/auth/sign-in/token",
|
|
15
|
-
RefreshToken = "/auth/sign-in/refresh-token"
|
|
15
|
+
RefreshToken = "/auth/sign-in/refresh-token",
|
|
16
|
+
RecoveryPassword = "/recovery-password/email",
|
|
17
|
+
SubmitCode = "/recovery-password/set-new-password"
|
|
16
18
|
}
|
|
17
19
|
export type SignInResponse = {
|
|
18
20
|
accessToken: string;
|
|
@@ -11,4 +11,6 @@ var ETransportPath;
|
|
|
11
11
|
ETransportPath["SignIn"] = "/auth/sign-in/client";
|
|
12
12
|
ETransportPath["TokenSignIn"] = "/auth/sign-in/token";
|
|
13
13
|
ETransportPath["RefreshToken"] = "/auth/sign-in/refresh-token";
|
|
14
|
+
ETransportPath["RecoveryPassword"] = "/recovery-password/email";
|
|
15
|
+
ETransportPath["SubmitCode"] = "/recovery-password/set-new-password";
|
|
14
16
|
})(ETransportPath || (exports.ETransportPath = ETransportPath = {}));
|
|
@@ -194,6 +194,10 @@ export declare enum PaymentChannelType {
|
|
|
194
194
|
PayinGrabpayMYR = 101,
|
|
195
195
|
Rocket = 103,
|
|
196
196
|
PayinDuitNowMYR = 104,
|
|
197
|
+
BetterBroBkash = 106,
|
|
198
|
+
BetterBroNagad = 107,
|
|
199
|
+
BetterBroEasypaisa = 108,
|
|
200
|
+
BetterBroJazzCash = 109,
|
|
197
201
|
PayinOnlineBankingMYR = 105,
|
|
198
202
|
BkashMonetics = 126,
|
|
199
203
|
NagadMonetics = 127,
|
|
@@ -86,6 +86,10 @@ var PaymentChannelType;
|
|
|
86
86
|
// - Mpay end ( not full )
|
|
87
87
|
PaymentChannelType[PaymentChannelType["Rocket"] = 103] = "Rocket";
|
|
88
88
|
PaymentChannelType[PaymentChannelType["PayinDuitNowMYR"] = 104] = "PayinDuitNowMYR";
|
|
89
|
+
PaymentChannelType[PaymentChannelType["BetterBroBkash"] = 106] = "BetterBroBkash";
|
|
90
|
+
PaymentChannelType[PaymentChannelType["BetterBroNagad"] = 107] = "BetterBroNagad";
|
|
91
|
+
PaymentChannelType[PaymentChannelType["BetterBroEasypaisa"] = 108] = "BetterBroEasypaisa";
|
|
92
|
+
PaymentChannelType[PaymentChannelType["BetterBroJazzCash"] = 109] = "BetterBroJazzCash";
|
|
89
93
|
PaymentChannelType[PaymentChannelType["PayinOnlineBankingMYR"] = 105] = "PayinOnlineBankingMYR";
|
|
90
94
|
PaymentChannelType[PaymentChannelType["BkashMonetics"] = 126] = "BkashMonetics";
|
|
91
95
|
PaymentChannelType[PaymentChannelType["NagadMonetics"] = 127] = "NagadMonetics";
|