@soltech/fluid-common 0.1.7 → 0.1.9

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
@@ -101,8 +101,9 @@ export interface RedirectOutput {
101
101
  url: string;
102
102
  }
103
103
  export declare enum TransactionState {
104
- SUCCESSFUL = "SUCCESS",
105
- FAILED = "FAILED",
104
+ SUCCESS = "SUCCESS",
105
+ FAIL = "FAIL",
106
+ PROCESSING = "PROCESSING",
106
107
  WAITING_INPUT = "WAITING_INPUT"
107
108
  }
108
109
  export interface ProviderTransactionError {
package/lib/index.js CHANGED
@@ -20,8 +20,9 @@ export var PaymentType;
20
20
  })(PaymentType || (PaymentType = {}));
21
21
  export var TransactionState;
22
22
  (function (TransactionState) {
23
- TransactionState["SUCCESSFUL"] = "SUCCESS";
24
- TransactionState["FAILED"] = "FAILED";
23
+ TransactionState["SUCCESS"] = "SUCCESS";
24
+ TransactionState["FAIL"] = "FAIL";
25
+ TransactionState["PROCESSING"] = "PROCESSING";
25
26
  TransactionState["WAITING_INPUT"] = "WAITING_INPUT";
26
27
  })(TransactionState || (TransactionState = {}));
27
28
  export var ErrorAction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -119,8 +119,9 @@ export interface RedirectOutput {
119
119
  }
120
120
 
121
121
  export enum TransactionState {
122
- SUCCESSFUL = 'SUCCESS',
123
- FAILED = 'FAILED',
122
+ SUCCESS = 'SUCCESS',
123
+ FAIL = 'FAIL',
124
+ PROCESSING = 'PROCESSING',
124
125
  WAITING_INPUT = 'WAITING_INPUT'
125
126
  }
126
127