@exodus/analytics-validation 2.27.0 → 2.28.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,18 @@
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.28.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.27.1...@exodus/analytics-validation@2.28.0) (2024-07-25)
7
+
8
+ ### Features
9
+
10
+ - **exchange:** add swap temporarily unavailable telemetry ([#8032](https://github.com/ExodusMovement/exodus-hydra/issues/8032)) ([95f1c00](https://github.com/ExodusMovement/exodus-hydra/commit/95f1c00d58ba1aceaed1feb365c7f07bd42b53a6))
11
+
12
+ ## [2.27.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.27.0...@exodus/analytics-validation@2.27.1) (2024-07-25)
13
+
14
+ ### Bug Fixes
15
+
16
+ - add validation for AppSession is_from_background property ([#8038](https://github.com/ExodusMovement/exodus-hydra/issues/8038)) ([ce7232e](https://github.com/ExodusMovement/exodus-hydra/commit/ce7232e2b05284793dcd37488d77ed4343ac7933))
17
+
6
18
  ## [2.27.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.26.0...@exodus/analytics-validation@2.27.0) (2024-07-17)
7
19
 
8
20
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.27.0",
3
+ "version": "2.28.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": "275b69410814da37718ff4f8201e189de30deaa1"
43
+ "gitHead": "32e704cdf995c8a2874909047b113383194ab78a"
44
44
  }
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "ExchangeTemporaryUnavailableView"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {},
17
+ "unevaluatedProperties": false
18
+ }
19
+ },
20
+ "unevaluatedProperties": false,
21
+ "required": ["event", "properties"]
22
+ }
@@ -20,6 +20,9 @@
20
20
  {
21
21
  "$ref": "android-install-referrer-attribution#"
22
22
  },
23
+ {
24
+ "$ref": "app-session#"
25
+ },
23
26
  {
24
27
  "$ref": "asset-network-manual-refresh#"
25
28
  },
@@ -110,6 +113,9 @@
110
113
  {
111
114
  "$ref": "exchange-swap-unavailable-view#"
112
115
  },
116
+ {
117
+ "$ref": "exchange-temporary-unavailable-view#"
118
+ },
113
119
  {
114
120
  "$ref": "exodus-transaction-broadcast-error#"
115
121
  },
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "AppSession"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "is_from_background": {
18
+ "type": "boolean"
19
+ }
20
+ },
21
+ "unevaluatedProperties": false
22
+ }
23
+ },
24
+ "unevaluatedProperties": false,
25
+ "required": ["event", "properties"]
26
+ }