@soltech/fluid-common 0.3.4 → 0.3.5

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 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;
@@ -154,3 +155,7 @@ export interface PendingWithdrawal {
154
155
  state: string;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
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 {
@@ -177,3 +178,8 @@ export interface PendingWithdrawal {
177
178
  state: string;
178
179
  transactionId: string;
179
180
  }
181
+
182
+ export enum WithdrawalStatus {
183
+ REQUESTED = 'REQUESTED',
184
+ PROCESSING = 'PROCESSING'
185
+ }