@soltech/fluid-common 0.3.4 → 0.3.6
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 +6 -1
- package/lib/index.js +5 -0
- package/package.json +1 -1
- package/src/index.ts +7 -1
package/lib/index.d.ts
CHANGED
|
@@ -65,6 +65,7 @@ export interface InputField {
|
|
|
65
65
|
format: string;
|
|
66
66
|
text: string;
|
|
67
67
|
placeholderText: string;
|
|
68
|
+
errorText: string;
|
|
68
69
|
}
|
|
69
70
|
export interface RecentMethod extends PaymentMethod {
|
|
70
71
|
accountId: string;
|
|
@@ -151,6 +152,10 @@ export interface PendingWithdrawal {
|
|
|
151
152
|
amount: string;
|
|
152
153
|
created: string;
|
|
153
154
|
providerType: string;
|
|
154
|
-
state:
|
|
155
|
+
state: WithdrawalStatus;
|
|
155
156
|
transactionId: string;
|
|
156
157
|
}
|
|
158
|
+
export declare enum WithdrawalStatus {
|
|
159
|
+
REQUESTED = "REQUESTED",
|
|
160
|
+
PROCESSING = "PROCESSING"
|
|
161
|
+
}
|
package/lib/index.js
CHANGED
|
@@ -38,3 +38,8 @@ export var ErrorAction;
|
|
|
38
38
|
ErrorAction["RETURN_STEP2"] = "RETURN_STEP2";
|
|
39
39
|
ErrorAction["BLOCK_DEPOSITS"] = "BLOCK_DEPOSITS";
|
|
40
40
|
})(ErrorAction || (ErrorAction = {}));
|
|
41
|
+
export var WithdrawalStatus;
|
|
42
|
+
(function (WithdrawalStatus) {
|
|
43
|
+
WithdrawalStatus["REQUESTED"] = "REQUESTED";
|
|
44
|
+
WithdrawalStatus["PROCESSING"] = "PROCESSING";
|
|
45
|
+
})(WithdrawalStatus || (WithdrawalStatus = {}));
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -76,6 +76,7 @@ export interface InputField {
|
|
|
76
76
|
format: string;
|
|
77
77
|
text: string;
|
|
78
78
|
placeholderText: string;
|
|
79
|
+
errorText: string;
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
export interface RecentMethod extends PaymentMethod {
|
|
@@ -174,6 +175,11 @@ export interface PendingWithdrawal {
|
|
|
174
175
|
amount: string;
|
|
175
176
|
created: string;
|
|
176
177
|
providerType: string;
|
|
177
|
-
state:
|
|
178
|
+
state: WithdrawalStatus;
|
|
178
179
|
transactionId: string;
|
|
179
180
|
}
|
|
181
|
+
|
|
182
|
+
export enum WithdrawalStatus {
|
|
183
|
+
REQUESTED = 'REQUESTED',
|
|
184
|
+
PROCESSING = 'PROCESSING'
|
|
185
|
+
}
|