@exodus/analytics-validation 2.2.1 → 2.4.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/main.schemasafe.json +12 -0
- package/src/wallet/wallet-asset-price-balance-toggle.schemasafe.json +35 -0
- package/src/wallet/wallet-asset-view.schemasafe.json +8 -2
- package/src/xopay/xopay-verification-details-confirmation-view.schemasafe.json +27 -0
- package/src/xopay/xopay-verification-edit-details-save.schemasafe.json +35 -0
- package/src/xopay/xopay-verification-mobile-challenge-view.schemasafe.json +27 -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.4.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.3.0...@exodus/analytics-validation@2.4.0) (2023-11-30)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **analytics validation:** add XO Pay json schema validation events ([#4920](https://github.com/ExodusMovement/exodus-hydra/issues/4920)) ([22947e7](https://github.com/ExodusMovement/exodus-hydra/commit/22947e7684e195fedef38b48550b91d9cda5e8fb))
|
|
11
|
+
|
|
12
|
+
## [2.3.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.2.1...@exodus/analytics-validation@2.3.0) (2023-11-29)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- add event for price-balance selections ([#4833](https://github.com/ExodusMovement/exodus-hydra/issues/4833)) ([b87290c](https://github.com/ExodusMovement/exodus-hydra/commit/b87290ccec7881f3a5183caaba03213644523a5b))
|
|
17
|
+
- track price balance asset chart ([#4917](https://github.com/ExodusMovement/exodus-hydra/issues/4917)) ([67c1708](https://github.com/ExodusMovement/exodus-hydra/commit/67c1708499def8c5805acae3dc2742724149cbd8))
|
|
18
|
+
|
|
6
19
|
## [2.2.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.2.0...@exodus/analytics-validation@2.2.1) (2023-11-23)
|
|
7
20
|
|
|
8
21
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/analytics-validation",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.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": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "3be08cef49746e0c32b0cea6976eb477e27d2dcc"
|
|
45
45
|
}
|
package/src/main.schemasafe.json
CHANGED
|
@@ -351,6 +351,9 @@
|
|
|
351
351
|
{
|
|
352
352
|
"$ref": "wallet-asset-network-manual-refresh#"
|
|
353
353
|
},
|
|
354
|
+
{
|
|
355
|
+
"$ref": "wallet-asset-price-balance-toggle#"
|
|
356
|
+
},
|
|
354
357
|
{
|
|
355
358
|
"$ref": "wallet-asset-receive-view#"
|
|
356
359
|
},
|
|
@@ -434,6 +437,15 @@
|
|
|
434
437
|
},
|
|
435
438
|
{
|
|
436
439
|
"$ref": "write-phrase-screen-exit#"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"$ref": "xopay-verification-details-confirmation-view#"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"$ref": "xopay-verification-edit-details-save#"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"$ref": "xopay-verification-mobile-challenge-view#"
|
|
437
449
|
}
|
|
438
450
|
]
|
|
439
451
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletAssetPriceBalanceToggle"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"asset_name": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "any-string"
|
|
20
|
+
},
|
|
21
|
+
"network": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"format": "any-string"
|
|
24
|
+
},
|
|
25
|
+
"price_or_balance": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": ["price", "balance"]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"unevaluatedProperties": false
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"unevaluatedProperties": false,
|
|
34
|
+
"required": ["event", "properties"]
|
|
35
|
+
}
|
|
@@ -15,10 +15,16 @@
|
|
|
15
15
|
"required": [],
|
|
16
16
|
"properties": {
|
|
17
17
|
"asset_name": {
|
|
18
|
-
"type": "string"
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "any-string"
|
|
19
20
|
},
|
|
20
21
|
"network": {
|
|
21
|
-
"type": "string"
|
|
22
|
+
"type": "string",
|
|
23
|
+
"format": "any-string"
|
|
24
|
+
},
|
|
25
|
+
"price_or_balance": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": ["price", "balance"]
|
|
22
28
|
}
|
|
23
29
|
},
|
|
24
30
|
"unevaluatedProperties": false
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "XopayVerificationDetailsConfirmationView"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"challenge_method": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": ["magiclink", "instantlink"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"unevaluatedProperties": false
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"unevaluatedProperties": false,
|
|
26
|
+
"required": ["event", "properties"]
|
|
27
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "XopayVerificationEditDetailsSave"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"name_modified": {
|
|
18
|
+
"type": "boolean"
|
|
19
|
+
},
|
|
20
|
+
"dob_modified": {
|
|
21
|
+
"type": "boolean"
|
|
22
|
+
},
|
|
23
|
+
"address_modified": {
|
|
24
|
+
"type": "boolean"
|
|
25
|
+
},
|
|
26
|
+
"ssn_modified": {
|
|
27
|
+
"type": "boolean"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"unevaluatedProperties": false
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"unevaluatedProperties": false,
|
|
34
|
+
"required": ["event", "properties"]
|
|
35
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "XopayVerificationMobileChallengeView"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"challenge_method": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": ["magiclink", "instantlink"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"unevaluatedProperties": false
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"unevaluatedProperties": false,
|
|
26
|
+
"required": ["event", "properties"]
|
|
27
|
+
}
|