@deriv-com/analytics 1.25.2 → 1.26.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/types.d.ts +7 -4
- package/package.json +1 -1
package/lib/types.d.ts
CHANGED
@@ -214,8 +214,8 @@ type ChartTypesFormAction = {
|
|
214
214
|
time_interval_name?: string;
|
215
215
|
};
|
216
216
|
type ContractsSetupForm = {
|
217
|
-
form_name
|
218
|
-
trade_type_name
|
217
|
+
form_name?: string;
|
218
|
+
trade_type_name?: string;
|
219
219
|
} & ({
|
220
220
|
action: 'change_parameter_value';
|
221
221
|
duration_type?: string;
|
@@ -227,6 +227,9 @@ type ContractsSetupForm = {
|
|
227
227
|
action: 'run_contract';
|
228
228
|
switcher_duration_mode_name?: string;
|
229
229
|
switcher_stakepayout_mode_name?: string;
|
230
|
+
market_name?: string;
|
231
|
+
trade_name?: string;
|
232
|
+
contract_id?: number;
|
230
233
|
});
|
231
234
|
type TradersHubOnboardingFormAction = {
|
232
235
|
action?: 'open' | 'close' | 'step_passed' | 'step_back' | 'choose_step_navigation';
|
@@ -282,7 +285,7 @@ type TCashierDepositOnboardingFormAction = {
|
|
282
285
|
deposit_category?: string;
|
283
286
|
login_id?: string;
|
284
287
|
};
|
285
|
-
type
|
288
|
+
type TDtraderTradeForm = {
|
286
289
|
action?: 'open' | 'select_trade_type' | 'select_market_type' | 'open_guide' | 'run_contract' | 'close_contract';
|
287
290
|
trade_name?: string;
|
288
291
|
market_name?: string;
|
@@ -316,6 +319,6 @@ export type TEvents = {
|
|
316
319
|
ce_wallets_homepage_form: WalletsHomepageFormAction;
|
317
320
|
ce_notification_form: TNotificationsTrayForm;
|
318
321
|
ce_cashier_deposit_onboarding_form: TCashierDepositOnboardingFormAction;
|
319
|
-
|
322
|
+
ce_dtrader_trade_form: TDtraderTradeForm;
|
320
323
|
};
|
321
324
|
export {};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@deriv-com/analytics",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.26.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",
|