@vrplatform/log 2.0.67 → 2.0.69
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>;
|
|
@@ -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>;
|
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