@soltech/fluid-common 0.4.22 → 0.4.24
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 +2 -43
- package/lib/index.js +0 -17
- package/package.json +1 -1
- package/src/index.ts +3 -46
package/lib/index.d.ts
CHANGED
|
@@ -188,48 +188,7 @@ export interface BonusPaymentMethod {
|
|
|
188
188
|
providerType: string;
|
|
189
189
|
service?: string;
|
|
190
190
|
}
|
|
191
|
-
export declare enum TrackingEventId {
|
|
192
|
-
AMOUNT_EDITED = "amount-edited",
|
|
193
|
-
AMOUNT_EDIT_CLICK = "amount-edit-click",
|
|
194
|
-
AMOUNT_PILL_CLICK = "amount-pill-click",
|
|
195
|
-
BONUS_EDITED = "bonus-edited",
|
|
196
|
-
BONUS_EDIT_CLICK = "bonus-edit-click",
|
|
197
|
-
INPUT_FIELD_VALUE_CHANGED = "input-field-value-changed",
|
|
198
|
-
PAYMENT_METHOD_CHANGE = "payment-method-change",
|
|
199
|
-
PLAY_NOW_CLICK = "play-now-click",
|
|
200
|
-
STEP_BACK = "step-back",
|
|
201
|
-
STEP_UP = "step-up",
|
|
202
|
-
STORED_METHOD_CLICK = "stored-method-click",
|
|
203
|
-
TRANSACTION_STATUS = "transaction-status",
|
|
204
|
-
WALLET_CLOSED = "wallet-closed",
|
|
205
|
-
WALLET_OPEN = "wallet-open"
|
|
206
|
-
}
|
|
207
|
-
export interface TrackingEventData {
|
|
208
|
-
amount?: number;
|
|
209
|
-
amountOptionClicked?: number;
|
|
210
|
-
bonusesAvailable?: boolean;
|
|
211
|
-
currentMethod?: string;
|
|
212
|
-
errorCode?: string;
|
|
213
|
-
fieldId?: string;
|
|
214
|
-
hasStoredMethods?: boolean;
|
|
215
|
-
isStored?: boolean;
|
|
216
|
-
isValid?: boolean;
|
|
217
|
-
playNowLink?: string;
|
|
218
|
-
preselectedAmount?: number;
|
|
219
|
-
previousAmount?: number;
|
|
220
|
-
previousBonus?: string;
|
|
221
|
-
previousMethod?: string;
|
|
222
|
-
replacedAmount?: number;
|
|
223
|
-
selectedBonus?: string;
|
|
224
|
-
selectedMethod?: string;
|
|
225
|
-
sessionId?: string;
|
|
226
|
-
stepName?: string;
|
|
227
|
-
suggestedAmounts?: number[];
|
|
228
|
-
transactionStatus?: string;
|
|
229
|
-
transactionType?: string;
|
|
230
|
-
userAgent?: string;
|
|
231
|
-
}
|
|
232
191
|
export interface TrackingEvent {
|
|
233
|
-
eventId:
|
|
234
|
-
data:
|
|
192
|
+
eventId: string;
|
|
193
|
+
data: object;
|
|
235
194
|
}
|
package/lib/index.js
CHANGED
|
@@ -42,20 +42,3 @@ export var WithdrawalState;
|
|
|
42
42
|
WithdrawalState["REQUESTED"] = "REQUESTED";
|
|
43
43
|
WithdrawalState["PROCESSING"] = "PROCESSING";
|
|
44
44
|
})(WithdrawalState || (WithdrawalState = {}));
|
|
45
|
-
export var TrackingEventId;
|
|
46
|
-
(function (TrackingEventId) {
|
|
47
|
-
TrackingEventId["AMOUNT_EDITED"] = "amount-edited";
|
|
48
|
-
TrackingEventId["AMOUNT_EDIT_CLICK"] = "amount-edit-click";
|
|
49
|
-
TrackingEventId["AMOUNT_PILL_CLICK"] = "amount-pill-click";
|
|
50
|
-
TrackingEventId["BONUS_EDITED"] = "bonus-edited";
|
|
51
|
-
TrackingEventId["BONUS_EDIT_CLICK"] = "bonus-edit-click";
|
|
52
|
-
TrackingEventId["INPUT_FIELD_VALUE_CHANGED"] = "input-field-value-changed";
|
|
53
|
-
TrackingEventId["PAYMENT_METHOD_CHANGE"] = "payment-method-change";
|
|
54
|
-
TrackingEventId["PLAY_NOW_CLICK"] = "play-now-click";
|
|
55
|
-
TrackingEventId["STEP_BACK"] = "step-back";
|
|
56
|
-
TrackingEventId["STEP_UP"] = "step-up";
|
|
57
|
-
TrackingEventId["STORED_METHOD_CLICK"] = "stored-method-click";
|
|
58
|
-
TrackingEventId["TRANSACTION_STATUS"] = "transaction-status";
|
|
59
|
-
TrackingEventId["WALLET_CLOSED"] = "wallet-closed";
|
|
60
|
-
TrackingEventId["WALLET_OPEN"] = "wallet-open";
|
|
61
|
-
})(TrackingEventId || (TrackingEventId = {}));
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -219,50 +219,7 @@ export interface BonusPaymentMethod {
|
|
|
219
219
|
service?: string;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
export enum TrackingEventId {
|
|
223
|
-
AMOUNT_EDITED = 'amount-edited',
|
|
224
|
-
AMOUNT_EDIT_CLICK = 'amount-edit-click',
|
|
225
|
-
AMOUNT_PILL_CLICK = 'amount-pill-click',
|
|
226
|
-
BONUS_EDITED = 'bonus-edited',
|
|
227
|
-
BONUS_EDIT_CLICK = 'bonus-edit-click',
|
|
228
|
-
INPUT_FIELD_VALUE_CHANGED = 'input-field-value-changed',
|
|
229
|
-
PAYMENT_METHOD_CHANGE = 'payment-method-change',
|
|
230
|
-
PLAY_NOW_CLICK = 'play-now-click',
|
|
231
|
-
STEP_BACK = 'step-back',
|
|
232
|
-
STEP_UP = 'step-up',
|
|
233
|
-
STORED_METHOD_CLICK = 'stored-method-click',
|
|
234
|
-
TRANSACTION_STATUS = 'transaction-status',
|
|
235
|
-
WALLET_CLOSED = 'wallet-closed',
|
|
236
|
-
WALLET_OPEN = 'wallet-open',
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
export interface TrackingEventData {
|
|
240
|
-
amount?: number;
|
|
241
|
-
amountOptionClicked?: number;
|
|
242
|
-
bonusesAvailable?: boolean;
|
|
243
|
-
currentMethod?: string;
|
|
244
|
-
errorCode?: string;
|
|
245
|
-
fieldId?: string;
|
|
246
|
-
hasStoredMethods?: boolean;
|
|
247
|
-
isStored?: boolean;
|
|
248
|
-
isValid?: boolean;
|
|
249
|
-
playNowLink?: string;
|
|
250
|
-
preselectedAmount?: number;
|
|
251
|
-
previousAmount?: number;
|
|
252
|
-
previousBonus?: string;
|
|
253
|
-
previousMethod?: string;
|
|
254
|
-
replacedAmount?: number;
|
|
255
|
-
selectedBonus?: string;
|
|
256
|
-
selectedMethod?: string;
|
|
257
|
-
sessionId?: string;
|
|
258
|
-
stepName?: string;
|
|
259
|
-
suggestedAmounts?: number[];
|
|
260
|
-
transactionStatus?: string;
|
|
261
|
-
transactionType?: string;
|
|
262
|
-
userAgent?: string;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
222
|
export interface TrackingEvent {
|
|
266
|
-
eventId:
|
|
267
|
-
data:
|
|
268
|
-
}
|
|
223
|
+
eventId: string;
|
|
224
|
+
data: object;
|
|
225
|
+
}
|