@webiny/telemetry 5.23.0 → 5.24.0-beta.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 +27 -0
- package/package.json +3 -3
- package/react.js +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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
|
+
# [5.24.0-beta.0](https://github.com/webiny/webiny-js/compare/v5.23.1...v5.24.0-beta.0) (2022-03-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add types to app-page-builder ([e65ce21](https://github.com/webiny/webiny-js/commit/e65ce216d9019657964ddd89194be63544ef2bad))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [5.23.1](https://github.com/webiny/webiny-js/compare/v5.23.1-beta.0...v5.23.1) (2022-02-16)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @webiny/telemetry
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [5.23.1-beta.0](https://github.com/webiny/webiny-js/compare/v5.23.0...v5.23.1-beta.0) (2022-02-16)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @webiny/telemetry
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [5.23.0](https://github.com/webiny/webiny-js/compare/v5.23.0-beta.1...v5.23.0) (2022-02-15)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @webiny/telemetry
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/telemetry",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.24.0-beta.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@webiny/global-config": "5.
|
|
6
|
+
"@webiny/global-config": "5.24.0-beta.0",
|
|
7
7
|
"form-data": "3.0.0",
|
|
8
8
|
"node-fetch": "2.6.1"
|
|
9
9
|
},
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
"access": "public",
|
|
12
12
|
"directory": "."
|
|
13
13
|
},
|
|
14
|
-
"gitHead": "
|
|
14
|
+
"gitHead": "05b90b92bbaf2ef3adf275d008c4641580cf5f42"
|
|
15
15
|
}
|
package/react.js
CHANGED
|
@@ -3,7 +3,12 @@ const createSendEvent = require("./sendEvent");
|
|
|
3
3
|
const setProperties = data => {
|
|
4
4
|
return sendEvent("$identify", data);
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* @param event {String}
|
|
9
|
+
* @param data {Record<string, string>}
|
|
10
|
+
* @return {Promise<T>}
|
|
11
|
+
*/
|
|
7
12
|
const sendEvent = (event, data = {}) => {
|
|
8
13
|
let properties = {};
|
|
9
14
|
let extraPayload = {};
|