@deriv-com/analytics 1.6.1 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/types.d.ts +11 -2
- package/package.json +9 -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,12 +1,16 @@
|
|
1
1
|
{
|
2
2
|
"name": "@deriv-com/analytics",
|
3
|
-
"version": "1.6.
|
3
|
+
"version": "1.6.3",
|
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",
|
7
7
|
"growthbook",
|
8
8
|
"react"
|
9
9
|
],
|
10
|
+
"private": false,
|
11
|
+
"publishConfig": {
|
12
|
+
"access": "public"
|
13
|
+
},
|
10
14
|
"author": "Amir Ali, Addriene, Nikita",
|
11
15
|
"main": "lib/index.js",
|
12
16
|
"types": "lib/index.d.ts",
|
@@ -27,6 +31,10 @@
|
|
27
31
|
},
|
28
32
|
"homepage": "https://github.com/binary-com/deriv-analytics",
|
29
33
|
"devDependencies": {
|
34
|
+
"@semantic-release/changelog": "^6.0.3",
|
35
|
+
"@semantic-release/github": "^10.0.6",
|
36
|
+
"@semantic-release/npm": "^12.0.1",
|
37
|
+
"@semantic-release/release-notes-generator": "^14.0.0",
|
30
38
|
"@types/jest": "^29.5.3",
|
31
39
|
"@types/node": "^20.4.1",
|
32
40
|
"husky": "^8.0.3",
|