@deriv-com/analytics 1.5.4 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/types.d.ts +23 -8
- package/package.json +1 -1
package/lib/types.d.ts
CHANGED
@@ -225,23 +225,36 @@ type UpgradeMT5BannerAction = {
|
|
225
225
|
};
|
226
226
|
type TradersHubDashboardFormAction = {
|
227
227
|
action?: 'open' | 'close' | 'switch_account_mode' | 'account_open' | 'account_get' | 'account_logo_push' | 'reset_balance' | 'deposit_balance' | 'compare_accounts_push';
|
228
|
-
|
229
|
-
account_mode?: 'demo' | 'real';
|
228
|
+
account_mode?: string;
|
230
229
|
account_name?: string;
|
230
|
+
form_name?: string;
|
231
231
|
};
|
232
232
|
type PassKeyEffortlessFormAction = {
|
233
233
|
action?: 'open' | 'close' | 'info_open' | 'info_back' | 'maybe_later' | 'get_started';
|
234
|
-
form_source?:
|
235
|
-
operating_system?:
|
234
|
+
form_source?: string;
|
235
|
+
operating_system?: string;
|
236
236
|
app_id?: string;
|
237
237
|
};
|
238
238
|
type PassKeyAccountSettingsFormAction = {
|
239
239
|
action?: 'open' | 'close' | 'info_open' | 'info_back' | 'create_passkey_started' | 'create_passkey_reminder_passed' | 'create_passkey_finished' | 'create_passkey_continue_trading' | 'error' | 'add_more_passkeys';
|
240
|
-
|
241
|
-
subform_name?:
|
242
|
-
remove_verification_provider?:
|
240
|
+
form_name?: string;
|
241
|
+
subform_name?: string;
|
242
|
+
remove_verification_provider?: string;
|
243
243
|
error_message?: string;
|
244
|
-
operating_system?:
|
244
|
+
operating_system?: string;
|
245
|
+
};
|
246
|
+
type TradersHubPopUpAction = {
|
247
|
+
action?: 'open' | 'close' | 'click_download';
|
248
|
+
form_name?: string;
|
249
|
+
account_mode?: string;
|
250
|
+
popup_name?: string;
|
251
|
+
popup_type?: string;
|
252
|
+
};
|
253
|
+
type TradersHubBanner = {
|
254
|
+
action?: 'open' | 'close' | 'click download';
|
255
|
+
form_name?: string;
|
256
|
+
account_mode?: string;
|
257
|
+
banner_name?: string;
|
245
258
|
};
|
246
259
|
export type TEvents = {
|
247
260
|
ce_virtual_signup_form: VirtualSignupForm;
|
@@ -265,5 +278,7 @@ export type TEvents = {
|
|
265
278
|
ce_tradershub_dashboard_form: TradersHubDashboardFormAction;
|
266
279
|
ce_passkey_effortless_form: PassKeyEffortlessFormAction;
|
267
280
|
ce_passkey_account_settings_form: PassKeyAccountSettingsFormAction;
|
281
|
+
ce_tradershub_popup: TradersHubPopUpAction;
|
282
|
+
ce_tradershub_banner: TradersHubBanner;
|
268
283
|
};
|
269
284
|
export {};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@deriv-com/analytics",
|
3
|
-
"version": "1.5.
|
3
|
+
"version": "1.5.6",
|
4
4
|
"description": "The analytics package contains all the utility functions used for tracking user events and sending them to the respective platform such as Rudderstack.",
|
5
5
|
"keywords": [
|
6
6
|
"rudderstack",
|