@deriv-com/analytics 1.31.8 → 1.31.9
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.
- package/lib/types.d.ts +15 -1
- package/package.json +1 -1
package/lib/types.d.ts
CHANGED
|
@@ -166,6 +166,18 @@ type IndicatorsTypesFormAction = {
|
|
|
166
166
|
search_string?: string;
|
|
167
167
|
subform_name?: string;
|
|
168
168
|
};
|
|
169
|
+
type DrawingToolsTypesFormAction = {
|
|
170
|
+
action: 'open' | 'add' | 'delete' | 'edit_px' | 'edit_color';
|
|
171
|
+
form_name?: string;
|
|
172
|
+
drawing_tool_name?: string;
|
|
173
|
+
pxthickness?: string;
|
|
174
|
+
color_name?: string;
|
|
175
|
+
};
|
|
176
|
+
type CrossHairFormAction = {
|
|
177
|
+
action: 'click';
|
|
178
|
+
form_name?: string;
|
|
179
|
+
cta_name?: 'enable' | 'disable';
|
|
180
|
+
};
|
|
169
181
|
type MarketTypesFormAction = {
|
|
170
182
|
action: 'open' | 'close' | 'choose_market_type' | 'search' | 'info_redirect' | 'add_to_favorites' | 'delete_from_favorites';
|
|
171
183
|
form_name?: string;
|
|
@@ -218,7 +230,7 @@ type ReportsFormAction = {
|
|
|
218
230
|
form_source: string;
|
|
219
231
|
};
|
|
220
232
|
type ChartTypesFormAction = {
|
|
221
|
-
action?: 'open' | 'close' | 'choose_chart_type' | 'choose_time_interval';
|
|
233
|
+
action?: 'open' | 'close' | 'choose_chart_type' | 'choose_time_interval' | 'switch_toggle';
|
|
222
234
|
form_name?: string;
|
|
223
235
|
chart_type_name?: string;
|
|
224
236
|
time_interval_name?: string;
|
|
@@ -316,6 +328,8 @@ export type TEvents = {
|
|
|
316
328
|
ce_bot_form: BotForm;
|
|
317
329
|
ce_contracts_set_up_form: ContractsSetupForm;
|
|
318
330
|
ce_indicators_types_form: IndicatorsTypesFormAction;
|
|
331
|
+
ce_drawing_tools_form: DrawingToolsTypesFormAction;
|
|
332
|
+
ce_crosshair: CrossHairFormAction;
|
|
319
333
|
ce_trade_types_form: TradeTypesForm;
|
|
320
334
|
ce_chart_types_form: ChartTypesFormAction;
|
|
321
335
|
ce_market_types_form: MarketTypesFormAction;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deriv-com/analytics",
|
|
3
|
-
"version": "1.31.
|
|
3
|
+
"version": "1.31.9",
|
|
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",
|