@deriv-com/analytics 1.7.2 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/lib/types.d.ts +19 -14
  2. 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,22 @@ type TradersHubBanner = {
257
251
  banner_name?: string;
258
252
  banner_type?: string;
259
253
  };
260
- type WalletsMigrationFormAction = {
261
- action?: 'open' | 'close' | 'step_passed' | 'step_back' | 'error';
254
+ type WalletsHomepageFormAction = {
255
+ action?: 'open';
262
256
  form_name?: string;
263
- step_num?: number;
264
- step_codename?: string;
265
- error_message?: string;
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;
263
+ };
264
+ type TCashierDepositOnboardingFormAction = {
265
+ action?: 'open' | 'open_deposit_subpage' | 'click_deposit_card' | 'click_copy_crypto_address';
266
+ form_name?: 'ce_cashier_deposit_onboarding_form';
267
+ currency?: string;
268
+ deposit_category?: string;
269
+ login_id?: string;
266
270
  };
267
271
  export type TEvents = {
268
272
  ce_virtual_signup_form: VirtualSignupForm;
@@ -284,10 +288,11 @@ export type TEvents = {
284
288
  ce_tradershub_onboarding_form: TradersHubOnboardingFormAction;
285
289
  ce_upgrade_mt5_banner: UpgradeMT5BannerAction;
286
290
  ce_tradershub_dashboard_form: TradersHubDashboardFormAction;
287
- ce_passkey_effortless_form: PassKeyEffortlessFormAction;
288
291
  ce_passkey_account_settings_form: PassKeyAccountSettingsFormAction;
289
292
  ce_tradershub_popup: TradersHubPopUpAction;
290
293
  ce_tradershub_banner: TradersHubBanner;
291
- ce_wallets_migration_form: WalletsMigrationFormAction;
294
+ ce_wallets_homepage_form: WalletsHomepageFormAction;
295
+ ce_notification_form: TNotificationsTrayForm;
296
+ ce_cashier_deposit_onboarding_form: TCashierDepositOnboardingFormAction;
292
297
  };
293
298
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deriv-com/analytics",
3
- "version": "1.7.2",
3
+ "version": "1.9.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",