@exodus/analytics-validation 2.2.0 → 2.3.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,19 @@
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.3.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.2.1...@exodus/analytics-validation@2.3.0) (2023-11-29)
7
+
8
+ ### Features
9
+
10
+ - add event for price-balance selections ([#4833](https://github.com/ExodusMovement/exodus-hydra/issues/4833)) ([b87290c](https://github.com/ExodusMovement/exodus-hydra/commit/b87290ccec7881f3a5183caaba03213644523a5b))
11
+ - track price balance asset chart ([#4917](https://github.com/ExodusMovement/exodus-hydra/issues/4917)) ([67c1708](https://github.com/ExodusMovement/exodus-hydra/commit/67c1708499def8c5805acae3dc2742724149cbd8))
12
+
13
+ ## [2.2.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.2.0...@exodus/analytics-validation@2.2.1) (2023-11-23)
14
+
15
+ ### Bug Fixes
16
+
17
+ - add missing common properties ([#4861](https://github.com/ExodusMovement/exodus-hydra/issues/4861)) ([b5c1a09](https://github.com/ExodusMovement/exodus-hydra/commit/b5c1a09e8f52f204a5166a03cf7ae4bf111896f8))
18
+
6
19
  ## [2.2.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.1.0...@exodus/analytics-validation@2.2.0) (2023-11-20)
7
20
 
8
21
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.2.0",
3
+ "version": "2.3.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": {
@@ -32,5 +32,14 @@
32
32
  "eslint": "^8.44.0",
33
33
  "jest": "^29.1.2"
34
34
  },
35
- "gitHead": "a375b47d1d662ae35e5ad7cc3a2d7cce7ac19ee0"
35
+ "nx": {
36
+ "targets": {
37
+ "build": {
38
+ "outputs": [
39
+ "{projectRoot}/src/main.schemasafe.json"
40
+ ]
41
+ }
42
+ }
43
+ },
44
+ "gitHead": "1124deedbcfadf0c2c12d9fcda93380bf30f02bd"
36
45
  }
@@ -110,7 +110,8 @@
110
110
  "support-chat:on",
111
111
  "wallet-connect-dapps:enabled",
112
112
  "wallet-connect:enabled",
113
- "exchange-v2-21.8.12:v1"
113
+ "exchange-v2-21.8.12:v1",
114
+ "exchange-v3:enabled"
114
115
  ]
115
116
  }
116
117
  },
@@ -179,6 +180,9 @@
179
180
  },
180
181
  {
181
182
  "const": "win32"
183
+ },
184
+ {
185
+ "const": "mac"
182
186
  }
183
187
  ]
184
188
  },
@@ -351,6 +351,9 @@
351
351
  {
352
352
  "$ref": "wallet-asset-network-manual-refresh#"
353
353
  },
354
+ {
355
+ "$ref": "wallet-asset-price-balance-toggle#"
356
+ },
354
357
  {
355
358
  "$ref": "wallet-asset-receive-view#"
356
359
  },
@@ -0,0 +1,35 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetPriceBalanceToggle"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "asset_name": {
18
+ "type": "string",
19
+ "format": "any-string"
20
+ },
21
+ "network": {
22
+ "type": "string",
23
+ "format": "any-string"
24
+ },
25
+ "price_or_balance": {
26
+ "type": "string",
27
+ "enum": ["price", "balance"]
28
+ }
29
+ },
30
+ "unevaluatedProperties": false
31
+ }
32
+ },
33
+ "unevaluatedProperties": false,
34
+ "required": ["event", "properties"]
35
+ }
@@ -15,10 +15,16 @@
15
15
  "required": [],
16
16
  "properties": {
17
17
  "asset_name": {
18
- "type": "string"
18
+ "type": "string",
19
+ "format": "any-string"
19
20
  },
20
21
  "network": {
21
- "type": "string"
22
+ "type": "string",
23
+ "format": "any-string"
24
+ },
25
+ "price_or_balance": {
26
+ "type": "string",
27
+ "enum": ["price", "balance"]
22
28
  }
23
29
  },
24
30
  "unevaluatedProperties": false