@soltech/fluid-common 0.1.20 → 0.1.22

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
@@ -53,11 +53,6 @@ export interface PaymentMethod {
53
53
  providerType: string;
54
54
  inputFields?: InputField[];
55
55
  }
56
- export interface ProviderTypeInput {
57
- name: string;
58
- providerType: string;
59
- inputFields: InputField[];
60
- }
61
56
  export interface InputField {
62
57
  paramName: string;
63
58
  format: string;
@@ -132,6 +127,7 @@ export declare enum TransactionState {
132
127
  SUCCESS = "SUCCESS",
133
128
  FAIL = "FAIL",
134
129
  PROCESSING = "PROCESSING",
130
+ WAITING_APPROVAL = "WAITING_APPROVAL",
135
131
  WAITING_INPUT = "WAITING_INPUT"
136
132
  }
137
133
  export interface ProviderTransactionError {
package/lib/index.js CHANGED
@@ -23,6 +23,7 @@ export var TransactionState;
23
23
  TransactionState["SUCCESS"] = "SUCCESS";
24
24
  TransactionState["FAIL"] = "FAIL";
25
25
  TransactionState["PROCESSING"] = "PROCESSING";
26
+ TransactionState["WAITING_APPROVAL"] = "WAITING_APPROVAL";
26
27
  TransactionState["WAITING_INPUT"] = "WAITING_INPUT";
27
28
  })(TransactionState || (TransactionState = {}));
28
29
  export var ErrorAction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -63,12 +63,6 @@ export interface PaymentMethod {
63
63
  inputFields?: InputField[];
64
64
  }
65
65
 
66
- export interface ProviderTypeInput {
67
- name: string;
68
- providerType: string;
69
- inputFields: InputField[];
70
- }
71
-
72
66
  export interface InputField {
73
67
  paramName: string;
74
68
  format: string;
@@ -152,6 +146,7 @@ export enum TransactionState {
152
146
  SUCCESS = 'SUCCESS',
153
147
  FAIL = 'FAIL',
154
148
  PROCESSING = 'PROCESSING',
149
+ WAITING_APPROVAL = 'WAITING_APPROVAL',
155
150
  WAITING_INPUT = 'WAITING_INPUT'
156
151
  }
157
152