@exodus/analytics-validation 2.25.0 → 2.27.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/common-properties.schemasafe.json +5 -0
- package/src/ledger/connect-ledger-account-connected-view.schemasafe.json +28 -0
- package/src/ledger/connect-ledger-connecting-account-view.schemasafe.json +28 -0
- package/src/ledger/connect-ledger-connection-error-view.schemasafe.json +28 -0
- package/src/ledger/connect-ledger-disconnect.schemasafe.json +28 -0
- package/src/ledger/connect-ledger-stop-connecting.schemasafe.json +28 -0
- package/src/main.schemasafe.json +30 -0
- package/src/onboarding/onboarding-connect-ledger-connect-account-view.schemasafe.json +28 -0
- package/src/onboarding/onboarding-connect-ledger-connection-error-view.schemasafe.json +36 -0
- package/src/wallet/wallet-asset-send-hardware-wallet-view.schemasafe.json +33 -0
- package/src/web3/web3-browser-hardware-wallet-enable-blind-signing-view.schemasafe.json +33 -0
- package/src/web3/web3-browser-hardware-wallet-view.schemasafe.json +33 -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
|
+
## [2.27.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.26.0...@exodus/analytics-validation@2.27.0) (2024-07-17)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- add custom schemes for ledger telemetry ([#7885](https://github.com/ExodusMovement/exodus-hydra/issues/7885)) ([4993296](https://github.com/ExodusMovement/exodus-hydra/commit/49932969f307240b4dae571a1cc5d6332f53579f))
|
|
11
|
+
|
|
12
|
+
## [2.26.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.25.0...@exodus/analytics-validation@2.26.0) (2024-07-15)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- add `account_source` common property ([#7781](https://github.com/ExodusMovement/exodus-hydra/issues/7781)) ([6d8ea76](https://github.com/ExodusMovement/exodus-hydra/commit/6d8ea76b89f04ca6593920e250e911aadd7a371b))
|
|
17
|
+
|
|
6
18
|
## [2.25.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.24.0...@exodus/analytics-validation@2.25.0) (2024-07-12)
|
|
7
19
|
|
|
8
20
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/analytics-validation",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.27.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": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "275b69410814da37718ff4f8201e189de30deaa1"
|
|
44
44
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "ConnectLedgerAccountConnectedView"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"network": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"maxLength": 30,
|
|
20
|
+
"$comment": "Allows tracking the network associated with the user's account"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"unevaluatedProperties": false
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"unevaluatedProperties": false,
|
|
27
|
+
"required": ["event", "properties"]
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "ConnectLedgerConnectingAccountView"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"network": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"maxLength": 30,
|
|
20
|
+
"$comment": "Allows tracking the network associated with the user's account"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"unevaluatedProperties": false
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"unevaluatedProperties": false,
|
|
27
|
+
"required": ["event", "properties"]
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "ConnectLedgerConnectionErrorView"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"network": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"maxLength": 30,
|
|
20
|
+
"$comment": "Allows tracking the network associated with the user's account"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"unevaluatedProperties": false
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"unevaluatedProperties": false,
|
|
27
|
+
"required": ["event", "properties"]
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "ConnectLedgerDisconnect"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"network": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"maxLength": 30,
|
|
20
|
+
"$comment": "Allows tracking the network associated with the user's account"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"unevaluatedProperties": false
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"unevaluatedProperties": false,
|
|
27
|
+
"required": ["event", "properties"]
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "ConnectLedgerStopConnecting"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"network": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"maxLength": 30,
|
|
20
|
+
"$comment": "Allows tracking the network associated with the user's account"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"unevaluatedProperties": false
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"unevaluatedProperties": false,
|
|
27
|
+
"required": ["event", "properties"]
|
|
28
|
+
}
|
package/src/main.schemasafe.json
CHANGED
|
@@ -35,6 +35,21 @@
|
|
|
35
35
|
{
|
|
36
36
|
"$ref": "client-migration-run#"
|
|
37
37
|
},
|
|
38
|
+
{
|
|
39
|
+
"$ref": "connect-ledger-account-connected-view#"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"$ref": "connect-ledger-connecting-account-view#"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"$ref": "connect-ledger-connection-error-view#"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"$ref": "connect-ledger-disconnect#"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"$ref": "connect-ledger-stop-connecting#"
|
|
52
|
+
},
|
|
38
53
|
{
|
|
39
54
|
"$ref": "d-app-auto-approve-set#"
|
|
40
55
|
},
|
|
@@ -239,6 +254,12 @@
|
|
|
239
254
|
{
|
|
240
255
|
"$ref": "on-ramp-purchase-confirm#"
|
|
241
256
|
},
|
|
257
|
+
{
|
|
258
|
+
"$ref": "onboarding-connect-ledger-connect-account-view#"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"$ref": "onboarding-connect-ledger-connection-error-view#"
|
|
262
|
+
},
|
|
242
263
|
{
|
|
243
264
|
"$ref": "onboarding-existing-wallet-tap#"
|
|
244
265
|
},
|
|
@@ -434,6 +455,9 @@
|
|
|
434
455
|
{
|
|
435
456
|
"$ref": "wallet-asset-send-advanced-options-view#"
|
|
436
457
|
},
|
|
458
|
+
{
|
|
459
|
+
"$ref": "wallet-asset-send-hardware-wallet-view#"
|
|
460
|
+
},
|
|
437
461
|
{
|
|
438
462
|
"$ref": "wallet-asset-send-no-gas#"
|
|
439
463
|
},
|
|
@@ -518,6 +542,12 @@
|
|
|
518
542
|
{
|
|
519
543
|
"$ref": "web3-browser-fiat-on-ramp-ctatap#"
|
|
520
544
|
},
|
|
545
|
+
{
|
|
546
|
+
"$ref": "web3-browser-hardware-wallet-enable-blind-signing-view#"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"$ref": "web3-browser-hardware-wallet-view#"
|
|
550
|
+
},
|
|
521
551
|
{
|
|
522
552
|
"$ref": "web3-browser-launch-dapp#"
|
|
523
553
|
},
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "OnboardingConnectLedgerConnectAccountView"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"network": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"maxLength": 30,
|
|
20
|
+
"$comment": "Allows tracking the network associated with the user's account"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"unevaluatedProperties": false
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"unevaluatedProperties": false,
|
|
27
|
+
"required": ["event", "properties"]
|
|
28
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "OnboardingConnectLedgerConnectionErrorView"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"error_type": {
|
|
18
|
+
"anyOf": [
|
|
19
|
+
{
|
|
20
|
+
"const": "error"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"const": "update-firmware"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"const": "update-ledger-app"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"unevaluatedProperties": false
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"unevaluatedProperties": false,
|
|
35
|
+
"required": ["event", "properties"]
|
|
36
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "WalletAssetSendHardwareWalletView"
|
|
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
|
+
"maxLength": 30,
|
|
20
|
+
"$comment": "Allows tracking the asset name associated with the user's account"
|
|
21
|
+
},
|
|
22
|
+
"network": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"maxLength": 30,
|
|
25
|
+
"$comment": "Allows tracking the network associated with the user's account"
|
|
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": "Web3BrowserHardwareWalletEnableBlindSigningView"
|
|
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
|
+
"maxLength": 30,
|
|
20
|
+
"$comment": "Allows tracking the asset name associated with the user's account"
|
|
21
|
+
},
|
|
22
|
+
"network": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"maxLength": 30,
|
|
25
|
+
"$comment": "Allows tracking the network associated with the user's account"
|
|
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": "Web3BrowserHardwareWalletView"
|
|
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
|
+
"maxLength": 30,
|
|
20
|
+
"$comment": "Allows tracking the asset name associated with the user's account"
|
|
21
|
+
},
|
|
22
|
+
"network": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"maxLength": 30,
|
|
25
|
+
"$comment": "Allows tracking the network associated with the user's account"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"unevaluatedProperties": false
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"unevaluatedProperties": false,
|
|
32
|
+
"required": ["event", "properties"]
|
|
33
|
+
}
|