@openreplay/tracker 17.1.3 → 17.1.4
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 +29 -4
- package/dist/cjs/entry.js.map +1 -1
- package/dist/cjs/index.js +22 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/main/index.d.ts +4 -0
- package/dist/cjs/main/singleton.d.ts +4 -0
- package/dist/lib/entry.js +29 -4
- package/dist/lib/entry.js.map +1 -1
- package/dist/lib/index.js +22 -4
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/main/index.d.ts +4 -0
- package/dist/lib/main/singleton.d.ts +4 -0
- package/dist/types/main/index.d.ts +4 -0
- package/dist/types/main/singleton.d.ts +4 -0
- package/package.json +7 -7
package/dist/lib/main/index.d.ts
CHANGED
|
@@ -101,6 +101,10 @@ export default class API {
|
|
|
101
101
|
withCurrentTime?: boolean;
|
|
102
102
|
}) => string | undefined;
|
|
103
103
|
setUserID: (id: string) => void;
|
|
104
|
+
identify: (id: string) => void;
|
|
105
|
+
track: ((eventName: string, properties?: Record<string, any>, options?: {
|
|
106
|
+
send_immediately: boolean;
|
|
107
|
+
}) => void) | undefined;
|
|
104
108
|
userID: (id: string) => void;
|
|
105
109
|
setUserAnonymousID(id: string): void;
|
|
106
110
|
userAnonymousID(id: string): void;
|
|
@@ -17,6 +17,10 @@ declare class TrackerSingleton {
|
|
|
17
17
|
* */
|
|
18
18
|
stop(): string | undefined;
|
|
19
19
|
setUserID(id: string): void;
|
|
20
|
+
identify: (id: string) => void;
|
|
21
|
+
track: (eventName: string, properties?: Record<string, any>, options?: {
|
|
22
|
+
send_immediately: boolean;
|
|
23
|
+
}) => void;
|
|
20
24
|
/**
|
|
21
25
|
* Set metadata for the current session
|
|
22
26
|
*
|
|
@@ -101,6 +101,10 @@ export default class API {
|
|
|
101
101
|
withCurrentTime?: boolean;
|
|
102
102
|
}) => string | undefined;
|
|
103
103
|
setUserID: (id: string) => void;
|
|
104
|
+
identify: (id: string) => void;
|
|
105
|
+
track: ((eventName: string, properties?: Record<string, any>, options?: {
|
|
106
|
+
send_immediately: boolean;
|
|
107
|
+
}) => void) | undefined;
|
|
104
108
|
userID: (id: string) => void;
|
|
105
109
|
setUserAnonymousID(id: string): void;
|
|
106
110
|
userAnonymousID(id: string): void;
|
|
@@ -17,6 +17,10 @@ declare class TrackerSingleton {
|
|
|
17
17
|
* */
|
|
18
18
|
stop(): string | undefined;
|
|
19
19
|
setUserID(id: string): void;
|
|
20
|
+
identify: (id: string) => void;
|
|
21
|
+
track: (eventName: string, properties?: Record<string, any>, options?: {
|
|
22
|
+
send_immediately: boolean;
|
|
23
|
+
}) => void;
|
|
20
24
|
/**
|
|
21
25
|
* Set metadata for the current session
|
|
22
26
|
*
|
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.
|
|
4
|
+
"version": "17.1.4",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"logging",
|
|
7
7
|
"replay"
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"prepublishOnly": "bun run test && bun run build"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@babel/core": "^7.28.
|
|
53
|
+
"@babel/core": "^7.28.5",
|
|
54
54
|
"@jest/globals": "^29.7.0",
|
|
55
|
-
"@rollup/plugin-babel": "^6.0
|
|
55
|
+
"@rollup/plugin-babel": "^6.1.0",
|
|
56
56
|
"@rollup/plugin-commonjs": "^28.0.3",
|
|
57
57
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
58
58
|
"@rollup/plugin-replace": "^6.0.2",
|
|
59
59
|
"@rollup/plugin-terser": "0.4.4",
|
|
60
|
-
"@rollup/plugin-typescript": "^12.
|
|
60
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
61
61
|
"@typescript-eslint/eslint-plugin": "^8.45.0",
|
|
62
62
|
"@typescript-eslint/parser": "^8.45.0",
|
|
63
63
|
"eslint": "^9.37.0",
|
|
@@ -65,11 +65,11 @@
|
|
|
65
65
|
"eslint-plugin-prettier": "^5.5.4",
|
|
66
66
|
"jest": "^30.2.0",
|
|
67
67
|
"jest-environment-jsdom": "^30.2.0",
|
|
68
|
-
"prettier": "^3.
|
|
68
|
+
"prettier": "^3.7.4",
|
|
69
69
|
"replace-in-files": "^2.0.3",
|
|
70
|
-
"rollup": "^4.
|
|
70
|
+
"rollup": "^4.55.1",
|
|
71
71
|
"semver": "^6.3.0",
|
|
72
|
-
"ts-jest": "^29.4.
|
|
72
|
+
"ts-jest": "^29.4.6",
|
|
73
73
|
"tslib": "^2.8.1",
|
|
74
74
|
"typescript": "^5.9.3"
|
|
75
75
|
},
|