@soltech/fluid-common 0.4.20 → 0.4.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 +8 -6
- package/lib/index.js +7 -7
- package/package.json +1 -1
- package/src/index.ts +8 -6
package/lib/index.d.ts
CHANGED
|
@@ -161,13 +161,13 @@ export declare enum TransactionState {
|
|
|
161
161
|
export interface ProviderTransactionError {
|
|
162
162
|
code: string;
|
|
163
163
|
text: string;
|
|
164
|
-
action:
|
|
164
|
+
action: Action;
|
|
165
165
|
}
|
|
166
|
-
export declare enum
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
166
|
+
export declare enum Action {
|
|
167
|
+
RESTART_PRESERVING_DETAILS = "RESTART_PRESERVING_DETAILS",
|
|
168
|
+
RESTART_CLEARING_DETAILS = "RESTART_CLEARING_DETAILS",
|
|
169
|
+
SHOW_DETAILS_STEP_PRESERVING_DETAILS = "SHOW_DETAILS_STEP_PRESERVING_DETAILS",
|
|
170
|
+
SHOW_DETAILS_STEP_CLEARING_DETAILS = "SHOW_DETAILS_STEP_CLEARING_DETAILS"
|
|
171
171
|
}
|
|
172
172
|
export interface PendingWithdrawal {
|
|
173
173
|
amount: string;
|
|
@@ -222,10 +222,12 @@ export interface TrackingEventData {
|
|
|
222
222
|
replacedAmount?: number;
|
|
223
223
|
selectedBonus?: string;
|
|
224
224
|
selectedMethod?: string;
|
|
225
|
+
sessionId?: string;
|
|
225
226
|
stepName?: string;
|
|
226
227
|
suggestedAmounts?: number[];
|
|
227
228
|
transactionStatus?: string;
|
|
228
229
|
transactionType?: string;
|
|
230
|
+
userAgent?: string;
|
|
229
231
|
}
|
|
230
232
|
export interface TrackingEvent {
|
|
231
233
|
eventId: TrackingEventId;
|
package/lib/index.js
CHANGED
|
@@ -30,13 +30,13 @@ export var TransactionState;
|
|
|
30
30
|
TransactionState["WAITING_APPROVAL"] = "WAITING_APPROVAL";
|
|
31
31
|
TransactionState["WAITING_INPUT"] = "WAITING_INPUT";
|
|
32
32
|
})(TransactionState || (TransactionState = {}));
|
|
33
|
-
export var
|
|
34
|
-
(function (
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
})(
|
|
33
|
+
export var Action;
|
|
34
|
+
(function (Action) {
|
|
35
|
+
Action["RESTART_PRESERVING_DETAILS"] = "RESTART_PRESERVING_DETAILS";
|
|
36
|
+
Action["RESTART_CLEARING_DETAILS"] = "RESTART_CLEARING_DETAILS";
|
|
37
|
+
Action["SHOW_DETAILS_STEP_PRESERVING_DETAILS"] = "SHOW_DETAILS_STEP_PRESERVING_DETAILS";
|
|
38
|
+
Action["SHOW_DETAILS_STEP_CLEARING_DETAILS"] = "SHOW_DETAILS_STEP_CLEARING_DETAILS";
|
|
39
|
+
})(Action || (Action = {}));
|
|
40
40
|
export var WithdrawalState;
|
|
41
41
|
(function (WithdrawalState) {
|
|
42
42
|
WithdrawalState["REQUESTED"] = "REQUESTED";
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -186,14 +186,14 @@ export enum TransactionState {
|
|
|
186
186
|
export interface ProviderTransactionError {
|
|
187
187
|
code: string;
|
|
188
188
|
text: string;
|
|
189
|
-
action:
|
|
189
|
+
action: Action;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
export enum
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
192
|
+
export enum Action {
|
|
193
|
+
RESTART_PRESERVING_DETAILS = 'RESTART_PRESERVING_DETAILS',
|
|
194
|
+
RESTART_CLEARING_DETAILS = 'RESTART_CLEARING_DETAILS',
|
|
195
|
+
SHOW_DETAILS_STEP_PRESERVING_DETAILS = 'SHOW_DETAILS_STEP_PRESERVING_DETAILS',
|
|
196
|
+
SHOW_DETAILS_STEP_CLEARING_DETAILS = 'SHOW_DETAILS_STEP_CLEARING_DETAILS',
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
export interface PendingWithdrawal {
|
|
@@ -254,10 +254,12 @@ export interface TrackingEventData {
|
|
|
254
254
|
replacedAmount?: number;
|
|
255
255
|
selectedBonus?: string;
|
|
256
256
|
selectedMethod?: string;
|
|
257
|
+
sessionId?: string;
|
|
257
258
|
stepName?: string;
|
|
258
259
|
suggestedAmounts?: number[];
|
|
259
260
|
transactionStatus?: string;
|
|
260
261
|
transactionType?: string;
|
|
262
|
+
userAgent?: string;
|
|
261
263
|
}
|
|
262
264
|
|
|
263
265
|
export interface TrackingEvent {
|