@exodus/analytics-validation 2.34.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,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.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
+
6
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)
7
17
 
8
18
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.34.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": "8936f5e0d83755ddce6a5fa5c8dc4c0246e416b8"
43
+ "gitHead": "190ea7822552959f34659933181ac7a3a5627c41"
44
44
  }
@@ -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
  },
@@ -581,6 +581,9 @@
581
581
  {
582
582
  "$ref": "web3-browser-search-input#"
583
583
  },
584
+ {
585
+ "$ref": "web3browser-website-loading-fail#"
586
+ },
584
587
  {
585
588
  "$ref": "write-phrase-screen-exit#"
586
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
+ }