@exodus/analytics-validation 2.35.0 → 2.37.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.37.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.36.0...@exodus/analytics-validation@2.37.0) (2024-08-27)
7
+
8
+ ### Features
9
+
10
+ - **analytics-validation:** add wallet MintSendSuccess validation ([#8453](https://github.com/ExodusMovement/exodus-hydra/issues/8453)) ([8959572](https://github.com/ExodusMovement/exodus-hydra/commit/89595729825e75db6924bfc8c97e45962e7edf03))
11
+
12
+ ## [2.36.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.35.0...@exodus/analytics-validation@2.36.0) (2024-08-26)
13
+
14
+ ### Features
15
+
16
+ - add balances to events ([#8695](https://github.com/ExodusMovement/exodus-hydra/issues/8695)) ([d7653f6](https://github.com/ExodusMovement/exodus-hydra/commit/d7653f65e7936fe62c2cec3fd18c2a8cc6e86c61))
17
+
6
18
  ## [2.35.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.34.0...@exodus/analytics-validation@2.35.0) (2024-08-15)
7
19
 
8
20
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.35.0",
3
+ "version": "2.37.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": "190ea7822552959f34659933181ac7a3a5627c41"
43
+ "gitHead": "b8c4b823516753111792e9e4a6cc0fe3decc718a"
44
44
  }
@@ -203,6 +203,9 @@
203
203
  {
204
204
  "$ref": "marketing-banner-click#"
205
205
  },
206
+ {
207
+ "$ref": "mint-send-success#"
208
+ },
206
209
  {
207
210
  "$ref": "modal-delisting-assets-view#"
208
211
  },
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "MintSendSuccess"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "transaction_ids": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "string",
21
+ "format": "any-string"
22
+ }
23
+ }
24
+ },
25
+ "unevaluatedProperties": false
26
+ }
27
+ },
28
+ "unevaluatedProperties": false,
29
+ "required": ["event"]
30
+ }
@@ -47,6 +47,12 @@
47
47
  },
48
48
  "failure_hint": {
49
49
  "type": "string"
50
+ },
51
+ "total_balance": {
52
+ "type": "number"
53
+ },
54
+ "spendable_balance": {
55
+ "type": "number"
50
56
  }
51
57
  },
52
58
  "unevaluatedProperties": false
@@ -25,6 +25,12 @@
25
25
  "price_or_balance": {
26
26
  "type": "string",
27
27
  "enum": ["price", "balance", "crypto-balance"]
28
+ },
29
+ "total_balance": {
30
+ "type": "number"
31
+ },
32
+ "spendable_balance": {
33
+ "type": "number"
28
34
  }
29
35
  },
30
36
  "unevaluatedProperties": false