@exodus/analytics-validation 1.19.1 → 1.20.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
+ ## [1.20.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.19.2...@exodus/analytics-validation@1.20.0) (2023-09-27)
7
+
8
+ ### Features
9
+
10
+ - **analytics-validation:** TRX Freezing ([#4232](https://github.com/ExodusMovement/exodus-hydra/issues/4232)) ([f2900d9](https://github.com/ExodusMovement/exodus-hydra/commit/f2900d9b5af184970bd25ae8ef368342bd83a585))
11
+
12
+ ## [1.19.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.19.1...@exodus/analytics-validation@1.19.2) (2023-09-25)
13
+
14
+ ### Feature
15
+
16
+ - **analytics-validation:** add validation for notification_modal_view, notification_cta ([#4195])(https://github.com/ExodusMovement/exodus-hydra/pull/4195) [5e164b8](https://github.com/ExodusMovement/exodus-hydra/pull/4195/commits/5e164b80306c6e64a0599ee4a42ab3040fcf0394)
17
+
6
18
  ## [1.19.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.19.0...@exodus/analytics-validation@1.19.1) (2023-09-08)
7
19
 
8
20
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "1.19.1",
3
+ "version": "1.20.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": {
@@ -32,5 +32,5 @@
32
32
  "eslint": "^8.44.0",
33
33
  "jest": "^29.1.2"
34
34
  },
35
- "gitHead": "e5c0a51935b7b03b2ccbf2290522f98dd3890f5e"
35
+ "gitHead": "0a0bea3fe2f8f3caadcf7bfa62596bd0d718a97a"
36
36
  }
@@ -171,6 +171,12 @@
171
171
  {
172
172
  "$ref": "nfts-proxy-server-get-image#"
173
173
  },
174
+ {
175
+ "$ref": "notification-cta-tap#"
176
+ },
177
+ {
178
+ "$ref": "notification-modal-view#"
179
+ },
174
180
  {
175
181
  "$ref": "notification-open#"
176
182
  },
@@ -324,6 +330,15 @@
324
330
  {
325
331
  "$ref": "telemetry-collection-decision#"
326
332
  },
333
+ {
334
+ "$ref": "wallet-asset-advanced-options-view#"
335
+ },
336
+ {
337
+ "$ref": "wallet-asset-freeze#"
338
+ },
339
+ {
340
+ "$ref": "wallet-asset-freezing-view#"
341
+ },
327
342
  {
328
343
  "$ref": "wallet-asset-irreversible-modal-view#"
329
344
  },
@@ -345,9 +360,15 @@
345
360
  {
346
361
  "$ref": "wallet-asset-send#"
347
362
  },
363
+ {
364
+ "$ref": "wallet-asset-unfreeze#"
365
+ },
348
366
  {
349
367
  "$ref": "wallet-asset-view#"
350
368
  },
369
+ {
370
+ "$ref": "wallet-asset-withdraw-unfrozen#"
371
+ },
351
372
  {
352
373
  "$ref": "wallet-connect-connection-added#"
353
374
  },
@@ -0,0 +1,59 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "NotificationCTATap"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "origin": {
18
+ "type": "string",
19
+ "format": "any-string"
20
+ },
21
+ "notification_id": {
22
+ "type": "string",
23
+ "format": "any-string"
24
+ },
25
+ "cta": {
26
+ "type": "string",
27
+ "format": "any-string"
28
+ },
29
+ "title": {
30
+ "type": "string",
31
+ "format": "any-string"
32
+ },
33
+ "exodus_activation_time": {
34
+ "type": "string",
35
+ "format": "date-time"
36
+ },
37
+ "exodus_activation_time_user": {
38
+ "type": "string",
39
+ "format": "date-time"
40
+ },
41
+ "user_time": {
42
+ "type": "string",
43
+ "format": "date-time"
44
+ },
45
+ "delivered_time": {
46
+ "type": "string",
47
+ "format": "date-time"
48
+ },
49
+ "delivered_time_user": {
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,59 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "NotificationModalView"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "origin": {
18
+ "type": "string",
19
+ "format": "any-string"
20
+ },
21
+ "notification_id": {
22
+ "type": "string",
23
+ "format": "any-string"
24
+ },
25
+ "cta": {
26
+ "type": "string",
27
+ "format": "any-string"
28
+ },
29
+ "title": {
30
+ "type": "string",
31
+ "format": "any-string"
32
+ },
33
+ "exodus_activation_time": {
34
+ "type": "string",
35
+ "format": "date-time"
36
+ },
37
+ "exodus_activation_time_user": {
38
+ "type": "string",
39
+ "format": "date-time"
40
+ },
41
+ "user_time": {
42
+ "type": "string",
43
+ "format": "date-time"
44
+ },
45
+ "delivered_time": {
46
+ "type": "string",
47
+ "format": "date-time"
48
+ },
49
+ "delivered_time_user": {
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,49 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetAdvancedOptionsView"
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
+ "format": "any-string"
20
+ },
21
+ "network": {
22
+ "type": "string",
23
+ "format": "any-string"
24
+ },
25
+ "available_balance": {
26
+ "type": "number"
27
+ },
28
+ "frozen_balance": {
29
+ "type": "number"
30
+ },
31
+ "available_energy": {
32
+ "type": "number"
33
+ },
34
+ "available_bandwidth": {
35
+ "type": "number"
36
+ },
37
+ "frozen_for_energy": {
38
+ "type": "number"
39
+ },
40
+ "frozen_for_bandwidth": {
41
+ "type": "number"
42
+ }
43
+ },
44
+ "unevaluatedProperties": false
45
+ }
46
+ },
47
+ "unevaluatedProperties": false,
48
+ "required": ["event", "properties"]
49
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetFreeze"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "amount": {
18
+ "type": "number"
19
+ },
20
+ "for_what": {
21
+ "type": "string",
22
+ "format": "any-string"
23
+ },
24
+ "success": {
25
+ "type": "boolean"
26
+ }
27
+ },
28
+ "unevaluatedProperties": false
29
+ }
30
+ },
31
+ "unevaluatedProperties": false,
32
+ "required": ["event", "properties"]
33
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetFreezingView"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "for_what": {
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,33 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetUnfreeze"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "amount": {
18
+ "type": "number"
19
+ },
20
+ "for_what": {
21
+ "type": "string",
22
+ "format": "any-string"
23
+ },
24
+ "success": {
25
+ "type": "boolean"
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": "WalletAssetWithdrawUnfrozen"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "amount": {
18
+ "type": "number"
19
+ },
20
+ "for_what": {
21
+ "type": "string",
22
+ "format": "any-string"
23
+ },
24
+ "success": {
25
+ "type": "boolean"
26
+ }
27
+ },
28
+ "unevaluatedProperties": false
29
+ }
30
+ },
31
+ "unevaluatedProperties": false,
32
+ "required": ["event", "properties"]
33
+ }