@exodus/analytics-validation 2.13.0 → 2.14.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,12 @@
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.14.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.13.0...@exodus/analytics-validation@2.14.0) (2024-03-14)
7
+
8
+ ### Features
9
+
10
+ - add favoriteAssets analytics ([#6112](https://github.com/ExodusMovement/exodus-hydra/issues/6112)) ([d37f886](https://github.com/ExodusMovement/exodus-hydra/commit/d37f886dae30468804a229e54b7ca1cd2d59398e))
11
+
6
12
  ## [2.13.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.12.0...@exodus/analytics-validation@2.13.0) (2024-03-07)
7
13
 
8
14
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.13.0",
3
+ "version": "2.14.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": "bf362953123b58dcf613d59572c64e5bdfc5f9de"
43
+ "gitHead": "e1ab245c358e7add5cb2420d7633843588b9f956"
44
44
  }
@@ -231,6 +231,10 @@
231
231
  "type": "integer",
232
232
  "minimum": 0
233
233
  },
234
+ "number_of_assets_favorites": {
235
+ "type": "integer",
236
+ "minimum": 0
237
+ },
234
238
  "trust_score": {
235
239
  "type": "number",
236
240
  "minimum": 0
@@ -353,6 +353,9 @@
353
353
  {
354
354
  "$ref": "wallet-asset-copy-receive-address#"
355
355
  },
356
+ {
357
+ "$ref": "wallet-asset-favorite-toggle#"
358
+ },
356
359
  {
357
360
  "$ref": "wallet-asset-freeze#"
358
361
  },
@@ -0,0 +1,32 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetFavoriteToggle"
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
+ "network": {
21
+ "type": "string"
22
+ },
23
+ "asset_name": {
24
+ "type": "string"
25
+ }
26
+ },
27
+ "unevaluatedProperties": false
28
+ }
29
+ },
30
+ "unevaluatedProperties": false,
31
+ "required": ["event", "properties"]
32
+ }