@vrplatform/log 2.0.68 → 2.0.70
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.
|
@@ -104,7 +104,7 @@ export type UseTracking = {
|
|
|
104
104
|
debugging?: boolean;
|
|
105
105
|
};
|
|
106
106
|
export declare const useTracking: ({ dataset, env, name }: UseTracking, isDev?: boolean) => {
|
|
107
|
-
track: <T extends TrackingEvent>(props: TrackProps<T>, _import
|
|
107
|
+
track: <T extends TrackingEvent>(props: TrackProps<T>, _import?: boolean) => Promise<void>;
|
|
108
108
|
identify: (props: IdentifyProps) => Promise<void>;
|
|
109
109
|
group: (props: GroupProps) => Promise<void>;
|
|
110
110
|
shutdown: () => Promise<any>;
|
|
@@ -92,6 +92,7 @@ export type TrackingEventProps = {
|
|
|
92
92
|
tax_statement_preview_opened: TaxStatementPreviewOpenedProps;
|
|
93
93
|
tax_statement_downloaded: TaxStatementDownloadedProps;
|
|
94
94
|
team_added: TeamAddedProps;
|
|
95
|
+
team_created: TeamCreatedProps;
|
|
95
96
|
team_canceled: TeamCanceledProps;
|
|
96
97
|
team_deleted: TeamDeletedProps;
|
|
97
98
|
team_info_updated: TeamInfoUpdatedProps;
|
|
@@ -483,6 +484,14 @@ type TeamAddedProps = MaybePartial<{
|
|
|
483
484
|
userId: string;
|
|
484
485
|
userEmail: string;
|
|
485
486
|
}>;
|
|
487
|
+
type TeamCreatedProps = MaybePartial<{
|
|
488
|
+
tenantId: string;
|
|
489
|
+
tenantName: string;
|
|
490
|
+
partnerId: string;
|
|
491
|
+
userType: string;
|
|
492
|
+
userId: string;
|
|
493
|
+
userEmail: string;
|
|
494
|
+
}>;
|
|
486
495
|
type TeamCanceledProps = MaybePartial<{
|
|
487
496
|
tenantId: string;
|
|
488
497
|
customerId: string;
|
|
@@ -104,7 +104,7 @@ export type UseTracking = {
|
|
|
104
104
|
debugging?: boolean;
|
|
105
105
|
};
|
|
106
106
|
export declare const useTracking: ({ dataset, env, name }: UseTracking, isDev?: boolean) => {
|
|
107
|
-
track: <T extends TrackingEvent>(props: TrackProps<T>, _import
|
|
107
|
+
track: <T extends TrackingEvent>(props: TrackProps<T>, _import?: boolean) => Promise<void>;
|
|
108
108
|
identify: (props: IdentifyProps) => Promise<void>;
|
|
109
109
|
group: (props: GroupProps) => Promise<void>;
|
|
110
110
|
shutdown: () => Promise<any>;
|
|
@@ -92,6 +92,7 @@ export type TrackingEventProps = {
|
|
|
92
92
|
tax_statement_preview_opened: TaxStatementPreviewOpenedProps;
|
|
93
93
|
tax_statement_downloaded: TaxStatementDownloadedProps;
|
|
94
94
|
team_added: TeamAddedProps;
|
|
95
|
+
team_created: TeamCreatedProps;
|
|
95
96
|
team_canceled: TeamCanceledProps;
|
|
96
97
|
team_deleted: TeamDeletedProps;
|
|
97
98
|
team_info_updated: TeamInfoUpdatedProps;
|
|
@@ -483,6 +484,14 @@ type TeamAddedProps = MaybePartial<{
|
|
|
483
484
|
userId: string;
|
|
484
485
|
userEmail: string;
|
|
485
486
|
}>;
|
|
487
|
+
type TeamCreatedProps = MaybePartial<{
|
|
488
|
+
tenantId: string;
|
|
489
|
+
tenantName: string;
|
|
490
|
+
partnerId: string;
|
|
491
|
+
userType: string;
|
|
492
|
+
userId: string;
|
|
493
|
+
userEmail: string;
|
|
494
|
+
}>;
|
|
486
495
|
type TeamCanceledProps = MaybePartial<{
|
|
487
496
|
tenantId: string;
|
|
488
497
|
customerId: string;
|
package/package.json
CHANGED
package/src/tracking/index.ts
CHANGED
|
@@ -134,7 +134,7 @@ export const useTracking = (
|
|
|
134
134
|
): {
|
|
135
135
|
track: <T extends TrackingEvent>(
|
|
136
136
|
props: TrackProps<T>,
|
|
137
|
-
_import
|
|
137
|
+
_import?: boolean
|
|
138
138
|
) => Promise<void>;
|
|
139
139
|
identify: (props: IdentifyProps) => Promise<void>;
|
|
140
140
|
group: (props: GroupProps) => Promise<void>;
|
package/src/tracking/types.ts
CHANGED
|
@@ -106,6 +106,7 @@ export type TrackingEventProps = {
|
|
|
106
106
|
tax_statement_preview_opened: TaxStatementPreviewOpenedProps;
|
|
107
107
|
tax_statement_downloaded: TaxStatementDownloadedProps;
|
|
108
108
|
team_added: TeamAddedProps;
|
|
109
|
+
team_created: TeamCreatedProps;
|
|
109
110
|
team_canceled: TeamCanceledProps;
|
|
110
111
|
team_deleted: TeamDeletedProps;
|
|
111
112
|
team_info_updated: TeamInfoUpdatedProps;
|
|
@@ -608,6 +609,15 @@ type TeamAddedProps = MaybePartial<{
|
|
|
608
609
|
userEmail: string;
|
|
609
610
|
}>;
|
|
610
611
|
|
|
612
|
+
type TeamCreatedProps = MaybePartial<{
|
|
613
|
+
tenantId: string;
|
|
614
|
+
tenantName: string;
|
|
615
|
+
partnerId: string;
|
|
616
|
+
userType: string;
|
|
617
|
+
userId: string;
|
|
618
|
+
userEmail: string;
|
|
619
|
+
}>;
|
|
620
|
+
|
|
611
621
|
type TeamCanceledProps = MaybePartial<{
|
|
612
622
|
tenantId: string;
|
|
613
623
|
customerId: string;
|