@soltech/fluid-common 0.3.3 → 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;
@@ -148,9 +149,13 @@ export declare enum ErrorAction {
148
149
  BLOCK_DEPOSITS = "BLOCK_DEPOSITS"
149
150
  }
150
151
  export interface PendingWithdrawal {
151
- accountId: string;
152
152
  amount: string;
153
+ created: string;
154
+ providerType: string;
153
155
  state: string;
154
156
  transactionId: string;
155
- providerType: string;
157
+ }
158
+ export declare enum WithdrawalStatus {
159
+ REQUESTED = "REQUESTED",
160
+ PROCESSING = "PROCESSING"
156
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.3",
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 {
@@ -171,9 +172,14 @@ export enum ErrorAction {
171
172
  }
172
173
 
173
174
  export interface PendingWithdrawal {
174
- accountId: string;
175
175
  amount: string;
176
+ created: string;
177
+ providerType: string;
176
178
  state: string;
177
179
  transactionId: string;
178
- providerType: string;
180
+ }
181
+
182
+ export enum WithdrawalStatus {
183
+ REQUESTED = 'REQUESTED',
184
+ PROCESSING = 'PROCESSING'
179
185
  }