@exodus/analytics-validation 2.37.0 → 2.38.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 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.38.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.37.1...@exodus/analytics-validation@2.38.0) (2024-08-30)
7
+
8
+ ### Features
9
+
10
+ - update custom schemes for ledger telemetry ([#8772](https://github.com/ExodusMovement/exodus-hydra/issues/8772)) ([4e7ee28](https://github.com/ExodusMovement/exodus-hydra/commit/4e7ee2896ff88729dc3065e3afc5323f26144d93))
11
+
12
+ ## [2.37.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.37.0...@exodus/analytics-validation@2.37.1) (2024-08-28)
13
+
14
+ ### Reverts
15
+
16
+ - Revert "feat(analytics-validation): add wallet MintSendSuccess validation (#8453) (#8759) ([65c90e9](https://github.com/ExodusMovement/exodus-hydra/commit/65c90e9352c3b874f1f4f94a8b344118be0e8a5c)), closes [#8453](https://github.com/ExodusMovement/exodus-hydra/issues/8453) [#8759](https://github.com/ExodusMovement/exodus-hydra/issues/8759) [#8453](https://github.com/ExodusMovement/exodus-hydra/issues/8453)
17
+
6
18
  ## [2.37.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.36.0...@exodus/analytics-validation@2.37.0) (2024-08-27)
7
19
 
8
20
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.37.0",
3
+ "version": "2.38.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": "b8c4b823516753111792e9e4a6cc0fe3decc718a"
43
+ "gitHead": "d3a923bf10a1509941b4ea09cd829fb5575431a9"
44
44
  }
@@ -18,6 +18,34 @@
18
18
  "type": "string",
19
19
  "maxLength": 30,
20
20
  "$comment": "Allows tracking the network associated with the user's account"
21
+ },
22
+ "origin": {
23
+ "anyOf": [
24
+ {
25
+ "const": "onboarding"
26
+ },
27
+ {
28
+ "const": "wallet"
29
+ },
30
+ {
31
+ "const": "accounts"
32
+ },
33
+ {
34
+ "const": "receive-menu"
35
+ },
36
+ {
37
+ "const": "exchange"
38
+ },
39
+ {
40
+ "const": "offramp"
41
+ },
42
+ {
43
+ "const": "onramp"
44
+ },
45
+ {
46
+ "const": "web3"
47
+ }
48
+ ]
21
49
  }
22
50
  },
23
51
  "unevaluatedProperties": false
@@ -0,0 +1,56 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "ConnectLedgerConnectAccountView"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "origin": {
18
+ "anyOf": [
19
+ {
20
+ "const": "onboarding"
21
+ },
22
+ {
23
+ "const": "wallet"
24
+ },
25
+ {
26
+ "const": "accounts"
27
+ },
28
+ {
29
+ "const": "receive-menu"
30
+ },
31
+ {
32
+ "const": "exchange"
33
+ },
34
+ {
35
+ "const": "offramp"
36
+ },
37
+ {
38
+ "const": "onramp"
39
+ },
40
+ {
41
+ "const": "web3"
42
+ }
43
+ ]
44
+ },
45
+ "network": {
46
+ "type": "string",
47
+ "maxLength": 30,
48
+ "$comment": "Allows tracking the network associated with the user's account"
49
+ }
50
+ },
51
+ "unevaluatedProperties": false
52
+ }
53
+ },
54
+ "unevaluatedProperties": false,
55
+ "required": ["event", "properties"]
56
+ }
@@ -14,6 +14,34 @@
14
14
  "type": "object",
15
15
  "required": [],
16
16
  "properties": {
17
+ "origin": {
18
+ "anyOf": [
19
+ {
20
+ "const": "onboarding"
21
+ },
22
+ {
23
+ "const": "wallet"
24
+ },
25
+ {
26
+ "const": "accounts"
27
+ },
28
+ {
29
+ "const": "receive-menu"
30
+ },
31
+ {
32
+ "const": "exchange"
33
+ },
34
+ {
35
+ "const": "offramp"
36
+ },
37
+ {
38
+ "const": "onramp"
39
+ },
40
+ {
41
+ "const": "web3"
42
+ }
43
+ ]
44
+ },
17
45
  "network": {
18
46
  "type": "string",
19
47
  "maxLength": 30,
@@ -14,10 +14,33 @@
14
14
  "type": "object",
15
15
  "required": [],
16
16
  "properties": {
17
- "network": {
18
- "type": "string",
19
- "maxLength": 30,
20
- "$comment": "Allows tracking the network associated with the user's account"
17
+ "origin": {
18
+ "anyOf": [
19
+ {
20
+ "const": "onboarding"
21
+ },
22
+ {
23
+ "const": "wallet"
24
+ },
25
+ {
26
+ "const": "accounts"
27
+ },
28
+ {
29
+ "const": "receive-menu"
30
+ },
31
+ {
32
+ "const": "exchange"
33
+ },
34
+ {
35
+ "const": "offramp"
36
+ },
37
+ {
38
+ "const": "onramp"
39
+ },
40
+ {
41
+ "const": "web3"
42
+ }
43
+ ]
21
44
  }
22
45
  },
23
46
  "unevaluatedProperties": false
@@ -41,6 +41,9 @@
41
41
  {
42
42
  "$ref": "connect-ledger-account-connected-view#"
43
43
  },
44
+ {
45
+ "$ref": "connect-ledger-connect-account-view#"
46
+ },
44
47
  {
45
48
  "$ref": "connect-ledger-connecting-account-view#"
46
49
  },
@@ -203,9 +206,6 @@
203
206
  {
204
207
  "$ref": "marketing-banner-click#"
205
208
  },
206
- {
207
- "$ref": "mint-send-success#"
208
- },
209
209
  {
210
210
  "$ref": "modal-delisting-assets-view#"
211
211
  },
@@ -14,6 +14,34 @@
14
14
  "type": "object",
15
15
  "required": [],
16
16
  "properties": {
17
+ "origin": {
18
+ "anyOf": [
19
+ {
20
+ "const": "onboarding"
21
+ },
22
+ {
23
+ "const": "wallet"
24
+ },
25
+ {
26
+ "const": "accounts"
27
+ },
28
+ {
29
+ "const": "receive-menu"
30
+ },
31
+ {
32
+ "const": "exchange"
33
+ },
34
+ {
35
+ "const": "offramp"
36
+ },
37
+ {
38
+ "const": "onramp"
39
+ },
40
+ {
41
+ "const": "web3"
42
+ }
43
+ ]
44
+ },
17
45
  "network": {
18
46
  "type": "string",
19
47
  "maxLength": 30,
@@ -1,30 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "type": "object",
4
- "properties": {
5
- "event": {
6
- "const": "MintSendSuccess"
7
- },
8
- "properties": {
9
- "allOf": [
10
- {
11
- "$ref": "common-properties#"
12
- }
13
- ],
14
- "type": "object",
15
- "required": [],
16
- "properties": {
17
- "transaction_ids": {
18
- "type": "array",
19
- "items": {
20
- "type": "string",
21
- "format": "any-string"
22
- }
23
- }
24
- },
25
- "unevaluatedProperties": false
26
- }
27
- },
28
- "unevaluatedProperties": false,
29
- "required": ["event"]
30
- }