@exodus/analytics-validation 2.33.0 → 2.35.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,22 @@
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.35.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.34.0...@exodus/analytics-validation@2.35.0) (2024-08-15)
7
+
8
+ ### Features
9
+
10
+ - **analytics:** add Web3BrowserWebsiteLoadingFail event validation ([#8391](https://github.com/ExodusMovement/exodus-hydra/issues/8391)) ([827ea1b](https://github.com/ExodusMovement/exodus-hydra/commit/827ea1b5d946743017d1bc9aa2b55b12b613f4bb))
11
+
12
+ ### Bug Fixes
13
+
14
+ - **analytics-validation:** add missing `type` to the `error_type` property of the `OnRampClientError` event ([#8443](https://github.com/ExodusMovement/exodus-hydra/issues/8443)) ([5af41ca](https://github.com/ExodusMovement/exodus-hydra/commit/5af41ca2296e12e7d28621de0b626aa65a39e98d))
15
+
16
+ ## [2.34.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.33.0...@exodus/analytics-validation@2.34.0) (2024-08-13)
17
+
18
+ ### Features
19
+
20
+ - **analytics-validation:** add exchange onboarding screen view event ([#8308](https://github.com/ExodusMovement/exodus-hydra/issues/8308)) ([66596ad](https://github.com/ExodusMovement/exodus-hydra/commit/66596ade40a63a2b418cbffd48d307ae97e2ed88))
21
+
6
22
  ## [2.33.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.32.0...@exodus/analytics-validation@2.33.0) (2024-08-07)
7
23
 
8
24
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.33.0",
3
+ "version": "2.35.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": "9952ff967917227a1492d2056b388c0c1215343e"
43
+ "gitHead": "190ea7822552959f34659933181ac7a3a5627c41"
44
44
  }
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "ExchangeOnboardingScreenView"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "screen_order": {
18
+ "type": "number",
19
+ "minimum": 1,
20
+ "maximum": 3
21
+ }
22
+ },
23
+ "unevaluatedProperties": false
24
+ }
25
+ },
26
+ "unevaluatedProperties": false,
27
+ "required": ["event", "properties"]
28
+ }
@@ -15,6 +15,7 @@
15
15
  "required": [],
16
16
  "properties": {
17
17
  "error_type": {
18
+ "type": "string",
18
19
  "enum": ["assets", "countries", "payment-method", "quotes"]
19
20
  }
20
21
  },
@@ -104,6 +104,9 @@
104
104
  {
105
105
  "$ref": "exchange-no-gas#"
106
106
  },
107
+ {
108
+ "$ref": "exchange-onboarding-screen-view#"
109
+ },
107
110
  {
108
111
  "$ref": "exchange-order-create#"
109
112
  },
@@ -578,6 +581,9 @@
578
581
  {
579
582
  "$ref": "web3-browser-search-input#"
580
583
  },
584
+ {
585
+ "$ref": "web3browser-website-loading-fail#"
586
+ },
581
587
  {
582
588
  "$ref": "write-phrase-screen-exit#"
583
589
  },
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "Web3browserWebsiteLoadingFail"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "error": {
18
+ "type": "number"
19
+ },
20
+ "domain": {
21
+ "type": "string",
22
+ "format": "uri"
23
+ }
24
+ },
25
+ "unevaluatedProperties": false
26
+ }
27
+ },
28
+ "unevaluatedProperties": false,
29
+ "required": ["event", "properties"]
30
+ }