@exodus/analytics-validation 2.26.0 → 2.27.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 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.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.27.0...@exodus/analytics-validation@2.27.1) (2024-07-25)
7
+
8
+ ### Bug Fixes
9
+
10
+ - add validation for AppSession is_from_background property ([#8038](https://github.com/ExodusMovement/exodus-hydra/issues/8038)) ([ce7232e](https://github.com/ExodusMovement/exodus-hydra/commit/ce7232e2b05284793dcd37488d77ed4343ac7933))
11
+
12
+ ## [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)
13
+
14
+ ### Features
15
+
16
+ - add custom schemes for ledger telemetry ([#7885](https://github.com/ExodusMovement/exodus-hydra/issues/7885)) ([4993296](https://github.com/ExodusMovement/exodus-hydra/commit/49932969f307240b4dae571a1cc5d6332f53579f))
17
+
6
18
  ## [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)
7
19
 
8
20
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.26.0",
3
+ "version": "2.27.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": "a5eb409e26ec730504fa316fa5f8bc97fb9f000e"
43
+ "gitHead": "5871680f4c13094979b227c897c97248f2c9314a"
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
+ }
@@ -20,6 +20,9 @@
20
20
  {
21
21
  "$ref": "android-install-referrer-attribution#"
22
22
  },
23
+ {
24
+ "$ref": "app-session#"
25
+ },
23
26
  {
24
27
  "$ref": "asset-network-manual-refresh#"
25
28
  },
@@ -35,6 +38,21 @@
35
38
  {
36
39
  "$ref": "client-migration-run#"
37
40
  },
41
+ {
42
+ "$ref": "connect-ledger-account-connected-view#"
43
+ },
44
+ {
45
+ "$ref": "connect-ledger-connecting-account-view#"
46
+ },
47
+ {
48
+ "$ref": "connect-ledger-connection-error-view#"
49
+ },
50
+ {
51
+ "$ref": "connect-ledger-disconnect#"
52
+ },
53
+ {
54
+ "$ref": "connect-ledger-stop-connecting#"
55
+ },
38
56
  {
39
57
  "$ref": "d-app-auto-approve-set#"
40
58
  },
@@ -239,6 +257,12 @@
239
257
  {
240
258
  "$ref": "on-ramp-purchase-confirm#"
241
259
  },
260
+ {
261
+ "$ref": "onboarding-connect-ledger-connect-account-view#"
262
+ },
263
+ {
264
+ "$ref": "onboarding-connect-ledger-connection-error-view#"
265
+ },
242
266
  {
243
267
  "$ref": "onboarding-existing-wallet-tap#"
244
268
  },
@@ -434,6 +458,9 @@
434
458
  {
435
459
  "$ref": "wallet-asset-send-advanced-options-view#"
436
460
  },
461
+ {
462
+ "$ref": "wallet-asset-send-hardware-wallet-view#"
463
+ },
437
464
  {
438
465
  "$ref": "wallet-asset-send-no-gas#"
439
466
  },
@@ -518,6 +545,12 @@
518
545
  {
519
546
  "$ref": "web3-browser-fiat-on-ramp-ctatap#"
520
547
  },
548
+ {
549
+ "$ref": "web3-browser-hardware-wallet-enable-blind-signing-view#"
550
+ },
551
+ {
552
+ "$ref": "web3-browser-hardware-wallet-view#"
553
+ },
521
554
  {
522
555
  "$ref": "web3-browser-launch-dapp#"
523
556
  },
@@ -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,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "AppSession"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "is_from_background": {
18
+ "type": "boolean"
19
+ }
20
+ },
21
+ "unevaluatedProperties": false
22
+ }
23
+ },
24
+ "unevaluatedProperties": false,
25
+ "required": ["event", "properties"]
26
+ }
@@ -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
+ }