@exodus/analytics-validation 1.13.0 → 1.14.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 +8 -0
- package/package.json +2 -2
- package/src/fiat/off-ramp-provider-status-change.schemasafe.json +4 -0
- package/src/fiat/on-ramp-provider-status-change.schemasafe.json +4 -0
- package/src/main.schemasafe.json +9 -0
- package/src/notifications/notification-receive.schemasafe.json +59 -0
- package/src/support/support-feedback-tap.schemasafe.json +26 -0
- package/src/support/support-transaction-history-generate-csv-tap.schemasafe.json +26 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [1.14.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.13.0...@exodus/analytics-validation@1.14.0) (2023-07-11)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- add NotificationReceive event validation ([#2502](https://github.com/ExodusMovement/exodus-hydra/issues/2502)) ([f8d2c2e](https://github.com/ExodusMovement/exodus-hydra/commit/f8d2c2e8de7a1e3a869639dea739eb450c174baf))
|
|
11
|
+
- add order_id to fiat orders events ([#2290](https://github.com/ExodusMovement/exodus-hydra/issues/2290)) ([95241cf](https://github.com/ExodusMovement/exodus-hydra/commit/95241cf0565985b16b91d827a97fc99cdcebe233))
|
|
12
|
+
- add support telemetry validation schemas ([#2153](https://github.com/ExodusMovement/exodus-hydra/issues/2153)) ([b204385](https://github.com/ExodusMovement/exodus-hydra/commit/b204385ce1578c76aeeebd99c0cf96a0b63d75ec))
|
|
13
|
+
|
|
6
14
|
## [1.13.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.11.0...@exodus/analytics-validation@1.13.0) (2023-07-07)
|
|
7
15
|
|
|
8
16
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/analytics-validation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.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": {
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"eslint": "^8.44.0",
|
|
34
34
|
"jest": "^29.1.2"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "f723814f6af21453c9b2503979a862b2c13983c0"
|
|
37
37
|
}
|
package/src/main.schemasafe.json
CHANGED
|
@@ -171,6 +171,9 @@
|
|
|
171
171
|
{
|
|
172
172
|
"$ref": "notification-open#"
|
|
173
173
|
},
|
|
174
|
+
{
|
|
175
|
+
"$ref": "notification-receive#"
|
|
176
|
+
},
|
|
174
177
|
{
|
|
175
178
|
"$ref": "notifications-system-permission-modal-enable-tap#"
|
|
176
179
|
},
|
|
@@ -300,6 +303,12 @@
|
|
|
300
303
|
{
|
|
301
304
|
"$ref": "solana-pay-transaction-confirmation-view#"
|
|
302
305
|
},
|
|
306
|
+
{
|
|
307
|
+
"$ref": "support-feedback-tap#"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"$ref": "support-transaction-history-generate-csv-tap#"
|
|
311
|
+
},
|
|
303
312
|
{
|
|
304
313
|
"$ref": "telemetry-collection-decision#"
|
|
305
314
|
},
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "NotificationReceive"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"notification_id": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "any-string"
|
|
20
|
+
},
|
|
21
|
+
"group": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"format": "any-string"
|
|
24
|
+
},
|
|
25
|
+
"push_or_in_app": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"format": "any-string"
|
|
28
|
+
},
|
|
29
|
+
"cta": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"format": "any-string"
|
|
32
|
+
},
|
|
33
|
+
"title": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"format": "any-string"
|
|
36
|
+
},
|
|
37
|
+
"country": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"format": "any-string"
|
|
40
|
+
},
|
|
41
|
+
"exodus_activation_time": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"format": "date-time"
|
|
44
|
+
},
|
|
45
|
+
"exodus_activation_time_user": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"format": "date-time"
|
|
48
|
+
},
|
|
49
|
+
"user_time": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"format": "date-time"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"unevaluatedProperties": false
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"unevaluatedProperties": false,
|
|
58
|
+
"required": ["event", "properties"]
|
|
59
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "SupportFeedbackTap"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"feedback": {
|
|
18
|
+
"type": "number"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"unevaluatedProperties": false
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"unevaluatedProperties": false,
|
|
25
|
+
"required": ["event", "properties"]
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "SupportTransactionHistoryGenerateCSVTap"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"success": {
|
|
18
|
+
"type": "boolean"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"unevaluatedProperties": false
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"unevaluatedProperties": false,
|
|
25
|
+
"required": ["event", "properties"]
|
|
26
|
+
}
|