@exodus/analytics-validation 2.31.0 → 2.33.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/onboarding/restore-wallet-seed-input.schemasafe.json +4 -0
- package/src/security/security-backup-created.schemasafe.json +27 -0
- package/src/security/security-backup-creation-initiated.schemasafe.json +27 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,11 +3,24 @@
|
|
|
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.33.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.32.0...@exodus/analytics-validation@2.33.0) (2024-08-07)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **analytics-validation:** add backup_type and SecurityBackupCreationInitiated event ([#8200](https://github.com/ExodusMovement/exodus-hydra/issues/8200)) ([11679fb](https://github.com/ExodusMovement/exodus-hydra/commit/11679fbf4b21833c1ddc675bfc92a48724d6b9dd))
|
|
11
|
+
|
|
12
|
+
## [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)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- **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))
|
|
17
|
+
|
|
6
18
|
## [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)
|
|
7
19
|
|
|
8
20
|
### Features
|
|
9
21
|
|
|
10
22
|
- **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))
|
|
23
|
+
- **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))
|
|
11
24
|
|
|
12
25
|
## [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)
|
|
13
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/analytics-validation",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.33.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": "9952ff967917227a1492d2056b388c0c1215343e"
|
|
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
|
},
|
|
@@ -251,6 +254,9 @@
|
|
|
251
254
|
{
|
|
252
255
|
"$ref": "off-ramp-sale-confirm#"
|
|
253
256
|
},
|
|
257
|
+
{
|
|
258
|
+
"$ref": "on-ramp-client-error#"
|
|
259
|
+
},
|
|
254
260
|
{
|
|
255
261
|
"$ref": "on-ramp-continue-tap#"
|
|
256
262
|
},
|
|
@@ -338,6 +344,12 @@
|
|
|
338
344
|
{
|
|
339
345
|
"$ref": "security-auto-lock-time-set#"
|
|
340
346
|
},
|
|
347
|
+
{
|
|
348
|
+
"$ref": "security-backup-created#"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"$ref": "security-backup-creation-initiated#"
|
|
352
|
+
},
|
|
341
353
|
{
|
|
342
354
|
"$ref": "security-backup-vault-view#"
|
|
343
355
|
},
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "SecurityBackupCreated"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"backup_type": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": ["passkeys", "seed-phrase"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"unevaluatedProperties": false
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"unevaluatedProperties": false,
|
|
26
|
+
"required": ["event", "properties"]
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "SecurityBackupCreationInitiated"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"backup_type": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": ["passkeys", "seed-phrase"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"unevaluatedProperties": false
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"unevaluatedProperties": false,
|
|
26
|
+
"required": ["event", "properties"]
|
|
27
|
+
}
|