@deriv-com/analytics 1.25.1 → 1.25.2

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 +9 -0
  2. package/package.json +1 -1
package/lib/types.d.ts CHANGED
@@ -282,6 +282,14 @@ type TCashierDepositOnboardingFormAction = {
282
282
  deposit_category?: string;
283
283
  login_id?: string;
284
284
  };
285
+ type TNewDtraderTradeForm = {
286
+ action?: 'open' | 'select_trade_type' | 'select_market_type' | 'open_guide' | 'run_contract' | 'close_contract';
287
+ trade_name?: string;
288
+ market_name?: string;
289
+ subform_name?: string;
290
+ trade_type_count?: number;
291
+ contract_id?: number;
292
+ };
285
293
  export type TEvents = {
286
294
  ce_virtual_signup_form: VirtualSignupForm;
287
295
  ce_email_verification_form: EmailVerificationForm;
@@ -308,5 +316,6 @@ export type TEvents = {
308
316
  ce_wallets_homepage_form: WalletsHomepageFormAction;
309
317
  ce_notification_form: TNotificationsTrayForm;
310
318
  ce_cashier_deposit_onboarding_form: TCashierDepositOnboardingFormAction;
319
+ ce_new_dtrader_trade_form: TNewDtraderTradeForm;
311
320
  };
312
321
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deriv-com/analytics",
3
- "version": "1.25.1",
3
+ "version": "1.25.2",
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",