@soltech/fluid-common 0.6.44 → 0.6.46
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 +3 -1
- package/lib/index.js +1 -0
- package/package.json +1 -1
- package/src/index.ts +3 -1
package/lib/index.d.ts
CHANGED
|
@@ -90,6 +90,7 @@ export interface InputField {
|
|
|
90
90
|
placeholderText: string;
|
|
91
91
|
errorText: string;
|
|
92
92
|
options: InputFieldOption[];
|
|
93
|
+
optionsRequired: boolean;
|
|
93
94
|
}
|
|
94
95
|
export interface InputFieldOption {
|
|
95
96
|
label: string;
|
|
@@ -173,7 +174,8 @@ export declare enum TransactionState {
|
|
|
173
174
|
FAIL = "FAIL",
|
|
174
175
|
PROCESSING = "PROCESSING",
|
|
175
176
|
WAITING_APPROVAL = "WAITING_APPROVAL",
|
|
176
|
-
WAITING_INPUT = "WAITING_INPUT"
|
|
177
|
+
WAITING_INPUT = "WAITING_INPUT",
|
|
178
|
+
CANCELLED = "CANCELLED"
|
|
177
179
|
}
|
|
178
180
|
export interface ProviderTransactionError {
|
|
179
181
|
action: Action;
|
package/lib/index.js
CHANGED
|
@@ -31,6 +31,7 @@ export var TransactionState;
|
|
|
31
31
|
TransactionState["PROCESSING"] = "PROCESSING";
|
|
32
32
|
TransactionState["WAITING_APPROVAL"] = "WAITING_APPROVAL";
|
|
33
33
|
TransactionState["WAITING_INPUT"] = "WAITING_INPUT";
|
|
34
|
+
TransactionState["CANCELLED"] = "CANCELLED";
|
|
34
35
|
})(TransactionState || (TransactionState = {}));
|
|
35
36
|
export var Action;
|
|
36
37
|
(function (Action) {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -103,6 +103,7 @@ export interface InputField {
|
|
|
103
103
|
placeholderText: string;
|
|
104
104
|
errorText: string;
|
|
105
105
|
options: InputFieldOption[];
|
|
106
|
+
optionsRequired: boolean;
|
|
106
107
|
}
|
|
107
108
|
|
|
108
109
|
export interface InputFieldOption {
|
|
@@ -197,7 +198,8 @@ export enum TransactionState {
|
|
|
197
198
|
FAIL = 'FAIL',
|
|
198
199
|
PROCESSING = 'PROCESSING',
|
|
199
200
|
WAITING_APPROVAL = 'WAITING_APPROVAL',
|
|
200
|
-
WAITING_INPUT = 'WAITING_INPUT'
|
|
201
|
+
WAITING_INPUT = 'WAITING_INPUT',
|
|
202
|
+
CANCELLED = 'CANCELLED'
|
|
201
203
|
}
|
|
202
204
|
|
|
203
205
|
export interface ProviderTransactionError {
|