@exodus/analytics-validation 1.19.2 → 1.21.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 +12 -0
- package/package.json +2 -2
- package/src/main.schemasafe.json +18 -0
- package/src/wallet/wallet-asset-advanced-options-view.schemasafe.json +49 -0
- package/src/wallet/wallet-asset-freeze.schemasafe.json +33 -0
- package/src/wallet/wallet-asset-freezing-view.schemasafe.json +27 -0
- package/src/wallet/wallet-asset-unfreeze.schemasafe.json +33 -0
- package/src/wallet/wallet-asset-withdraw-unfrozen.schemasafe.json +33 -0
- package/src/wallet/wallet-staking-unstake-claim.schemasafe.json +40 -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.21.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.20.0...@exodus/analytics-validation@1.21.0) (2023-10-26)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- WalletUnstakeClaim ([#4565](https://github.com/ExodusMovement/exodus-hydra/issues/4565)) ([a968f4d](https://github.com/ExodusMovement/exodus-hydra/commit/a968f4ddebd1af403e3daa275ffd1ff75a0f82c7))
|
|
11
|
+
|
|
12
|
+
## [1.20.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.19.2...@exodus/analytics-validation@1.20.0) (2023-09-27)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- **analytics-validation:** TRX Freezing ([#4232](https://github.com/ExodusMovement/exodus-hydra/issues/4232)) ([f2900d9](https://github.com/ExodusMovement/exodus-hydra/commit/f2900d9b5af184970bd25ae8ef368342bd83a585))
|
|
17
|
+
|
|
6
18
|
## [1.19.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.19.1...@exodus/analytics-validation@1.19.2) (2023-09-25)
|
|
7
19
|
|
|
8
20
|
### Feature
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/analytics-validation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.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": {
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"eslint": "^8.44.0",
|
|
33
33
|
"jest": "^29.1.2"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "defe7c3b8ba8ab237e546a578a878dd457d93d33"
|
|
36
36
|
}
|
package/src/main.schemasafe.json
CHANGED
|
@@ -330,6 +330,15 @@
|
|
|
330
330
|
{
|
|
331
331
|
"$ref": "telemetry-collection-decision#"
|
|
332
332
|
},
|
|
333
|
+
{
|
|
334
|
+
"$ref": "wallet-asset-advanced-options-view#"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"$ref": "wallet-asset-freeze#"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"$ref": "wallet-asset-freezing-view#"
|
|
341
|
+
},
|
|
333
342
|
{
|
|
334
343
|
"$ref": "wallet-asset-irreversible-modal-view#"
|
|
335
344
|
},
|
|
@@ -351,9 +360,15 @@
|
|
|
351
360
|
{
|
|
352
361
|
"$ref": "wallet-asset-send#"
|
|
353
362
|
},
|
|
363
|
+
{
|
|
364
|
+
"$ref": "wallet-asset-unfreeze#"
|
|
365
|
+
},
|
|
354
366
|
{
|
|
355
367
|
"$ref": "wallet-asset-view#"
|
|
356
368
|
},
|
|
369
|
+
{
|
|
370
|
+
"$ref": "wallet-asset-withdraw-unfrozen#"
|
|
371
|
+
},
|
|
357
372
|
{
|
|
358
373
|
"$ref": "wallet-connect-connection-added#"
|
|
359
374
|
},
|
|
@@ -390,6 +405,9 @@
|
|
|
390
405
|
{
|
|
391
406
|
"$ref": "wallet-staking-stake#"
|
|
392
407
|
},
|
|
408
|
+
{
|
|
409
|
+
"$ref": "wallet-staking-unstake-claim#"
|
|
410
|
+
},
|
|
393
411
|
{
|
|
394
412
|
"$ref": "wallet-staking-unstake#"
|
|
395
413
|
},
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletAssetAdvancedOptionsView"
|
|
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
|
+
"network": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"format": "any-string"
|
|
24
|
+
},
|
|
25
|
+
"available_balance": {
|
|
26
|
+
"type": "number"
|
|
27
|
+
},
|
|
28
|
+
"frozen_balance": {
|
|
29
|
+
"type": "number"
|
|
30
|
+
},
|
|
31
|
+
"available_energy": {
|
|
32
|
+
"type": "number"
|
|
33
|
+
},
|
|
34
|
+
"available_bandwidth": {
|
|
35
|
+
"type": "number"
|
|
36
|
+
},
|
|
37
|
+
"frozen_for_energy": {
|
|
38
|
+
"type": "number"
|
|
39
|
+
},
|
|
40
|
+
"frozen_for_bandwidth": {
|
|
41
|
+
"type": "number"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"unevaluatedProperties": false
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"unevaluatedProperties": false,
|
|
48
|
+
"required": ["event", "properties"]
|
|
49
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletAssetFreeze"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"amount": {
|
|
18
|
+
"type": "number"
|
|
19
|
+
},
|
|
20
|
+
"for_what": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"format": "any-string"
|
|
23
|
+
},
|
|
24
|
+
"success": {
|
|
25
|
+
"type": "boolean"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"unevaluatedProperties": false
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"unevaluatedProperties": false,
|
|
32
|
+
"required": ["event", "properties"]
|
|
33
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletAssetFreezingView"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"for_what": {
|
|
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,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletAssetUnfreeze"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"amount": {
|
|
18
|
+
"type": "number"
|
|
19
|
+
},
|
|
20
|
+
"for_what": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"format": "any-string"
|
|
23
|
+
},
|
|
24
|
+
"success": {
|
|
25
|
+
"type": "boolean"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"unevaluatedProperties": false
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"unevaluatedProperties": false,
|
|
32
|
+
"required": ["event", "properties"]
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletAssetWithdrawUnfrozen"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"amount": {
|
|
18
|
+
"type": "number"
|
|
19
|
+
},
|
|
20
|
+
"for_what": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"format": "any-string"
|
|
23
|
+
},
|
|
24
|
+
"success": {
|
|
25
|
+
"type": "boolean"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"unevaluatedProperties": false
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"unevaluatedProperties": false,
|
|
32
|
+
"required": ["event", "properties"]
|
|
33
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletStakingUnstakeClaim"
|
|
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
|
+
"asset_name": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"format": "any-string"
|
|
23
|
+
},
|
|
24
|
+
"network": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"format": "any-string"
|
|
27
|
+
},
|
|
28
|
+
"amount": {
|
|
29
|
+
"type": "number"
|
|
30
|
+
},
|
|
31
|
+
"amount_usd": {
|
|
32
|
+
"type": "number"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"unevaluatedProperties": false
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"unevaluatedProperties": false,
|
|
39
|
+
"required": ["event", "properties"]
|
|
40
|
+
}
|