@soltech/fluid-common 0.1.19 → 0.1.21

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
@@ -68,6 +68,7 @@ export interface RecentMethod extends PaymentMethod {
68
68
  accountId: string;
69
69
  maskedAccount: string;
70
70
  lastSuccess: string;
71
+ expiryDate: string;
71
72
  }
72
73
  export interface TransactionParams {
73
74
  accountId?: string;
@@ -131,6 +132,7 @@ export declare enum TransactionState {
131
132
  SUCCESS = "SUCCESS",
132
133
  FAIL = "FAIL",
133
134
  PROCESSING = "PROCESSING",
135
+ WAITING_APPROVAL = "WAITING_APPROVAL",
134
136
  WAITING_INPUT = "WAITING_INPUT"
135
137
  }
136
138
  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.19",
3
+ "version": "0.1.21",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -80,6 +80,7 @@ export interface RecentMethod extends PaymentMethod {
80
80
  accountId: string;
81
81
  maskedAccount: string;
82
82
  lastSuccess: string;
83
+ expiryDate: string;
83
84
  }
84
85
 
85
86
  export interface TransactionParams {
@@ -151,6 +152,7 @@ export enum TransactionState {
151
152
  SUCCESS = 'SUCCESS',
152
153
  FAIL = 'FAIL',
153
154
  PROCESSING = 'PROCESSING',
155
+ WAITING_APPROVAL = 'WAITING_APPROVAL',
154
156
  WAITING_INPUT = 'WAITING_INPUT'
155
157
  }
156
158