@exodus/analytics-validation 2.3.0 → 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 +6 -0
- package/package.json +2 -2
- package/src/main.schemasafe.json +9 -0
- 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,12 @@
|
|
|
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
|
+
|
|
6
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)
|
|
7
13
|
|
|
8
14
|
### Features
|
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
|
@@ -437,6 +437,15 @@
|
|
|
437
437
|
},
|
|
438
438
|
{
|
|
439
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#"
|
|
440
449
|
}
|
|
441
450
|
]
|
|
442
451
|
}
|
|
@@ -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
|
+
}
|