@openreplay/tracker 17.1.0 → 17.1.1

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/cjs/entry.js CHANGED
@@ -4402,7 +4402,7 @@ class App {
4402
4402
  this.stopCallbacks = [];
4403
4403
  this.commitCallbacks = [];
4404
4404
  this.activityState = ActivityState.NotActive;
4405
- this.version = '17.1.0'; // TODO: version compatability check inside each plugin.
4405
+ this.version = '17.1.1'; // TODO: version compatability check inside each plugin.
4406
4406
  this.socketMode = false;
4407
4407
  this.compressionThreshold = 24 * 1000;
4408
4408
  this.bc = null;
@@ -9221,7 +9221,7 @@ class ConstantProperties {
9221
9221
  user_id: this.user_id,
9222
9222
  distinct_id: this.deviceId,
9223
9223
  sdk_edition: 'web',
9224
- sdk_version: '17.1.0',
9224
+ sdk_version: '17.1.1',
9225
9225
  timezone: getUTCOffsetString(),
9226
9226
  search_engine: this.searchEngine,
9227
9227
  };
@@ -9865,7 +9865,7 @@ class API {
9865
9865
  this.signalStartIssue = (reason, missingApi) => {
9866
9866
  const doNotTrack = this.checkDoNotTrack();
9867
9867
  console.log("Tracker couldn't start due to:", JSON.stringify({
9868
- trackerVersion: '17.1.0',
9868
+ trackerVersion: '17.1.1',
9869
9869
  projectKey: this.options.projectKey,
9870
9870
  doNotTrack,
9871
9871
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,
package/dist/cjs/index.js CHANGED
@@ -4402,7 +4402,7 @@ class App {
4402
4402
  this.stopCallbacks = [];
4403
4403
  this.commitCallbacks = [];
4404
4404
  this.activityState = ActivityState.NotActive;
4405
- this.version = '17.1.0'; // TODO: version compatability check inside each plugin.
4405
+ this.version = '17.1.1'; // TODO: version compatability check inside each plugin.
4406
4406
  this.socketMode = false;
4407
4407
  this.compressionThreshold = 24 * 1000;
4408
4408
  this.bc = null;
@@ -9221,7 +9221,7 @@ class ConstantProperties {
9221
9221
  user_id: this.user_id,
9222
9222
  distinct_id: this.deviceId,
9223
9223
  sdk_edition: 'web',
9224
- sdk_version: '17.1.0',
9224
+ sdk_version: '17.1.1',
9225
9225
  timezone: getUTCOffsetString(),
9226
9226
  search_engine: this.searchEngine,
9227
9227
  };
@@ -9865,7 +9865,7 @@ class API {
9865
9865
  this.signalStartIssue = (reason, missingApi) => {
9866
9866
  const doNotTrack = this.checkDoNotTrack();
9867
9867
  console.log("Tracker couldn't start due to:", JSON.stringify({
9868
- trackerVersion: '17.1.0',
9868
+ trackerVersion: '17.1.1',
9869
9869
  projectKey: this.options.projectKey,
9870
9870
  doNotTrack,
9871
9871
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,
@@ -1,4 +1,3 @@
1
- import { categories } from './types';
2
1
  interface PeopleEvent {
3
2
  type: string;
4
3
  timestamp: number;
@@ -25,8 +24,8 @@ declare class Batcher {
25
24
  constructor(backendUrl: string, getToken: () => string | null, init: () => Promise<void>);
26
25
  getBatches(): {
27
26
  data: {
28
- [categories.people]: PeopleEvent[];
29
- [categories.events]: Event[];
27
+ user_actions: PeopleEvent[];
28
+ events: Event[];
30
29
  };
31
30
  };
32
31
  addEvent(event: any): void;
@@ -8,11 +8,11 @@ export declare const mutationTypes: {
8
8
  incrementProperty: string;
9
9
  };
10
10
  export declare const categories: {
11
- people: string;
12
- events: string;
11
+ readonly people: "user_actions";
12
+ readonly events: "events";
13
13
  };
14
14
  export declare const createEvent: (category: (typeof categories)[keyof typeof categories], type?: (typeof mutationTypes)[keyof typeof mutationTypes], timestamp?: number, payload?: Record<string, any>) => {
15
- category: string;
15
+ category: "user_actions";
16
16
  data: {
17
17
  type: string | undefined;
18
18
  user_id: any;
@@ -21,7 +21,7 @@ export declare const createEvent: (category: (typeof categories)[keyof typeof ca
21
21
  name?: undefined;
22
22
  };
23
23
  } | {
24
- category: string;
24
+ category: "events";
25
25
  data: {
26
26
  name: any;
27
27
  payload: any;
package/dist/lib/entry.js CHANGED
@@ -4398,7 +4398,7 @@ class App {
4398
4398
  this.stopCallbacks = [];
4399
4399
  this.commitCallbacks = [];
4400
4400
  this.activityState = ActivityState.NotActive;
4401
- this.version = '17.1.0'; // TODO: version compatability check inside each plugin.
4401
+ this.version = '17.1.1'; // TODO: version compatability check inside each plugin.
4402
4402
  this.socketMode = false;
4403
4403
  this.compressionThreshold = 24 * 1000;
4404
4404
  this.bc = null;
@@ -9217,7 +9217,7 @@ class ConstantProperties {
9217
9217
  user_id: this.user_id,
9218
9218
  distinct_id: this.deviceId,
9219
9219
  sdk_edition: 'web',
9220
- sdk_version: '17.1.0',
9220
+ sdk_version: '17.1.1',
9221
9221
  timezone: getUTCOffsetString(),
9222
9222
  search_engine: this.searchEngine,
9223
9223
  };
@@ -9861,7 +9861,7 @@ class API {
9861
9861
  this.signalStartIssue = (reason, missingApi) => {
9862
9862
  const doNotTrack = this.checkDoNotTrack();
9863
9863
  console.log("Tracker couldn't start due to:", JSON.stringify({
9864
- trackerVersion: '17.1.0',
9864
+ trackerVersion: '17.1.1',
9865
9865
  projectKey: this.options.projectKey,
9866
9866
  doNotTrack,
9867
9867
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,
package/dist/lib/index.js CHANGED
@@ -4398,7 +4398,7 @@ class App {
4398
4398
  this.stopCallbacks = [];
4399
4399
  this.commitCallbacks = [];
4400
4400
  this.activityState = ActivityState.NotActive;
4401
- this.version = '17.1.0'; // TODO: version compatability check inside each plugin.
4401
+ this.version = '17.1.1'; // TODO: version compatability check inside each plugin.
4402
4402
  this.socketMode = false;
4403
4403
  this.compressionThreshold = 24 * 1000;
4404
4404
  this.bc = null;
@@ -9217,7 +9217,7 @@ class ConstantProperties {
9217
9217
  user_id: this.user_id,
9218
9218
  distinct_id: this.deviceId,
9219
9219
  sdk_edition: 'web',
9220
- sdk_version: '17.1.0',
9220
+ sdk_version: '17.1.1',
9221
9221
  timezone: getUTCOffsetString(),
9222
9222
  search_engine: this.searchEngine,
9223
9223
  };
@@ -9861,7 +9861,7 @@ class API {
9861
9861
  this.signalStartIssue = (reason, missingApi) => {
9862
9862
  const doNotTrack = this.checkDoNotTrack();
9863
9863
  console.log("Tracker couldn't start due to:", JSON.stringify({
9864
- trackerVersion: '17.1.0',
9864
+ trackerVersion: '17.1.1',
9865
9865
  projectKey: this.options.projectKey,
9866
9866
  doNotTrack,
9867
9867
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,
@@ -1,4 +1,3 @@
1
- import { categories } from './types';
2
1
  interface PeopleEvent {
3
2
  type: string;
4
3
  timestamp: number;
@@ -25,8 +24,8 @@ declare class Batcher {
25
24
  constructor(backendUrl: string, getToken: () => string | null, init: () => Promise<void>);
26
25
  getBatches(): {
27
26
  data: {
28
- [categories.people]: PeopleEvent[];
29
- [categories.events]: Event[];
27
+ user_actions: PeopleEvent[];
28
+ events: Event[];
30
29
  };
31
30
  };
32
31
  addEvent(event: any): void;
@@ -8,11 +8,11 @@ export declare const mutationTypes: {
8
8
  incrementProperty: string;
9
9
  };
10
10
  export declare const categories: {
11
- people: string;
12
- events: string;
11
+ readonly people: "user_actions";
12
+ readonly events: "events";
13
13
  };
14
14
  export declare const createEvent: (category: (typeof categories)[keyof typeof categories], type?: (typeof mutationTypes)[keyof typeof mutationTypes], timestamp?: number, payload?: Record<string, any>) => {
15
- category: string;
15
+ category: "user_actions";
16
16
  data: {
17
17
  type: string | undefined;
18
18
  user_id: any;
@@ -21,7 +21,7 @@ export declare const createEvent: (category: (typeof categories)[keyof typeof ca
21
21
  name?: undefined;
22
22
  };
23
23
  } | {
24
- category: string;
24
+ category: "events";
25
25
  data: {
26
26
  name: any;
27
27
  payload: any;
@@ -1,4 +1,3 @@
1
- import { categories } from './types';
2
1
  interface PeopleEvent {
3
2
  type: string;
4
3
  timestamp: number;
@@ -25,8 +24,8 @@ declare class Batcher {
25
24
  constructor(backendUrl: string, getToken: () => string | null, init: () => Promise<void>);
26
25
  getBatches(): {
27
26
  data: {
28
- [categories.people]: PeopleEvent[];
29
- [categories.events]: Event[];
27
+ user_actions: PeopleEvent[];
28
+ events: Event[];
30
29
  };
31
30
  };
32
31
  addEvent(event: any): void;
@@ -8,11 +8,11 @@ export declare const mutationTypes: {
8
8
  incrementProperty: string;
9
9
  };
10
10
  export declare const categories: {
11
- people: string;
12
- events: string;
11
+ readonly people: "user_actions";
12
+ readonly events: "events";
13
13
  };
14
14
  export declare const createEvent: (category: (typeof categories)[keyof typeof categories], type?: (typeof mutationTypes)[keyof typeof mutationTypes], timestamp?: number, payload?: Record<string, any>) => {
15
- category: string;
15
+ category: "user_actions";
16
16
  data: {
17
17
  type: string | undefined;
18
18
  user_id: any;
@@ -21,7 +21,7 @@ export declare const createEvent: (category: (typeof categories)[keyof typeof ca
21
21
  name?: undefined;
22
22
  };
23
23
  } | {
24
- category: string;
24
+ category: "events";
25
25
  data: {
26
26
  name: any;
27
27
  payload: any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openreplay/tracker",
3
3
  "description": "The OpenReplay tracker main package",
4
- "version": "17.1.0",
4
+ "version": "17.1.1",
5
5
  "keywords": [
6
6
  "logging",
7
7
  "replay"