@exodus/analytics-validation 1.15.0 → 1.17.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/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 +21 -0
- package/src/profile/profile-features-order-change.schemasafe.json +32 -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,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.17.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.16.0...@exodus/analytics-validation@1.17.0) (2023-07-26)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- analytics profile-features-order-change ([#2928](https://github.com/ExodusMovement/exodus-hydra/issues/2928)) ([c3f4f1a](https://github.com/ExodusMovement/exodus-hydra/commit/c3f4f1a4826b19664960ba533fc2f71320fe67a1))
|
|
11
|
+
|
|
12
|
+
## [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)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- **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))
|
|
17
|
+
|
|
6
18
|
## [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
19
|
|
|
8
20
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/analytics-validation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.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": "9e001b79848e67e7c1f3b5ba70ac3d0f28dfe4e2"
|
|
37
37
|
}
|
package/src/main.schemasafe.json
CHANGED
|
@@ -219,6 +219,9 @@
|
|
|
219
219
|
{
|
|
220
220
|
"$ref": "onboarding-page-view#"
|
|
221
221
|
},
|
|
222
|
+
{
|
|
223
|
+
"$ref": "profile-features-order-change#"
|
|
224
|
+
},
|
|
222
225
|
{
|
|
223
226
|
"$ref": "referral-code-input#"
|
|
224
227
|
},
|
|
@@ -324,12 +327,21 @@
|
|
|
324
327
|
{
|
|
325
328
|
"$ref": "wallet-asset-network-manual-refresh#"
|
|
326
329
|
},
|
|
330
|
+
{
|
|
331
|
+
"$ref": "wallet-asset-receive-view#"
|
|
332
|
+
},
|
|
327
333
|
{
|
|
328
334
|
"$ref": "wallet-asset-send-no-gas#"
|
|
329
335
|
},
|
|
336
|
+
{
|
|
337
|
+
"$ref": "wallet-asset-send-view#"
|
|
338
|
+
},
|
|
330
339
|
{
|
|
331
340
|
"$ref": "wallet-asset-send#"
|
|
332
341
|
},
|
|
342
|
+
{
|
|
343
|
+
"$ref": "wallet-asset-view#"
|
|
344
|
+
},
|
|
333
345
|
{
|
|
334
346
|
"$ref": "wallet-connect-connection-added#"
|
|
335
347
|
},
|
|
@@ -348,6 +360,12 @@
|
|
|
348
360
|
{
|
|
349
361
|
"$ref": "wallet-connect-fiat-on-ramp-cta-tap#"
|
|
350
362
|
},
|
|
363
|
+
{
|
|
364
|
+
"$ref": "wallet-custom-token-add#"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"$ref": "wallet-exchange-detail-view#"
|
|
368
|
+
},
|
|
351
369
|
{
|
|
352
370
|
"$ref": "wallet-staking-claim#"
|
|
353
371
|
},
|
|
@@ -363,6 +381,9 @@
|
|
|
363
381
|
{
|
|
364
382
|
"$ref": "wallet-staking-view#"
|
|
365
383
|
},
|
|
384
|
+
{
|
|
385
|
+
"$ref": "wallet-transaction-detail-view#"
|
|
386
|
+
},
|
|
366
387
|
{
|
|
367
388
|
"$ref": "web3-browser-fiat-on-ramp-ctatap#"
|
|
368
389
|
},
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "ProfileFeaturesOrderChange"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": ["order_from", "order_to", "feature_name"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"order_from": {
|
|
18
|
+
"type": "number"
|
|
19
|
+
},
|
|
20
|
+
"order_to": {
|
|
21
|
+
"type": "number"
|
|
22
|
+
},
|
|
23
|
+
"feature_name": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"unevaluatedProperties": false
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"unevaluatedProperties": false,
|
|
31
|
+
"required": ["event", "properties"]
|
|
32
|
+
}
|
|
@@ -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
|
+
}
|