@exodus/analytics-validation 1.10.0 → 1.12.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
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.12.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.11.0...@exodus/analytics-validation@1.12.0) (2023-07-05)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- add WalletAssetIrreversibleModalView event validation ([#2134](https://github.com/ExodusMovement/exodus-hydra/issues/2134)) ([0a87b14](https://github.com/ExodusMovement/exodus-hydra/commit/0a87b1497600999e831248a12216233ad56c44fe))
|
|
11
|
+
|
|
12
|
+
## [1.11.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.10.0...@exodus/analytics-validation@1.11.0) (2023-06-23)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- add schema for the SettingsNotificationsActivityToggle event ([#2100](https://github.com/ExodusMovement/exodus-hydra/issues/2100)) ([6b3ca21](https://github.com/ExodusMovement/exodus-hydra/commit/6b3ca21c263c049d4d77874b63aab9b4dd72380c))
|
|
17
|
+
|
|
6
18
|
## [1.10.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.9.0...@exodus/analytics-validation@1.10.0) (2023-06-22)
|
|
7
19
|
|
|
8
20
|
### Features
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/analytics-validation",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "
|
|
5
|
-
"author": "Exodus Movement Inc",
|
|
3
|
+
"version": "1.12.0",
|
|
4
|
+
"description": "JSON schemas for analytics events, to prevent sensitive data from being sent up to the infamous cloud",
|
|
5
|
+
"author": "Exodus Movement Inc.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/ExodusMovement/exodus-hydra.git"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"main": "./index.js",
|
|
16
16
|
"files": [
|
|
17
17
|
"src",
|
|
18
|
-
"!**/__tests__",
|
|
18
|
+
"!**/__tests__/**",
|
|
19
19
|
"schemasafe.config.js",
|
|
20
20
|
"index.js",
|
|
21
21
|
"README.md",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"eslint": "^8.33.0",
|
|
34
34
|
"jest": "^29.1.2"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "171cca6a7b6bf4fa44da0fbb916d050471299b78"
|
|
37
37
|
}
|
package/src/main.schemasafe.json
CHANGED
|
@@ -273,6 +273,9 @@
|
|
|
273
273
|
{
|
|
274
274
|
"$ref": "settings-notifications-activity-product-toggle#"
|
|
275
275
|
},
|
|
276
|
+
{
|
|
277
|
+
"$ref": "settings-notifications-activity-toggle#"
|
|
278
|
+
},
|
|
276
279
|
{
|
|
277
280
|
"$ref": "settings-notifications-allow-toggle#"
|
|
278
281
|
},
|
|
@@ -300,6 +303,9 @@
|
|
|
300
303
|
{
|
|
301
304
|
"$ref": "telemetry-collection-decision#"
|
|
302
305
|
},
|
|
306
|
+
{
|
|
307
|
+
"$ref": "wallet-asset-irreversible-modal-view#"
|
|
308
|
+
},
|
|
303
309
|
{
|
|
304
310
|
"$ref": "wallet-asset-manager-toggle#"
|
|
305
311
|
},
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "SettingsNotificationsActivityToggle"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"toggled_on": {
|
|
18
|
+
"type": "boolean"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"unevaluatedProperties": false
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"unevaluatedProperties": false,
|
|
25
|
+
"required": ["event", "properties"]
|
|
26
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletAssetIrreversibleModalView"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": ["asset_name", "amount", "amount_usd", "network"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"asset_name": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "any-string"
|
|
20
|
+
},
|
|
21
|
+
"amount": {
|
|
22
|
+
"type": "number"
|
|
23
|
+
},
|
|
24
|
+
"amount_usd": {
|
|
25
|
+
"type": "number"
|
|
26
|
+
},
|
|
27
|
+
"network": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": "any-string"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"unevaluatedProperties": false
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"unevaluatedProperties": false,
|
|
36
|
+
"required": ["event", "properties"]
|
|
37
|
+
}
|