@soltech/fluid-common 0.4.0 → 0.4.2
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/lib/index.d.ts +3 -0
- package/lib/index.js +1 -0
- package/package.json +1 -1
- package/src/index.ts +3 -0
package/lib/index.d.ts
CHANGED
|
@@ -80,6 +80,7 @@ export interface InputField {
|
|
|
80
80
|
export interface InputFieldOption {
|
|
81
81
|
name: string;
|
|
82
82
|
code: string;
|
|
83
|
+
locale?: string;
|
|
83
84
|
logo?: PaymentMethodLogo;
|
|
84
85
|
}
|
|
85
86
|
export interface RecentMethod extends PaymentMethod {
|
|
@@ -127,6 +128,7 @@ export interface CryptoTransactionParams extends TransactionParams {
|
|
|
127
128
|
export interface EWalletTransactionParams extends TransactionParams {
|
|
128
129
|
customerNumber?: string;
|
|
129
130
|
email?: string;
|
|
131
|
+
phoneNumber?: string;
|
|
130
132
|
service?: string;
|
|
131
133
|
}
|
|
132
134
|
export interface TransactionOptions {
|
|
@@ -161,6 +163,7 @@ export interface ProviderTransactionError {
|
|
|
161
163
|
}
|
|
162
164
|
export declare enum ErrorAction {
|
|
163
165
|
RETURN_STEP1 = "RETURN_STEP1",
|
|
166
|
+
RETURN_STEP1_FORCE_NEW_METHOD = "RETURN_STEP1_FORCE_NEW_METHOD",
|
|
164
167
|
RETURN_STEP2 = "RETURN_STEP2",
|
|
165
168
|
BLOCK_DEPOSITS = "BLOCK_DEPOSITS"
|
|
166
169
|
}
|
package/lib/index.js
CHANGED
|
@@ -34,6 +34,7 @@ export var TransactionState;
|
|
|
34
34
|
export var ErrorAction;
|
|
35
35
|
(function (ErrorAction) {
|
|
36
36
|
ErrorAction["RETURN_STEP1"] = "RETURN_STEP1";
|
|
37
|
+
ErrorAction["RETURN_STEP1_FORCE_NEW_METHOD"] = "RETURN_STEP1_FORCE_NEW_METHOD";
|
|
37
38
|
ErrorAction["RETURN_STEP2"] = "RETURN_STEP2";
|
|
38
39
|
ErrorAction["BLOCK_DEPOSITS"] = "BLOCK_DEPOSITS";
|
|
39
40
|
})(ErrorAction || (ErrorAction = {}));
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -94,6 +94,7 @@ export interface InputField {
|
|
|
94
94
|
export interface InputFieldOption {
|
|
95
95
|
name: string;
|
|
96
96
|
code: string;
|
|
97
|
+
locale?: string;
|
|
97
98
|
logo?: PaymentMethodLogo;
|
|
98
99
|
}
|
|
99
100
|
|
|
@@ -147,6 +148,7 @@ export interface CryptoTransactionParams extends TransactionParams {
|
|
|
147
148
|
export interface EWalletTransactionParams extends TransactionParams {
|
|
148
149
|
customerNumber?: string;
|
|
149
150
|
email?: string;
|
|
151
|
+
phoneNumber?: string;
|
|
150
152
|
service?: string;
|
|
151
153
|
}
|
|
152
154
|
|
|
@@ -187,6 +189,7 @@ export interface ProviderTransactionError {
|
|
|
187
189
|
|
|
188
190
|
export enum ErrorAction {
|
|
189
191
|
RETURN_STEP1 = 'RETURN_STEP1',
|
|
192
|
+
RETURN_STEP1_FORCE_NEW_METHOD = 'RETURN_STEP1_FORCE_NEW_METHOD',
|
|
190
193
|
RETURN_STEP2 = 'RETURN_STEP2',
|
|
191
194
|
BLOCK_DEPOSITS = 'BLOCK_DEPOSITS'
|
|
192
195
|
}
|