@deriv-com/analytics 1.6.1 → 1.6.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 +11 -2
  2. package/package.json +1 -1
package/lib/types.d.ts CHANGED
@@ -244,17 +244,25 @@ type PassKeyAccountSettingsFormAction = {
244
244
  operating_system?: string;
245
245
  };
246
246
  type TradersHubPopUpAction = {
247
- action?: 'open' | 'close' | 'click_download';
247
+ action?: 'open' | 'close' | 'click_download' | 'click_cta';
248
248
  form_name?: string;
249
249
  account_mode?: string;
250
250
  popup_name?: string;
251
251
  popup_type?: string;
252
252
  };
253
253
  type TradersHubBanner = {
254
- action?: 'open' | 'close' | 'click download';
254
+ action?: 'open' | 'close' | 'click download' | 'click_cta';
255
255
  form_name?: string;
256
256
  account_mode?: string;
257
257
  banner_name?: string;
258
+ banner_type?: string;
259
+ };
260
+ type WalletsMigrationFormAction = {
261
+ action?: 'open' | 'close' | 'step_passed' | 'step_back' | 'error';
262
+ form_name?: string;
263
+ step_num?: number;
264
+ step_codename?: string;
265
+ error_message?: string;
258
266
  };
259
267
  export type TEvents = {
260
268
  ce_virtual_signup_form: VirtualSignupForm;
@@ -280,5 +288,6 @@ export type TEvents = {
280
288
  ce_passkey_account_settings_form: PassKeyAccountSettingsFormAction;
281
289
  ce_tradershub_popup: TradersHubPopUpAction;
282
290
  ce_tradershub_banner: TradersHubBanner;
291
+ ce_wallets_migration_form: WalletsMigrationFormAction;
283
292
  };
284
293
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deriv-com/analytics",
3
- "version": "1.6.1",
3
+ "version": "1.6.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",