@deriv-com/analytics 1.8.0 → 1.9.0

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.
Files changed (2) hide show
  1. package/lib/types.d.ts +8 -0
  2. package/package.json +1 -1
package/lib/types.d.ts CHANGED
@@ -261,6 +261,13 @@ type TNotificationsTrayForm = {
261
261
  notification_num?: number;
262
262
  notification_key?: string;
263
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;
270
+ };
264
271
  export type TEvents = {
265
272
  ce_virtual_signup_form: VirtualSignupForm;
266
273
  ce_email_verification_form: EmailVerificationForm;
@@ -286,5 +293,6 @@ export type TEvents = {
286
293
  ce_tradershub_banner: TradersHubBanner;
287
294
  ce_wallets_homepage_form: WalletsHomepageFormAction;
288
295
  ce_notification_form: TNotificationsTrayForm;
296
+ ce_cashier_deposit_onboarding_form: TCashierDepositOnboardingFormAction;
289
297
  };
290
298
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deriv-com/analytics",
3
- "version": "1.8.0",
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",