@gem-sdk/trackers 3.6.2-dev.0 → 4.0.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/dist/esm/tooling/tsconfig/dist/data/callbackStore.d.ts +1 -1
- package/dist/esm/tooling/tsconfig/dist/data/eventStore.d.ts +1 -1
- package/dist/esm/tooling/tsconfig/dist/handlers/event-worker/click-handler.d.ts +1 -1
- package/dist/esm/tooling/tsconfig/dist/handlers/event-worker/page-view-handler.d.ts +1 -1
- package/dist/esm/tooling/tsconfig/dist/handlers/event-worker/performance-entry-handler.d.ts +1 -1
- package/dist/esm/tooling/tsconfig/dist/handlers/event-worker/performance-handler.d.ts +1 -1
- package/dist/esm/tooling/tsconfig/dist/handlers/event-worker/scroll-handler.d.ts +1 -1
- package/dist/esm/tooling/tsconfig/dist/tracking-sdk.d.ts +2 -1
- package/dist/esm/tooling/tsconfig/dist/types/callback.d.ts +3 -3
- package/dist/esm/tooling/tsconfig/dist/types/event.d.ts +2 -2
- package/dist/esm/tooling/tsconfig/dist/types/tracking.d.ts +2 -2
- package/dist/esm/tooling/tsconfig/dist/types/worker.d.ts +2 -2
- package/dist/umd/tooling/tsconfig/dist/data/callbackStore.d.ts +1 -1
- package/dist/umd/tooling/tsconfig/dist/data/eventStore.d.ts +1 -1
- package/dist/umd/tooling/tsconfig/dist/handlers/event-worker/click-handler.d.ts +1 -1
- package/dist/umd/tooling/tsconfig/dist/handlers/event-worker/page-view-handler.d.ts +1 -1
- package/dist/umd/tooling/tsconfig/dist/handlers/event-worker/performance-entry-handler.d.ts +1 -1
- package/dist/umd/tooling/tsconfig/dist/handlers/event-worker/performance-handler.d.ts +1 -1
- package/dist/umd/tooling/tsconfig/dist/handlers/event-worker/scroll-handler.d.ts +1 -1
- package/dist/umd/tooling/tsconfig/dist/tracking-sdk.d.ts +2 -1
- package/dist/umd/tooling/tsconfig/dist/types/callback.d.ts +3 -3
- package/dist/umd/tooling/tsconfig/dist/types/event.d.ts +2 -2
- package/dist/umd/tooling/tsconfig/dist/types/tracking.d.ts +2 -2
- package/dist/umd/tooling/tsconfig/dist/types/worker.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ICallbackQueueItem, ICallbackStats, IPerformanceMetrics, IProcessedEventData, ITrackingConfig } from '../types';
|
|
1
|
+
import type { ICallbackQueueItem, ICallbackStats, IPerformanceMetrics, IProcessedEventData, ITrackingConfig } from '../types';
|
|
2
2
|
interface CallbackStore {
|
|
3
3
|
getRegisteredCallbacks(): Record<string, number>;
|
|
4
4
|
getCallbackQueue(): ICallbackQueueItem[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IEventData, IProcessedClickData } from '../../types';
|
|
1
|
+
import type { IEventData, IProcessedClickData } from '../../types';
|
|
2
2
|
export declare function processClick(data: IEventData): Promise<IProcessedClickData>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IEventData, IProcessedPageViewData } from '../../types';
|
|
1
|
+
import type { IEventData, IProcessedPageViewData } from '../../types';
|
|
2
2
|
export declare function processPageView(data: IEventData): Promise<IProcessedPageViewData>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IEventData, IProcessedPerformanceEntryData } from '../../types';
|
|
1
|
+
import type { IEventData, IProcessedPerformanceEntryData } from '../../types';
|
|
2
2
|
export declare function processPerformanceEntry(data: IEventData): Promise<IProcessedPerformanceEntryData>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IEventData, IPerformanceMetrics } from '../../types';
|
|
1
|
+
import type { IEventData, IPerformanceMetrics } from '../../types';
|
|
2
2
|
export declare function processPerformance(data: IEventData): Promise<IPerformanceMetrics>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IEventData, IProcessedScrollData } from '../../types';
|
|
1
|
+
import type { IEventData, IProcessedScrollData } from '../../types';
|
|
2
2
|
export declare function processScroll(data: IEventData): Promise<IProcessedScrollData>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { EventCallback, IEventData, ITrackingConfig,
|
|
1
|
+
import type { EventCallback, IEventData, ITrackingConfig, ITrackingSDKStatus, IWorkerMessage, IWorkerStatus, UnsubscribeFunction } from './types';
|
|
2
|
+
import { ITrackingEvent } from './types';
|
|
2
3
|
declare global {
|
|
3
4
|
interface Window {
|
|
4
5
|
GXTrackingSDK: ITrackingSDKInterface;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IPerformanceMetrics, IProcessedEventData } from './event';
|
|
2
|
-
import { ITrackingConfig } from './tracking';
|
|
3
|
-
import { IWorkerMessage } from './worker';
|
|
1
|
+
import type { IPerformanceMetrics, IProcessedEventData } from './event';
|
|
2
|
+
import type { ITrackingConfig } from './tracking';
|
|
3
|
+
import type { IWorkerMessage } from './worker';
|
|
4
4
|
export interface ICallbackQueueItem {
|
|
5
5
|
eventType: string;
|
|
6
6
|
processedData: IProcessedEventData;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ITrackingEvent } from './event';
|
|
2
|
-
import { WorkerStatus } from './worker';
|
|
1
|
+
import type { ITrackingEvent } from './event';
|
|
2
|
+
import type { WorkerStatus } from './worker';
|
|
3
3
|
export interface ITrackingConfig {
|
|
4
4
|
events: ITrackingEvent[];
|
|
5
5
|
workerTimeout?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IPerformanceMetrics, IProcessedEventData } from './event';
|
|
2
|
-
import { ITrackingConfig } from './tracking';
|
|
1
|
+
import type { IPerformanceMetrics, IProcessedEventData } from './event';
|
|
2
|
+
import type { ITrackingConfig } from './tracking';
|
|
3
3
|
export interface IWorkerMessage {
|
|
4
4
|
type: string;
|
|
5
5
|
data?: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ICallbackQueueItem, ICallbackStats, IPerformanceMetrics, IProcessedEventData, ITrackingConfig } from '../types';
|
|
1
|
+
import type { ICallbackQueueItem, ICallbackStats, IPerformanceMetrics, IProcessedEventData, ITrackingConfig } from '../types';
|
|
2
2
|
interface CallbackStore {
|
|
3
3
|
getRegisteredCallbacks(): Record<string, number>;
|
|
4
4
|
getCallbackQueue(): ICallbackQueueItem[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IEventData, IProcessedClickData } from '../../types';
|
|
1
|
+
import type { IEventData, IProcessedClickData } from '../../types';
|
|
2
2
|
export declare function processClick(data: IEventData): Promise<IProcessedClickData>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IEventData, IProcessedPageViewData } from '../../types';
|
|
1
|
+
import type { IEventData, IProcessedPageViewData } from '../../types';
|
|
2
2
|
export declare function processPageView(data: IEventData): Promise<IProcessedPageViewData>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IEventData, IProcessedPerformanceEntryData } from '../../types';
|
|
1
|
+
import type { IEventData, IProcessedPerformanceEntryData } from '../../types';
|
|
2
2
|
export declare function processPerformanceEntry(data: IEventData): Promise<IProcessedPerformanceEntryData>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IEventData, IPerformanceMetrics } from '../../types';
|
|
1
|
+
import type { IEventData, IPerformanceMetrics } from '../../types';
|
|
2
2
|
export declare function processPerformance(data: IEventData): Promise<IPerformanceMetrics>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IEventData, IProcessedScrollData } from '../../types';
|
|
1
|
+
import type { IEventData, IProcessedScrollData } from '../../types';
|
|
2
2
|
export declare function processScroll(data: IEventData): Promise<IProcessedScrollData>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { EventCallback, IEventData, ITrackingConfig,
|
|
1
|
+
import type { EventCallback, IEventData, ITrackingConfig, ITrackingSDKStatus, IWorkerMessage, IWorkerStatus, UnsubscribeFunction } from './types';
|
|
2
|
+
import { ITrackingEvent } from './types';
|
|
2
3
|
declare global {
|
|
3
4
|
interface Window {
|
|
4
5
|
GXTrackingSDK: ITrackingSDKInterface;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IPerformanceMetrics, IProcessedEventData } from './event';
|
|
2
|
-
import { ITrackingConfig } from './tracking';
|
|
3
|
-
import { IWorkerMessage } from './worker';
|
|
1
|
+
import type { IPerformanceMetrics, IProcessedEventData } from './event';
|
|
2
|
+
import type { ITrackingConfig } from './tracking';
|
|
3
|
+
import type { IWorkerMessage } from './worker';
|
|
4
4
|
export interface ICallbackQueueItem {
|
|
5
5
|
eventType: string;
|
|
6
6
|
processedData: IProcessedEventData;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ITrackingEvent } from './event';
|
|
2
|
-
import { WorkerStatus } from './worker';
|
|
1
|
+
import type { ITrackingEvent } from './event';
|
|
2
|
+
import type { WorkerStatus } from './worker';
|
|
3
3
|
export interface ITrackingConfig {
|
|
4
4
|
events: ITrackingEvent[];
|
|
5
5
|
workerTimeout?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IPerformanceMetrics, IProcessedEventData } from './event';
|
|
2
|
-
import { ITrackingConfig } from './tracking';
|
|
1
|
+
import type { IPerformanceMetrics, IProcessedEventData } from './event';
|
|
2
|
+
import type { ITrackingConfig } from './tracking';
|
|
3
3
|
export interface IWorkerMessage {
|
|
4
4
|
type: string;
|
|
5
5
|
data?: any;
|