@soltech/fluid-common 0.3.6 → 0.3.8

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
@@ -150,12 +150,12 @@ export declare enum ErrorAction {
150
150
  }
151
151
  export interface PendingWithdrawal {
152
152
  amount: string;
153
- created: string;
153
+ creationDate: string;
154
154
  providerType: string;
155
- state: WithdrawalStatus;
155
+ state: WithdrawalState;
156
156
  transactionId: string;
157
157
  }
158
- export declare enum WithdrawalStatus {
158
+ export declare enum WithdrawalState {
159
159
  REQUESTED = "REQUESTED",
160
160
  PROCESSING = "PROCESSING"
161
161
  }
package/lib/index.js CHANGED
@@ -38,8 +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 = {}));
41
+ export var WithdrawalState;
42
+ (function (WithdrawalState) {
43
+ WithdrawalState["REQUESTED"] = "REQUESTED";
44
+ WithdrawalState["PROCESSING"] = "PROCESSING";
45
+ })(WithdrawalState || (WithdrawalState = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -173,13 +173,13 @@ export enum ErrorAction {
173
173
 
174
174
  export interface PendingWithdrawal {
175
175
  amount: string;
176
- created: string;
176
+ creationDate: string;
177
177
  providerType: string;
178
- state: WithdrawalStatus;
178
+ state: WithdrawalState;
179
179
  transactionId: string;
180
180
  }
181
181
 
182
- export enum WithdrawalStatus {
182
+ export enum WithdrawalState {
183
183
  REQUESTED = 'REQUESTED',
184
184
  PROCESSING = 'PROCESSING'
185
185
  }