@exodus/analytics-validation 1.18.1 → 1.19.1
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 +12 -0
- package/package.json +2 -2
- package/src/common-properties.schemasafe.json +10 -0
- package/src/main.schemasafe.json +12 -0
- package/src/settings/settings-notifications-prices-percentage-toggle.schemasafe.json +26 -0
- package/src/settings/settings-notifications-prices-toggle.schemasafe.json +26 -0
- package/src/web3/web3-browser-connection-deleted.schemasafe.json +27 -0
- package/src/web3/web3-browser-disconnect-all.schemasafe.json +30 -0
- package/src/web3/web3-browser-search-input.schema.json +36 -0
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.19.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.19.0...@exodus/analytics-validation@1.19.1) (2023-09-08)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **analytics:** add staked_assets, is_staking common props ([#3805](https://github.com/ExodusMovement/exodus-hydra/issues/3805)) ([cc1df7f](https://github.com/ExodusMovement/exodus-hydra/commit/cc1df7fd2ccc7c764444058b6aea3e4c342a1afa))
|
|
11
|
+
|
|
12
|
+
## [1.19.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.18.1...@exodus/analytics-validation@1.19.0) (2023-09-08)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- **analytics-validation:** add SettingsNotifications{Prices,PricesPercentage}Toggle ([#3919](https://github.com/ExodusMovement/exodus-hydra/issues/3919)) ([56e8aed](https://github.com/ExodusMovement/exodus-hydra/commit/56e8aed059c9fcc68e64b97d297406012f2e07bf))
|
|
17
|
+
|
|
6
18
|
## [1.18.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.18.0...@exodus/analytics-validation@1.18.1) (2023-08-02)
|
|
7
19
|
|
|
8
20
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/analytics-validation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.1",
|
|
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": {
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"eslint": "^8.44.0",
|
|
33
33
|
"jest": "^29.1.2"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "e5c0a51935b7b03b2ccbf2290522f98dd3890f5e"
|
|
36
36
|
}
|
|
@@ -61,6 +61,16 @@
|
|
|
61
61
|
"asset_staked_last_90": {
|
|
62
62
|
"type": "boolean"
|
|
63
63
|
},
|
|
64
|
+
"is_staking": {
|
|
65
|
+
"type": "boolean"
|
|
66
|
+
},
|
|
67
|
+
"staked_assets": {
|
|
68
|
+
"type": "array",
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"format": "any-string"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
64
74
|
"device_manufacturer": {
|
|
65
75
|
"anyOf": [{ "const": "Apple" }]
|
|
66
76
|
},
|
package/src/main.schemasafe.json
CHANGED
|
@@ -288,6 +288,12 @@
|
|
|
288
288
|
{
|
|
289
289
|
"$ref": "settings-notifications-allow-toggle#"
|
|
290
290
|
},
|
|
291
|
+
{
|
|
292
|
+
"$ref": "settings-notifications-prices-percentage-toggle#"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"$ref": "settings-notifications-prices-toggle#"
|
|
296
|
+
},
|
|
291
297
|
{
|
|
292
298
|
"$ref": "settings-notifications-special-offers-toggle#"
|
|
293
299
|
},
|
|
@@ -387,6 +393,12 @@
|
|
|
387
393
|
{
|
|
388
394
|
"$ref": "wallet-transaction-detail-view#"
|
|
389
395
|
},
|
|
396
|
+
{
|
|
397
|
+
"$ref": "web3-browser-connection-deleted#"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"$ref": "web3-browser-disconnect-all#"
|
|
401
|
+
},
|
|
390
402
|
{
|
|
391
403
|
"$ref": "web3-browser-fiat-on-ramp-ctatap#"
|
|
392
404
|
},
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "SettingsNotificationsPricesPercentageToggle"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"percentage": {
|
|
18
|
+
"enum": ["5", "10"]
|
|
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": "SettingsNotificationsPricesToggle"
|
|
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,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "Web3BrowserConnectionDeleted"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": ["dapp_domain"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"dapp_domain": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "uri-template"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"unevaluatedProperties": false
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"unevaluatedProperties": false,
|
|
26
|
+
"required": ["event", "properties"]
|
|
27
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "Web3BrowserDisconnectAll"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": ["dapps_domain"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"dapps_domain": {
|
|
18
|
+
"type": "array",
|
|
19
|
+
"items": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"format": "uri-template"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"unevaluatedProperties": false
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"unevaluatedProperties": false,
|
|
29
|
+
"required": ["event", "properties"]
|
|
30
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "Web3BrowserSearchInput"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": ["input", "is_url", "matches_found"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"input": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "any-string"
|
|
20
|
+
},
|
|
21
|
+
"is_url": {
|
|
22
|
+
"type": "boolean"
|
|
23
|
+
},
|
|
24
|
+
"matches_found": {
|
|
25
|
+
"type": "boolean"
|
|
26
|
+
},
|
|
27
|
+
"is_final": {
|
|
28
|
+
"type": "boolean"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"unevaluatedProperties": false
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"unevaluatedProperties": false,
|
|
35
|
+
"required": ["event", "properties"]
|
|
36
|
+
}
|