@exodus/analytics-validation 2.54.0 → 2.56.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.56.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.55.0...@exodus/analytics-validation@2.56.0) (2025-05-21)
7
+
8
+ ### Features
9
+
10
+ - feat(analytics-validation): portfolio rewards and animation (#12610)
11
+
12
+ ## [2.55.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.54.0...@exodus/analytics-validation@2.55.0) (2025-05-20)
13
+
14
+ ### Features
15
+
16
+ - feat(analytics-validation): add ExchangeSwap event (#12589)
17
+
6
18
  ## [2.54.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.53.0...@exodus/analytics-validation@2.54.0) (2025-05-13)
7
19
 
8
20
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.54.0",
3
+ "version": "2.56.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": {
@@ -42,5 +42,5 @@
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "5a6fcc736054f11c418d374dfe86856c64bdfe29"
45
+ "gitHead": "8058592c8c1bad81b65dd2187d34843c8f926d29"
46
46
  }
@@ -23,7 +23,7 @@ const getSchemas = ({ schemaDir, schemaNames }) => {
23
23
  }
24
24
 
25
25
  const schemaDir = path.join(__dirname, './src')
26
- const schemaNames = fs.readdirSync(schemaDir)
26
+ const schemaNames = fs.readdirSync(path.join(__dirname, './src')) // might be bundleable later, do not refactor this line
27
27
 
28
28
  getSchemas({ schemaDir, schemaNames })
29
29
 
@@ -0,0 +1,40 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "ExchangeSwap"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [
16
+ "is_cross_portfolio",
17
+ "portfolio_from_account_source",
18
+ "portfolio_to_account_source",
19
+ "user_amount_from_usd"
20
+ ],
21
+ "properties": {
22
+ "is_cross_portfolio": {
23
+ "type": "boolean"
24
+ },
25
+ "portfolio_from_account_source": {
26
+ "type": "string"
27
+ },
28
+ "portfolio_to_account_source": {
29
+ "type": "string"
30
+ },
31
+ "user_amount_from_usd": {
32
+ "type": "number"
33
+ }
34
+ },
35
+ "unevaluatedProperties": false
36
+ }
37
+ },
38
+ "unevaluatedProperties": false,
39
+ "required": ["event", "properties"]
40
+ }
@@ -122,6 +122,9 @@
122
122
  {
123
123
  "$ref": "exchange-swap-unavailable-view#"
124
124
  },
125
+ {
126
+ "$ref": "exchange-swap#"
127
+ },
125
128
  {
126
129
  "$ref": "exchange-temporary-unavailable-view#"
127
130
  },
@@ -425,6 +428,9 @@
425
428
  {
426
429
  "$ref": "settings-notifications-special-offers-toggle#"
427
430
  },
431
+ {
432
+ "$ref": "settings-portfolio-animation-toggle#"
433
+ },
428
434
  {
429
435
  "$ref": "settings-portfolios-toggle#"
430
436
  },
@@ -437,6 +443,9 @@
437
443
  {
438
444
  "$ref": "settings-restore-from-backup-view#"
439
445
  },
446
+ {
447
+ "$ref": "settings-show-rewards-in-portfolio-toggle#"
448
+ },
440
449
  {
441
450
  "$ref": "settings-sound-toggle#"
442
451
  },
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "SettingsPortfolioAnimationToggle"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "toggled_on": {
18
+ "type": "boolean"
19
+ }
20
+ },
21
+ "unevaluatedProperties": false
22
+ }
23
+ },
24
+ "unevaluatedProperties": false,
25
+ "required": ["event", "properties"]
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "SettingsShowRewardsInPortfolioToggle"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "toggled_on": {
18
+ "type": "boolean"
19
+ }
20
+ },
21
+ "unevaluatedProperties": false
22
+ }
23
+ },
24
+ "unevaluatedProperties": false,
25
+ "required": ["event", "properties"]
26
+ }