@eventvisor/core 0.15.0 → 0.16.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.16.0](https://github.com/eventvisor/eventvisor/compare/v0.15.0...v0.16.0) (2025-11-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* rename handler assignment functions in custom generated code ([#35](https://github.com/eventvisor/eventvisor/issues/35)) ([92950a7](https://github.com/eventvisor/eventvisor/commit/92950a7a8efdf09ab04b49ece631fa5b6eb3753f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [0.15.0](https://github.com/eventvisor/eventvisor/compare/v0.14.0...v0.15.0) (2025-11-07)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -127,7 +127,7 @@ type TrackHandler = (eventName: string, payload: Value) => void;
|
|
|
127
127
|
|
|
128
128
|
let trackHandler: TrackHandler | null = null;
|
|
129
129
|
|
|
130
|
-
export function
|
|
130
|
+
export function assignEventHandler(handler: TrackHandler | null) {
|
|
131
131
|
trackHandler = handler;
|
|
132
132
|
}
|
|
133
133
|
|
|
@@ -149,7 +149,7 @@ type SetAttributeHandler = (attributeName: string, value: Value) => void;
|
|
|
149
149
|
|
|
150
150
|
let setAttributeHandler: SetAttributeHandler | null = null;
|
|
151
151
|
|
|
152
|
-
export function
|
|
152
|
+
export function assignAttributeHandler(handler: SetAttributeHandler | null) {
|
|
153
153
|
setAttributeHandler = handler;
|
|
154
154
|
}
|
|
155
155
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eventvisor/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "Core package of Eventvisor for Node.js usage",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@eventvisor/sdk": "0.
|
|
33
|
-
"@eventvisor/types": "0.
|
|
32
|
+
"@eventvisor/sdk": "0.16.0",
|
|
33
|
+
"@eventvisor/types": "0.16.0",
|
|
34
34
|
"axios": "^1.12.2",
|
|
35
35
|
"chalk": "^5.6.0",
|
|
36
36
|
"js-yaml": "^4.1.0",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"yargs": "^17.7.2",
|
|
39
39
|
"zod": "^4.0.17"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "0b880dcefaa813ab7d039310c96bc0ca80af23c1"
|
|
42
42
|
}
|
|
@@ -154,7 +154,7 @@ type TrackHandler = (eventName: string, payload: Value) => void;
|
|
|
154
154
|
|
|
155
155
|
let trackHandler: TrackHandler | null = null;
|
|
156
156
|
|
|
157
|
-
export function
|
|
157
|
+
export function assignEventHandler(handler: TrackHandler | null) {
|
|
158
158
|
trackHandler = handler;
|
|
159
159
|
}
|
|
160
160
|
|
|
@@ -176,7 +176,7 @@ type SetAttributeHandler = (attributeName: string, value: Value) => void;
|
|
|
176
176
|
|
|
177
177
|
let setAttributeHandler: SetAttributeHandler | null = null;
|
|
178
178
|
|
|
179
|
-
export function
|
|
179
|
+
export function assignAttributeHandler(handler: SetAttributeHandler | null) {
|
|
180
180
|
setAttributeHandler = handler;
|
|
181
181
|
}
|
|
182
182
|
|