@exodus/analytics-validation 2.44.0 → 2.45.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,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
+ ## [2.45.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.44.0...@exodus/analytics-validation@2.45.0) (2024-10-30)
7
+
8
+ ### Features
9
+
10
+ - add more ledger telemetry events and properties ([#10217](https://github.com/ExodusMovement/exodus-hydra/issues/10217)) ([23bc507](https://github.com/ExodusMovement/exodus-hydra/commit/23bc507f74a5cca19a91b623b30ad0dd57d2260e))
11
+
6
12
  ## [2.44.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.43.1...@exodus/analytics-validation@2.44.0) (2024-10-21)
7
13
 
8
14
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.44.0",
3
+ "version": "2.45.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": "03763c043473e2291656faa96ebf1a4f798bf553"
43
+ "gitHead": "46b0d73ff606dd46c521bc82e366378ba48811a5"
44
44
  }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "LedgerAccountConnect"
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
+ "format": "any-string"
20
+ },
21
+ "total_amount": {
22
+ "type": "string",
23
+ "format": "any-string"
24
+ },
25
+ "total_amount_usd": {
26
+ "type": "string",
27
+ "format": "any-string"
28
+ },
29
+ "number_of_collectibles": {
30
+ "type": "number"
31
+ },
32
+ "success": {
33
+ "type": "boolean"
34
+ }
35
+ },
36
+ "unevaluatedProperties": false
37
+ }
38
+ },
39
+ "unevaluatedProperties": false,
40
+ "required": ["event", "properties"]
41
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "LedgerAccountDisconnect"
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
+ "format": "any-string"
20
+ },
21
+ "total_amount": {
22
+ "type": "string",
23
+ "format": "any-string"
24
+ },
25
+ "amount_usd": {
26
+ "type": "string",
27
+ "format": "any-string"
28
+ }
29
+ },
30
+ "unevaluatedProperties": false
31
+ }
32
+ },
33
+ "unevaluatedProperties": false,
34
+ "required": ["event", "properties"]
35
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "LedgerAccountsView"
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
+ "format": "any-string"
20
+ },
21
+ "total_amount": {
22
+ "type": "string",
23
+ "format": "any-string"
24
+ },
25
+ "total_amount_usd": {
26
+ "type": "string",
27
+ "format": "any-string"
28
+ },
29
+ "number_of_accounts": {
30
+ "type": "number"
31
+ }
32
+ },
33
+ "unevaluatedProperties": false
34
+ }
35
+ },
36
+ "unevaluatedProperties": false,
37
+ "required": ["event", "properties"]
38
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "LedgerPairConnectError"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "error_type": {
18
+ "type": "string",
19
+ "format": "any-string"
20
+ }
21
+ },
22
+ "unevaluatedProperties": false
23
+ }
24
+ },
25
+ "unevaluatedProperties": false,
26
+ "required": ["event", "properties"]
27
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "LedgerPair"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "success": {
18
+ "type": "boolean"
19
+ }
20
+ },
21
+ "unevaluatedProperties": false
22
+ }
23
+ },
24
+ "unevaluatedProperties": false,
25
+ "required": ["event", "properties"]
26
+ }
@@ -188,6 +188,21 @@
188
188
  {
189
189
  "$ref": "invite-friends-view#"
190
190
  },
191
+ {
192
+ "$ref": "ledger-account-connect#"
193
+ },
194
+ {
195
+ "$ref": "ledger-account-disconnect#"
196
+ },
197
+ {
198
+ "$ref": "ledger-accounts-view#"
199
+ },
200
+ {
201
+ "$ref": "ledger-pair-connect-error#"
202
+ },
203
+ {
204
+ "$ref": "ledger-pair#"
205
+ },
191
206
  {
192
207
  "$ref": "lightning-deposit#"
193
208
  },
@@ -23,6 +23,14 @@
23
23
  "type": "string",
24
24
  "maxLength": 30,
25
25
  "$comment": "Allows tracking the network associated with the user's account"
26
+ },
27
+ "total_amount": {
28
+ "type": "string",
29
+ "format": "any-string"
30
+ },
31
+ "amount_usd": {
32
+ "type": "string",
33
+ "format": "any-string"
26
34
  }
27
35
  },
28
36
  "unevaluatedProperties": false