@deriv-com/analytics 1.7.2 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/types.d.ts +11 -14
- package/package.json +1 -1
package/lib/types.d.ts
CHANGED
@@ -229,14 +229,8 @@ type TradersHubDashboardFormAction = {
|
|
229
229
|
account_name?: string;
|
230
230
|
form_name?: string;
|
231
231
|
};
|
232
|
-
type PassKeyEffortlessFormAction = {
|
233
|
-
action?: 'open' | 'close' | 'info_open' | 'info_back' | 'maybe_later' | 'get_started';
|
234
|
-
form_source?: string;
|
235
|
-
operating_system?: string;
|
236
|
-
app_id?: string;
|
237
|
-
};
|
238
232
|
type PassKeyAccountSettingsFormAction = {
|
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';
|
233
|
+
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' | 'passkey_rename_open' | 'passkey_rename_back' | 'passkey_rename_success';
|
240
234
|
form_name?: string;
|
241
235
|
subform_name?: string;
|
242
236
|
remove_verification_provider?: string;
|
@@ -257,12 +251,15 @@ type TradersHubBanner = {
|
|
257
251
|
banner_name?: string;
|
258
252
|
banner_type?: string;
|
259
253
|
};
|
260
|
-
type
|
261
|
-
action?: 'open'
|
254
|
+
type WalletsHomepageFormAction = {
|
255
|
+
action?: 'open';
|
262
256
|
form_name?: string;
|
263
|
-
|
264
|
-
|
265
|
-
|
257
|
+
};
|
258
|
+
type TNotificationsTrayForm = {
|
259
|
+
action?: 'clear_all' | 'click_cta' | 'close' | 'open';
|
260
|
+
form_name?: 'ce_notification_form';
|
261
|
+
notification_num?: number;
|
262
|
+
notification_key?: string;
|
266
263
|
};
|
267
264
|
export type TEvents = {
|
268
265
|
ce_virtual_signup_form: VirtualSignupForm;
|
@@ -284,10 +281,10 @@ export type TEvents = {
|
|
284
281
|
ce_tradershub_onboarding_form: TradersHubOnboardingFormAction;
|
285
282
|
ce_upgrade_mt5_banner: UpgradeMT5BannerAction;
|
286
283
|
ce_tradershub_dashboard_form: TradersHubDashboardFormAction;
|
287
|
-
ce_passkey_effortless_form: PassKeyEffortlessFormAction;
|
288
284
|
ce_passkey_account_settings_form: PassKeyAccountSettingsFormAction;
|
289
285
|
ce_tradershub_popup: TradersHubPopUpAction;
|
290
286
|
ce_tradershub_banner: TradersHubBanner;
|
291
|
-
|
287
|
+
ce_wallets_homepage_form: WalletsHomepageFormAction;
|
288
|
+
ce_notification_form: TNotificationsTrayForm;
|
292
289
|
};
|
293
290
|
export {};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@deriv-com/analytics",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.8.0",
|
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",
|