@exodus/analytics-validation 2.30.0 → 2.32.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 +13 -0
- package/package.json +2 -2
- package/src/exchange/exchange-configure-asset-search-unavailable.schemasafe.json +33 -0
- package/src/fiat/on-ramp-client-error.schemasafe.json +26 -0
- package/src/main.schemasafe.json +12 -0
- package/src/multi-seed/multi-seed-child-seed-add.schemasafe.json +28 -0
- package/src/multi-seed/multi-seed-child-seed-remove.schemasafe.json +28 -0
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.32.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.31.0...@exodus/analytics-validation@2.32.0) (2024-08-02)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **exchange:** track asset search unavailable when no result found ([#8018](https://github.com/ExodusMovement/exodus-hydra/issues/8018)) ([d715e8b](https://github.com/ExodusMovement/exodus-hydra/commit/d715e8b221c9b8bcdb209b32ffb141a4e4cfea56))
|
|
11
|
+
|
|
12
|
+
## [2.31.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.30.0...@exodus/analytics-validation@2.31.0) (2024-08-01)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- **analytics-validation:** add child seed event validation ([#8161](https://github.com/ExodusMovement/exodus-hydra/issues/8161)) ([a253388](https://github.com/ExodusMovement/exodus-hydra/commit/a253388ee6a32048018fda965bc700a08dc46cc5))
|
|
17
|
+
- **analytics-validation:** add validation for `OnRampClientError` event ([#8180](https://github.com/ExodusMovement/exodus-hydra/issues/8180)) ([56f068e](https://github.com/ExodusMovement/exodus-hydra/commit/56f068e31584723ec715859a1436f4916f165619))
|
|
18
|
+
|
|
6
19
|
## [2.30.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.29.0...@exodus/analytics-validation@2.30.0) (2024-07-25)
|
|
7
20
|
|
|
8
21
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/analytics-validation",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.32.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": "
|
|
43
|
+
"gitHead": "5c3641a5e5ec3536ea164bf275a2a7256503945a"
|
|
44
44
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "ExchangeConfigureAssetSearchUnavailable"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": ["to_or_from", "content"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"to_or_from": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "any-string"
|
|
20
|
+
},
|
|
21
|
+
"content": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"format": "any-string",
|
|
24
|
+
"minLength": 3,
|
|
25
|
+
"maxLength": 6
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"unevaluatedProperties": false
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"unevaluatedProperties": false,
|
|
32
|
+
"required": ["event", "properties"]
|
|
33
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "OnRampClientError"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"error_type": {
|
|
18
|
+
"enum": ["assets", "countries", "payment-method", "quotes"]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"unevaluatedProperties": false
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"unevaluatedProperties": false,
|
|
25
|
+
"required": ["event", "properties"]
|
|
26
|
+
}
|
package/src/main.schemasafe.json
CHANGED
|
@@ -95,6 +95,9 @@
|
|
|
95
95
|
{
|
|
96
96
|
"$ref": "exchange-asset-swap#"
|
|
97
97
|
},
|
|
98
|
+
{
|
|
99
|
+
"$ref": "exchange-configure-asset-search-unavailable#"
|
|
100
|
+
},
|
|
98
101
|
{
|
|
99
102
|
"$ref": "exchange-configure-asset-swap-bounce#"
|
|
100
103
|
},
|
|
@@ -206,6 +209,12 @@
|
|
|
206
209
|
{
|
|
207
210
|
"$ref": "modal-migration-warning-view#"
|
|
208
211
|
},
|
|
212
|
+
{
|
|
213
|
+
"$ref": "multi-seed-child-seed-add#"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"$ref": "multi-seed-child-seed-remove#"
|
|
217
|
+
},
|
|
209
218
|
{
|
|
210
219
|
"$ref": "network-easter-egg-activate#"
|
|
211
220
|
},
|
|
@@ -245,6 +254,9 @@
|
|
|
245
254
|
{
|
|
246
255
|
"$ref": "off-ramp-sale-confirm#"
|
|
247
256
|
},
|
|
257
|
+
{
|
|
258
|
+
"$ref": "on-ramp-client-error#"
|
|
259
|
+
},
|
|
248
260
|
{
|
|
249
261
|
"$ref": "on-ramp-continue-tap#"
|
|
250
262
|
},
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "MultiSeedChildSeedAdd"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"child_telemetry_identifier": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "any-string",
|
|
20
|
+
"maxLength": 50
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"unevaluatedProperties": false
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"unevaluatedProperties": false,
|
|
27
|
+
"required": ["event", "properties"]
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "MultiSeedChildSeedRemove"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"child_telemetry_identifier": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "any-string",
|
|
20
|
+
"maxLength": 50
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"unevaluatedProperties": false
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"unevaluatedProperties": false,
|
|
27
|
+
"required": ["event", "properties"]
|
|
28
|
+
}
|