@soltech/fluid-common 0.1.8 → 0.1.10

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
@@ -103,6 +103,7 @@ export interface RedirectOutput {
103
103
  export declare enum TransactionState {
104
104
  SUCCESS = "SUCCESS",
105
105
  FAIL = "FAIL",
106
+ PROCESSING = "PROCESSING",
106
107
  WAITING_INPUT = "WAITING_INPUT"
107
108
  }
108
109
  export interface ProviderTransactionError {
@@ -111,7 +112,7 @@ export interface ProviderTransactionError {
111
112
  action: ErrorAction;
112
113
  }
113
114
  export declare enum ErrorAction {
114
- RETURN_STEP1 = "ReturnStep1",
115
- RETURN_STEP2 = "ReturnStep2",
116
- BLOCK_DEPOSITS = "BlockDeposits"
115
+ RETURN_STEP1 = "RETURN_STEP1",
116
+ RETURN_STEP2 = "RETURN_STEP2",
117
+ BLOCK_DEPOSITS = "BLOCK_DEPOSITS"
117
118
  }
package/lib/index.js CHANGED
@@ -22,11 +22,12 @@ export var TransactionState;
22
22
  (function (TransactionState) {
23
23
  TransactionState["SUCCESS"] = "SUCCESS";
24
24
  TransactionState["FAIL"] = "FAIL";
25
+ TransactionState["PROCESSING"] = "PROCESSING";
25
26
  TransactionState["WAITING_INPUT"] = "WAITING_INPUT";
26
27
  })(TransactionState || (TransactionState = {}));
27
28
  export var ErrorAction;
28
29
  (function (ErrorAction) {
29
- ErrorAction["RETURN_STEP1"] = "ReturnStep1";
30
- ErrorAction["RETURN_STEP2"] = "ReturnStep2";
31
- ErrorAction["BLOCK_DEPOSITS"] = "BlockDeposits";
30
+ ErrorAction["RETURN_STEP1"] = "RETURN_STEP1";
31
+ ErrorAction["RETURN_STEP2"] = "RETURN_STEP2";
32
+ ErrorAction["BLOCK_DEPOSITS"] = "BLOCK_DEPOSITS";
32
33
  })(ErrorAction || (ErrorAction = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -121,6 +121,7 @@ export interface RedirectOutput {
121
121
  export enum TransactionState {
122
122
  SUCCESS = 'SUCCESS',
123
123
  FAIL = 'FAIL',
124
+ PROCESSING = 'PROCESSING',
124
125
  WAITING_INPUT = 'WAITING_INPUT'
125
126
  }
126
127
 
@@ -131,8 +132,8 @@ export interface ProviderTransactionError {
131
132
  }
132
133
 
133
134
  export enum ErrorAction {
134
- RETURN_STEP1 = 'ReturnStep1',
135
- RETURN_STEP2 = 'ReturnStep2',
136
- BLOCK_DEPOSITS = 'BlockDeposits'
135
+ RETURN_STEP1 = 'RETURN_STEP1',
136
+ RETURN_STEP2 = 'RETURN_STEP2',
137
+ BLOCK_DEPOSITS = 'BLOCK_DEPOSITS'
137
138
  }
138
139