@deriv-com/analytics 1.25.1 → 1.26.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 +12 -0
  2. package/package.json +1 -1
package/lib/types.d.ts CHANGED
@@ -227,6 +227,9 @@ type ContractsSetupForm = {
227
227
  action: 'run_contract';
228
228
  switcher_duration_mode_name?: string;
229
229
  switcher_stakepayout_mode_name?: string;
230
+ market_name?: string;
231
+ trade_name?: string;
232
+ contract_id?: number;
230
233
  });
231
234
  type TradersHubOnboardingFormAction = {
232
235
  action?: 'open' | 'close' | 'step_passed' | 'step_back' | 'choose_step_navigation';
@@ -282,6 +285,14 @@ type TCashierDepositOnboardingFormAction = {
282
285
  deposit_category?: string;
283
286
  login_id?: string;
284
287
  };
288
+ type TDtraderTradeForm = {
289
+ action?: 'open' | 'select_trade_type' | 'select_market_type' | 'open_guide' | 'run_contract' | 'close_contract';
290
+ trade_name?: string;
291
+ market_name?: string;
292
+ subform_name?: string;
293
+ trade_type_count?: number;
294
+ contract_id?: number;
295
+ };
285
296
  export type TEvents = {
286
297
  ce_virtual_signup_form: VirtualSignupForm;
287
298
  ce_email_verification_form: EmailVerificationForm;
@@ -308,5 +319,6 @@ export type TEvents = {
308
319
  ce_wallets_homepage_form: WalletsHomepageFormAction;
309
320
  ce_notification_form: TNotificationsTrayForm;
310
321
  ce_cashier_deposit_onboarding_form: TCashierDepositOnboardingFormAction;
322
+ ce_dtrader_trade_form: TDtraderTradeForm;
311
323
  };
312
324
  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.26.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",