@exodus/analytics-validation 1.15.0 → 1.16.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 +6 -0
- package/package.json +2 -2
- package/src/dapps/d-app-sign-transaction-no-gas.schemasafe.json +3 -0
- package/src/exchange/exchange-no-gas.schemasafe.json +6 -0
- package/src/fiat/off-ramp-no-gas.schemasafe.json +6 -0
- package/src/main.schemasafe.json +18 -0
- package/src/wallet/wallet-asset-manager-toggle.schemasafe.json +6 -0
- package/src/wallet/wallet-asset-receive-view.schemasafe.json +29 -0
- package/src/wallet/wallet-asset-send-no-gas.schemasafe.json +6 -0
- package/src/wallet/wallet-asset-send-view.schemasafe.json +29 -0
- package/src/wallet/wallet-asset-send.schemasafe.json +12 -0
- package/src/wallet/wallet-asset-view.schemasafe.json +29 -0
- package/src/wallet/wallet-custom-token-add.schemasafe.json +29 -0
- package/src/wallet/wallet-exchange-detail-view.schemasafe.json +35 -0
- package/src/wallet/wallet-staking-claim.schemasafe.json +18 -0
- package/src/wallet/wallet-staking-no-gas.schemasafe.json +6 -0
- package/src/wallet/wallet-staking-stake.schemasafe.json +12 -0
- package/src/wallet/wallet-staking-unstake.schemasafe.json +12 -0
- package/src/wallet/wallet-staking-view.schemasafe.json +6 -0
- package/src/wallet/wallet-transaction-detail-view.schemasafe.json +29 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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.16.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.15.0...@exodus/analytics-validation@1.16.0) (2023-07-20)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **telemetry:** validate addition of asset dimensions on wallets telemetry ([#2401](https://github.com/ExodusMovement/exodus-hydra/issues/2401)) ([65ecf0f](https://github.com/ExodusMovement/exodus-hydra/commit/65ecf0fac231a7a5e62a5499eda88f6b4f1dccb2))
|
|
11
|
+
|
|
6
12
|
## [1.15.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.14.0...@exodus/analytics-validation@1.15.0) (2023-07-18)
|
|
7
13
|
|
|
8
14
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/analytics-validation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.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": "39bd368c5349c27c8cb2b528867115488f184b1a"
|
|
37
37
|
}
|
package/src/main.schemasafe.json
CHANGED
|
@@ -324,12 +324,21 @@
|
|
|
324
324
|
{
|
|
325
325
|
"$ref": "wallet-asset-network-manual-refresh#"
|
|
326
326
|
},
|
|
327
|
+
{
|
|
328
|
+
"$ref": "wallet-asset-receive-view#"
|
|
329
|
+
},
|
|
327
330
|
{
|
|
328
331
|
"$ref": "wallet-asset-send-no-gas#"
|
|
329
332
|
},
|
|
333
|
+
{
|
|
334
|
+
"$ref": "wallet-asset-send-view#"
|
|
335
|
+
},
|
|
330
336
|
{
|
|
331
337
|
"$ref": "wallet-asset-send#"
|
|
332
338
|
},
|
|
339
|
+
{
|
|
340
|
+
"$ref": "wallet-asset-view#"
|
|
341
|
+
},
|
|
333
342
|
{
|
|
334
343
|
"$ref": "wallet-connect-connection-added#"
|
|
335
344
|
},
|
|
@@ -348,6 +357,12 @@
|
|
|
348
357
|
{
|
|
349
358
|
"$ref": "wallet-connect-fiat-on-ramp-cta-tap#"
|
|
350
359
|
},
|
|
360
|
+
{
|
|
361
|
+
"$ref": "wallet-custom-token-add#"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"$ref": "wallet-exchange-detail-view#"
|
|
365
|
+
},
|
|
351
366
|
{
|
|
352
367
|
"$ref": "wallet-staking-claim#"
|
|
353
368
|
},
|
|
@@ -363,6 +378,9 @@
|
|
|
363
378
|
{
|
|
364
379
|
"$ref": "wallet-staking-view#"
|
|
365
380
|
},
|
|
381
|
+
{
|
|
382
|
+
"$ref": "wallet-transaction-detail-view#"
|
|
383
|
+
},
|
|
366
384
|
{
|
|
367
385
|
"$ref": "web3-browser-fiat-on-ramp-ctatap#"
|
|
368
386
|
},
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletAssetReceiveView"
|
|
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
|
+
},
|
|
20
|
+
"network": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"unevaluatedProperties": false
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"unevaluatedProperties": false,
|
|
28
|
+
"required": ["event", "properties"]
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletAssetSendView"
|
|
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
|
+
},
|
|
20
|
+
"network": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"unevaluatedProperties": false
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"unevaluatedProperties": false,
|
|
28
|
+
"required": ["event", "properties"]
|
|
29
|
+
}
|
|
@@ -16,6 +16,18 @@
|
|
|
16
16
|
"properties": {
|
|
17
17
|
"success": {
|
|
18
18
|
"type": "boolean"
|
|
19
|
+
},
|
|
20
|
+
"amount": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"amount_usd": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"asset_name": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"network": {
|
|
30
|
+
"type": "string"
|
|
19
31
|
}
|
|
20
32
|
},
|
|
21
33
|
"unevaluatedProperties": false
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletAssetView"
|
|
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
|
+
},
|
|
20
|
+
"network": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"unevaluatedProperties": false
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"unevaluatedProperties": false,
|
|
28
|
+
"required": ["event", "properties"]
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletCustomTokenAdd"
|
|
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
|
+
},
|
|
20
|
+
"network": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"unevaluatedProperties": false
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"unevaluatedProperties": false,
|
|
28
|
+
"required": ["event", "properties"]
|
|
29
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletExchangeDetailView"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"asset_name_from": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"network_from": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"asset_name_to": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"network_to": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"unevaluatedProperties": false
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"unevaluatedProperties": false,
|
|
34
|
+
"required": ["event", "properties"]
|
|
35
|
+
}
|
|
@@ -16,6 +16,24 @@
|
|
|
16
16
|
"properties": {
|
|
17
17
|
"success": {
|
|
18
18
|
"type": "boolean"
|
|
19
|
+
},
|
|
20
|
+
"amount": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"amount_usd": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"staked_amount": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"staked_amount_usd": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"asset_name": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"network": {
|
|
36
|
+
"type": "string"
|
|
19
37
|
}
|
|
20
38
|
},
|
|
21
39
|
"unevaluatedProperties": false
|
|
@@ -16,6 +16,18 @@
|
|
|
16
16
|
"properties": {
|
|
17
17
|
"success": {
|
|
18
18
|
"type": "boolean"
|
|
19
|
+
},
|
|
20
|
+
"amount": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"amount_usd": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"asset_name": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"network": {
|
|
30
|
+
"type": "string"
|
|
19
31
|
}
|
|
20
32
|
},
|
|
21
33
|
"unevaluatedProperties": false
|
|
@@ -16,6 +16,18 @@
|
|
|
16
16
|
"properties": {
|
|
17
17
|
"success": {
|
|
18
18
|
"type": "boolean"
|
|
19
|
+
},
|
|
20
|
+
"amount": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"amount_usd": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"asset_name": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"network": {
|
|
30
|
+
"type": "string"
|
|
19
31
|
}
|
|
20
32
|
},
|
|
21
33
|
"unevaluatedProperties": false
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletTransactionDetailView"
|
|
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
|
+
},
|
|
20
|
+
"network": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"unevaluatedProperties": false
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"unevaluatedProperties": false,
|
|
28
|
+
"required": ["event", "properties"]
|
|
29
|
+
}
|