@exodus/analytics-validation 2.20.0 → 2.20.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 +4 -0
- package/package.json +2 -2
- package/src/main.schemasafe.json +9 -0
- package/src/wallet/modal-migration-warning-view.schemasafe.json +27 -0
- package/src/wallet/wallet-asset-migrate.schemasafe.json +40 -0
- package/src/wallet/wallet-asset-migration-modal-view.schemasafe.json +31 -0
- package/src/wallet/wallet-staking-stake.schemasafe.json +2 -2
- package/src/wallet/wallet-staking-unstake.schemasafe.json +2 -2
- package/src/wallet/wallet-staking-view.schemasafe.json +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.20.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.20.0...@exodus/analytics-validation@2.20.1) (2024-05-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @exodus/analytics-validation
|
|
9
|
+
|
|
6
10
|
## [2.20.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.19.1...@exodus/analytics-validation@2.20.0) (2024-04-30)
|
|
7
11
|
|
|
8
12
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/analytics-validation",
|
|
3
|
-
"version": "2.20.
|
|
3
|
+
"version": "2.20.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": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "9da58ce1f6998646840bb3aef9da5f674521e9fa"
|
|
44
44
|
}
|
package/src/main.schemasafe.json
CHANGED
|
@@ -176,6 +176,9 @@
|
|
|
176
176
|
{
|
|
177
177
|
"$ref": "modal-first-fund-view#"
|
|
178
178
|
},
|
|
179
|
+
{
|
|
180
|
+
"$ref": "modal-migration-warning-view#"
|
|
181
|
+
},
|
|
179
182
|
{
|
|
180
183
|
"$ref": "network-easter-egg-activate#"
|
|
181
184
|
},
|
|
@@ -401,6 +404,12 @@
|
|
|
401
404
|
{
|
|
402
405
|
"$ref": "wallet-asset-manager-toggle#"
|
|
403
406
|
},
|
|
407
|
+
{
|
|
408
|
+
"$ref": "wallet-asset-migrate#"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"$ref": "wallet-asset-migration-modal-view#"
|
|
412
|
+
},
|
|
404
413
|
{
|
|
405
414
|
"$ref": "wallet-asset-network-manual-refresh#"
|
|
406
415
|
},
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "ModalMigrationWarningView"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": ["network"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"network": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "any-string"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"unevaluatedProperties": false
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"unevaluatedProperties": false,
|
|
26
|
+
"required": ["event", "properties"]
|
|
27
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletAssetMigrate"
|
|
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
|
+
"amount": {
|
|
22
|
+
"type": "number"
|
|
23
|
+
},
|
|
24
|
+
"amount_usd": {
|
|
25
|
+
"type": "number"
|
|
26
|
+
},
|
|
27
|
+
"success": {
|
|
28
|
+
"type": "boolean"
|
|
29
|
+
},
|
|
30
|
+
"network": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"format": "any-string"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"unevaluatedProperties": false
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"unevaluatedProperties": false,
|
|
39
|
+
"required": ["event", "properties"]
|
|
40
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletAssetMigrationModalView"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": ["asset_name", "network"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"asset_name": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"format": "any-string"
|
|
20
|
+
},
|
|
21
|
+
"network": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"format": "any-string"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"unevaluatedProperties": false
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"unevaluatedProperties": false,
|
|
30
|
+
"required": ["event", "properties"]
|
|
31
|
+
}
|