@exodus/analytics-validation 1.13.0 → 1.15.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,20 @@
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.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
+
8
+ ### Features
9
+
10
+ - add schema for AndroidInstallReferrerAttribution event ([2683](https://github.com/ExodusMovement/exodus-hydra/pull/2683/commits/e62ec31a922d736ac71a41cc36f857486a6c3c55))
11
+
12
+ ## [1.14.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.13.0...@exodus/analytics-validation@1.14.0) (2023-07-11)
13
+
14
+ ### Features
15
+
16
+ - add NotificationReceive event validation ([#2502](https://github.com/ExodusMovement/exodus-hydra/issues/2502)) ([f8d2c2e](https://github.com/ExodusMovement/exodus-hydra/commit/f8d2c2e8de7a1e3a869639dea739eb450c174baf))
17
+ - add order_id to fiat orders events ([#2290](https://github.com/ExodusMovement/exodus-hydra/issues/2290)) ([95241cf](https://github.com/ExodusMovement/exodus-hydra/commit/95241cf0565985b16b91d827a97fc99cdcebe233))
18
+ - add support telemetry validation schemas ([#2153](https://github.com/ExodusMovement/exodus-hydra/issues/2153)) ([b204385](https://github.com/ExodusMovement/exodus-hydra/commit/b204385ce1578c76aeeebd99c0cf96a0b63d75ec))
19
+
6
20
  ## [1.13.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.11.0...@exodus/analytics-validation@1.13.0) (2023-07-07)
7
21
 
8
22
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "1.13.0",
3
+ "version": "1.15.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": {
@@ -12,7 +12,7 @@
12
12
  "bugs": {
13
13
  "url": "https://github.com/ExodusMovement/exodus-hydra/issues?q=is%3Aissue+is%3Aopen+label%3Aanalytics-validation"
14
14
  },
15
- "main": "./index.js",
15
+ "main": "index.js",
16
16
  "files": [
17
17
  "src",
18
18
  "!**/__tests__/**",
@@ -33,5 +33,5 @@
33
33
  "eslint": "^8.44.0",
34
34
  "jest": "^29.1.2"
35
35
  },
36
- "gitHead": "09c76f221d5d912545b5af8007156802d52be546"
36
+ "gitHead": "df15f15fb4c5b0a3c1a016a0afbfad3aa469ab82"
37
37
  }
@@ -66,6 +66,10 @@
66
66
  "type": "string",
67
67
  "format": "any-string"
68
68
  },
69
+ "order_id": {
70
+ "type": "string",
71
+ "format": "any-string"
72
+ },
69
73
  "to_amount": {
70
74
  "type": "number"
71
75
  },
@@ -74,6 +74,10 @@
74
74
  "type": "string",
75
75
  "format": "any-string"
76
76
  },
77
+ "order_id": {
78
+ "type": "string",
79
+ "format": "any-string"
80
+ },
77
81
  "quoted_to_amount": {
78
82
  "type": "string",
79
83
  "format": "any-string"
@@ -12,6 +12,9 @@
12
12
  }
13
13
  },
14
14
  "anyOf": [
15
+ {
16
+ "$ref": "android-install-referrer-attribution#"
17
+ },
15
18
  {
16
19
  "$ref": "asset-network-manual-refresh#"
17
20
  },
@@ -171,6 +174,9 @@
171
174
  {
172
175
  "$ref": "notification-open#"
173
176
  },
177
+ {
178
+ "$ref": "notification-receive#"
179
+ },
174
180
  {
175
181
  "$ref": "notifications-system-permission-modal-enable-tap#"
176
182
  },
@@ -300,6 +306,12 @@
300
306
  {
301
307
  "$ref": "solana-pay-transaction-confirmation-view#"
302
308
  },
309
+ {
310
+ "$ref": "support-feedback-tap#"
311
+ },
312
+ {
313
+ "$ref": "support-transaction-history-generate-csv-tap#"
314
+ },
303
315
  {
304
316
  "$ref": "telemetry-collection-decision#"
305
317
  },
@@ -0,0 +1,59 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "NotificationReceive"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "notification_id": {
18
+ "type": "string",
19
+ "format": "any-string"
20
+ },
21
+ "group": {
22
+ "type": "string",
23
+ "format": "any-string"
24
+ },
25
+ "push_or_in_app": {
26
+ "type": "string",
27
+ "format": "any-string"
28
+ },
29
+ "cta": {
30
+ "type": "string",
31
+ "format": "any-string"
32
+ },
33
+ "title": {
34
+ "type": "string",
35
+ "format": "any-string"
36
+ },
37
+ "country": {
38
+ "type": "string",
39
+ "format": "any-string"
40
+ },
41
+ "exodus_activation_time": {
42
+ "type": "string",
43
+ "format": "date-time"
44
+ },
45
+ "exodus_activation_time_user": {
46
+ "type": "string",
47
+ "format": "date-time"
48
+ },
49
+ "user_time": {
50
+ "type": "string",
51
+ "format": "date-time"
52
+ }
53
+ },
54
+ "unevaluatedProperties": false
55
+ }
56
+ },
57
+ "unevaluatedProperties": false,
58
+ "required": ["event", "properties"]
59
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "AndroidInstallReferrerAttribution"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "install_content": {
18
+ "type": "string",
19
+ "format": "any-string"
20
+ },
21
+ "install_referrer": {
22
+ "type": "string",
23
+ "format": "any-string"
24
+ },
25
+ "install_source": {
26
+ "type": "string",
27
+ "format": "any-string"
28
+ },
29
+ "install_campaign": {
30
+ "type": "string",
31
+ "format": "any-string"
32
+ }
33
+ },
34
+ "unevaluatedProperties": false
35
+ }
36
+ },
37
+ "unevaluatedProperties": false,
38
+ "required": ["event", "properties"]
39
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "SupportFeedbackTap"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "feedback": {
18
+ "type": "number"
19
+ }
20
+ },
21
+ "unevaluatedProperties": false
22
+ }
23
+ },
24
+ "unevaluatedProperties": false,
25
+ "required": ["event", "properties"]
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "SupportTransactionHistoryGenerateCSVTap"
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
+ }