@deriv-com/analytics 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/types.d.ts +16 -0
- package/package.json +1 -1
package/lib/types.d.ts
CHANGED
@@ -252,6 +252,20 @@ type TradersHubDashboardFormAction = {
|
|
252
252
|
account_mode?: 'demo' | 'real';
|
253
253
|
account_name?: string;
|
254
254
|
};
|
255
|
+
type PassKeyEffortlessFormAction = {
|
256
|
+
action?: 'open' | 'close' | 'info_open' | 'info_back' | 'maybe_later' | 'get_started';
|
257
|
+
form_source?: 'ce_passkey_effortless_form' | 'ce_passkey_effortless_form_p2p' | 'ce_passkey_effortless_form_derivgo';
|
258
|
+
operating_system?: 'IOS' | 'Android' | 'other';
|
259
|
+
app_id?: string;
|
260
|
+
};
|
261
|
+
type PassKeyAccountSettingsFormAction = {
|
262
|
+
action?: 'open' | 'close' | 'info_open' | 'info_back' | 'create_passkey_started' | 'create_passkey_reminder_passed' | 'create_passkey_finished' | 'create_passkey_continue_trading' | 'error' | 'add_more_passkeys';
|
263
|
+
form_source?: 'ce_passkey_account_settings_form' | 'ce_passkey_account_settings_form_derivgo' | 'ce_passkey_account_settings_form_p2p';
|
264
|
+
subform_name?: 'passkey_main' | 'passkey_info' | 'passekey_rename' | 'passkey_remove' | 'success';
|
265
|
+
remove_verification_provider?: 'email' | 'device';
|
266
|
+
error_message?: string;
|
267
|
+
operating_system?: 'IOS' | 'Android' | 'other';
|
268
|
+
};
|
255
269
|
export type TEvents = {
|
256
270
|
ce_virtual_signup_form: VirtualSignupForm;
|
257
271
|
ce_email_verification_form: EmailVerificationForm;
|
@@ -275,5 +289,7 @@ export type TEvents = {
|
|
275
289
|
ce_tradershub_onboarding_form: TradersHubOnboardingFormAction;
|
276
290
|
ce_upgrade_mt5_banner: UpgradeMT5BannerAction;
|
277
291
|
ce_tradershub_dashboard_form: TradersHubDashboardFormAction;
|
292
|
+
ce_passkey_effortless_form: PassKeyEffortlessFormAction;
|
293
|
+
ce_passkey_account_settings_form: PassKeyAccountSettingsFormAction;
|
278
294
|
};
|
279
295
|
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.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",
|