@exodus/analytics-validation 2.17.0 → 2.18.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,16 @@
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
+ ## [2.18.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.17.0...@exodus/analytics-validation@2.18.0) (2024-04-04)
7
+
8
+ ### Features
9
+
10
+ - **analytics-validation:** add Performance and AppStartup ([#6300](https://github.com/ExodusMovement/exodus-hydra/issues/6300)) ([76fe1f9](https://github.com/ExodusMovement/exodus-hydra/commit/76fe1f9d8ac407c090f5d148c766a50b99348f24))
11
+
12
+ ### Bug Fixes
13
+
14
+ - **analytics-validation:** rename Performance to ViewRenderPerformance ([#6371](https://github.com/ExodusMovement/exodus-hydra/issues/6371)) ([824320d](https://github.com/ExodusMovement/exodus-hydra/commit/824320dcf12efa3ccc37826610383d2fe167056e))
15
+
6
16
  ## [2.17.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.16.1...@exodus/analytics-validation@2.17.0) (2024-03-22)
7
17
 
8
18
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.17.0",
3
+ "version": "2.18.0",
4
4
  "description": "JSON schemas for analytics events, to prevent sensitive data from being sent up to the infamous cloud",
5
5
  "author": "Exodus Movement Inc.",
6
6
  "repository": {
@@ -40,5 +40,5 @@
40
40
  }
41
41
  }
42
42
  },
43
- "gitHead": "457e0be68b89fdd70d97616433cebaa4be6a2188"
43
+ "gitHead": "0c52f8e8b03d9d77bbf65b90aa589b59bdc3c54c"
44
44
  }
@@ -20,6 +20,9 @@
20
20
  {
21
21
  "$ref": "android-install-referrer-attribution#"
22
22
  },
23
+ {
24
+ "$ref": "app-startup#"
25
+ },
23
26
  {
24
27
  "$ref": "asset-network-manual-refresh#"
25
28
  },
@@ -368,6 +371,9 @@
368
371
  {
369
372
  "$ref": "telemetry-collection-decision#"
370
373
  },
374
+ {
375
+ "$ref": "view-render-performance#"
376
+ },
371
377
  {
372
378
  "$ref": "wallet-asset-advanced-options-view#"
373
379
  },
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "AppStartup"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": ["start_time", "destination"],
16
+ "properties": {
17
+ "start_time": {
18
+ "type": "number",
19
+ "minimum": 0
20
+ },
21
+ "destination": {
22
+ "type": "string",
23
+ "format": "any-string"
24
+ }
25
+ },
26
+ "unevaluatedProperties": false
27
+ }
28
+ },
29
+ "unevaluatedProperties": false,
30
+ "required": ["event", "properties"]
31
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "ViewRenderPerformance"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": ["destination"],
16
+ "properties": {
17
+ "render_time": {
18
+ "type": "number",
19
+ "minimum": 0
20
+ },
21
+ "render_state": {
22
+ "type": "string",
23
+ "format": "any-string"
24
+ },
25
+ "abort_time": {
26
+ "type": "number",
27
+ "minimum": 0
28
+ },
29
+ "destination": {
30
+ "type": "string",
31
+ "format": "any-string"
32
+ }
33
+ },
34
+ "unevaluatedProperties": false
35
+ }
36
+ },
37
+ "unevaluatedProperties": false,
38
+ "required": ["event", "properties"]
39
+ }