@exodus/analytics-validation 2.47.1 → 2.49.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.49.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.48.0...@exodus/analytics-validation@2.49.0) (2025-01-09)
7
+
8
+ ### Features
9
+
10
+ - feat: add account compatibility mode to default props (#11019)
11
+
12
+ ## [2.48.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.47.1...@exodus/analytics-validation@2.48.0) (2025-01-02)
13
+
14
+ ### Features
15
+
16
+ - feat(analytics-validation): add view exit event (#10513)
17
+
6
18
  ## [2.47.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.47.0...@exodus/analytics-validation@2.47.1) (2024-12-11)
7
19
 
8
20
  **Note:** Version bump only for package @exodus/analytics-validation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.47.1",
3
+ "version": "2.49.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": {
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "511452c544239463f5ab0f46856ef83bd5077c28"
46
+ "gitHead": "6b8d24896547210f6b29bcd4d153b833dc4a24f7"
47
47
  }
@@ -54,6 +54,11 @@
54
54
  "maxLength": 30,
55
55
  "$comment": "Sensible default for future cases"
56
56
  },
57
+ "account_compatibility_mode": {
58
+ "type": "string",
59
+ "maxLength": 20,
60
+ "$comment": "Max length is also arbitrary, can be ledger, trezor, or nothing"
61
+ },
57
62
  "asset_exchanged_last_90": {
58
63
  "type": "boolean"
59
64
  },
@@ -317,6 +317,9 @@
317
317
  {
318
318
  "$ref": "performance-app-startup#"
319
319
  },
320
+ {
321
+ "$ref": "performance-view-exit#"
322
+ },
320
323
  {
321
324
  "$ref": "performance-view-render#"
322
325
  },
@@ -0,0 +1,35 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "PerformanceViewExit"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": ["origin", "destination", "duration"],
16
+ "properties": {
17
+ "duration": {
18
+ "type": "number",
19
+ "minimum": 0
20
+ },
21
+ "destination": {
22
+ "type": "string",
23
+ "format": "any-string"
24
+ },
25
+ "origin": {
26
+ "type": "string",
27
+ "format": "any-string"
28
+ }
29
+ },
30
+ "unevaluatedProperties": false
31
+ }
32
+ },
33
+ "unevaluatedProperties": false,
34
+ "required": ["event", "properties"]
35
+ }