@deriv-com/analytics 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/types.d.ts +7 -0
- package/package.json +1 -1
package/lib/types.d.ts
CHANGED
@@ -246,6 +246,12 @@ type TradersHubOnboardingFormAction = {
|
|
246
246
|
type UpgradeMT5BannerAction = {
|
247
247
|
action: 'open' | 'push_cta_upgrade';
|
248
248
|
};
|
249
|
+
type TradersHubDashboardFormAction = {
|
250
|
+
action?: 'open' | 'close' | 'switch_account_mode' | 'account_open' | 'account_get' | 'account_logo_push' | 'reset_balance' | 'deposit_balance' | 'compare_accounts_push';
|
251
|
+
form_source?: 'deriv_apps_dashboard' | 'tradershub_onboarding_form' | 'deriv_trader' | 'dtrader_account_form';
|
252
|
+
account_mode?: 'demo' | 'real';
|
253
|
+
account_name?: string;
|
254
|
+
};
|
249
255
|
export type TEvents = {
|
250
256
|
ce_virtual_signup_form: VirtualSignupForm;
|
251
257
|
ce_email_verification_form: EmailVerificationForm;
|
@@ -268,5 +274,6 @@ export type TEvents = {
|
|
268
274
|
ce_reports_form: ReportsFormAction;
|
269
275
|
ce_tradershub_onboarding_form: TradersHubOnboardingFormAction;
|
270
276
|
ce_upgrade_mt5_banner: UpgradeMT5BannerAction;
|
277
|
+
ce_tradershub_dashboard_form: TradersHubDashboardFormAction;
|
271
278
|
};
|
272
279
|
export {};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@deriv-com/analytics",
|
3
|
-
"version": "1.5.
|
3
|
+
"version": "1.5.1",
|
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",
|