@exodus/analytics-validation 2.13.0 → 2.15.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.15.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.14.0...@exodus/analytics-validation@2.15.0) (2024-03-14)
7
+
8
+ ### Features
9
+
10
+ - **analytics-validation:** add `metrics_loading` common event property ([#6116](https://github.com/ExodusMovement/exodus-hydra/issues/6116)) ([6ce5683](https://github.com/ExodusMovement/exodus-hydra/commit/6ce56835c027a69b28404089b4227ebddcef369a))
11
+
12
+ ## [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)
13
+
14
+ ### Features
15
+
16
+ - add favoriteAssets analytics ([#6112](https://github.com/ExodusMovement/exodus-hydra/issues/6112)) ([d37f886](https://github.com/ExodusMovement/exodus-hydra/commit/d37f886dae30468804a229e54b7ca1cd2d59398e))
17
+
6
18
  ## [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
19
 
8
20
  ### 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.15.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": {
@@ -24,7 +24,7 @@
24
24
  "build": "node scripts/build-schemasafe.js",
25
25
  "lint": "run -T eslint . --ignore-path ../../.gitignore",
26
26
  "lint:fix": "yarn lint --fix",
27
- "test": "yarn build && jest",
27
+ "test": "yarn build && run -T jest",
28
28
  "prepublishOnly": "yarn run -T build --scope @exodus/analytics-validation"
29
29
  },
30
30
  "devDependencies": {
@@ -40,5 +40,5 @@
40
40
  }
41
41
  }
42
42
  },
43
- "gitHead": "bf362953123b58dcf613d59572c64e5bdfc5f9de"
43
+ "gitHead": "3734ccb8604d721ff1604de9376fe065bae155ef"
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
@@ -238,6 +242,9 @@
238
242
  "adjusted_trust_score": {
239
243
  "type": "number",
240
244
  "minimum": 0
245
+ },
246
+ "metrics_loading": {
247
+ "type": "boolean"
241
248
  }
242
249
  }
243
250
  }
@@ -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
+ }