@deriv-com/analytics 1.25.2 → 1.26.0
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 +5 -2
- package/package.json +1 -1
package/lib/types.d.ts
CHANGED
|
@@ -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.0",
|
|
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",
|