@soltech/fluid-common 0.3.23 → 0.3.24
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 +4 -0
- package/lib/index.js +1 -0
- package/package.json +1 -1
- package/src/index.ts +5 -0
package/lib/index.d.ts
CHANGED
|
@@ -119,6 +119,9 @@ export interface BankTransferTransactionParams extends TransactionParams {
|
|
|
119
119
|
iban?: string;
|
|
120
120
|
nationalId?: string;
|
|
121
121
|
}
|
|
122
|
+
export interface CryptoTransactionParams extends TransactionParams {
|
|
123
|
+
cryptoCurrency: string;
|
|
124
|
+
}
|
|
122
125
|
export interface DigitalWalletTransactionParams extends TransactionParams {
|
|
123
126
|
email?: string;
|
|
124
127
|
phoneNumber?: string;
|
|
@@ -155,6 +158,7 @@ export interface ProviderTransactionError {
|
|
|
155
158
|
}
|
|
156
159
|
export declare enum ErrorAction {
|
|
157
160
|
RETURN_STEP1 = "RETURN_STEP1",
|
|
161
|
+
RETURN_STEP1_FORCE_NEW_METHOD = "RETURN_STEP1_FORCE_NEW_METHOD",
|
|
158
162
|
RETURN_STEP2 = "RETURN_STEP2",
|
|
159
163
|
BLOCK_DEPOSITS = "BLOCK_DEPOSITS"
|
|
160
164
|
}
|
package/lib/index.js
CHANGED
|
@@ -36,6 +36,7 @@ export var TransactionState;
|
|
|
36
36
|
export var ErrorAction;
|
|
37
37
|
(function (ErrorAction) {
|
|
38
38
|
ErrorAction["RETURN_STEP1"] = "RETURN_STEP1";
|
|
39
|
+
ErrorAction["RETURN_STEP1_FORCE_NEW_METHOD"] = "RETURN_STEP1_FORCE_NEW_METHOD";
|
|
39
40
|
ErrorAction["RETURN_STEP2"] = "RETURN_STEP2";
|
|
40
41
|
ErrorAction["BLOCK_DEPOSITS"] = "BLOCK_DEPOSITS";
|
|
41
42
|
})(ErrorAction || (ErrorAction = {}));
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -137,6 +137,10 @@ export interface BankTransferTransactionParams extends TransactionParams {
|
|
|
137
137
|
nationalId?: string;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
+
export interface CryptoTransactionParams extends TransactionParams {
|
|
141
|
+
cryptoCurrency: string;
|
|
142
|
+
}
|
|
143
|
+
|
|
140
144
|
export interface DigitalWalletTransactionParams extends TransactionParams {
|
|
141
145
|
email?: string;
|
|
142
146
|
phoneNumber?: string;
|
|
@@ -179,6 +183,7 @@ export interface ProviderTransactionError {
|
|
|
179
183
|
|
|
180
184
|
export enum ErrorAction {
|
|
181
185
|
RETURN_STEP1 = 'RETURN_STEP1',
|
|
186
|
+
RETURN_STEP1_FORCE_NEW_METHOD = 'RETURN_STEP1_FORCE_NEW_METHOD',
|
|
182
187
|
RETURN_STEP2 = 'RETURN_STEP2',
|
|
183
188
|
BLOCK_DEPOSITS = 'BLOCK_DEPOSITS'
|
|
184
189
|
}
|