@exodus/analytics-validation 2.12.0 → 2.14.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.14.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.13.0...@exodus/analytics-validation@2.14.0) (2024-03-14)
7
+
8
+ ### Features
9
+
10
+ - add favoriteAssets analytics ([#6112](https://github.com/ExodusMovement/exodus-hydra/issues/6112)) ([d37f886](https://github.com/ExodusMovement/exodus-hydra/commit/d37f886dae30468804a229e54b7ca1cd2d59398e))
11
+
12
+ ## [2.13.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.12.0...@exodus/analytics-validation@2.13.0) (2024-03-07)
13
+
14
+ ### Features
15
+
16
+ - add schema for analytics events ([#6016](https://github.com/ExodusMovement/exodus-hydra/issues/6016)) ([39618f1](https://github.com/ExodusMovement/exodus-hydra/commit/39618f1f4c18189ce6795f53028f45f34cef6076))
17
+
6
18
  ## [2.12.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.11.2...@exodus/analytics-validation@2.12.0) (2024-03-06)
7
19
 
8
20
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.12.0",
3
+ "version": "2.14.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": "9f5dfc4037317b15a26ee1aea7f97e2b6646b50c"
43
+ "gitHead": "e1ab245c358e7add5cb2420d7633843588b9f956"
44
44
  }
@@ -0,0 +1,37 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "ModalFirstFundView"
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
+ "amount": {
26
+ "type": "number"
27
+ },
28
+ "amount_usd": {
29
+ "type": "number"
30
+ }
31
+ },
32
+ "unevaluatedProperties": false
33
+ }
34
+ },
35
+ "unevaluatedProperties": false,
36
+ "required": ["event", "properties"]
37
+ }
@@ -231,6 +231,10 @@
231
231
  "type": "integer",
232
232
  "minimum": 0
233
233
  },
234
+ "number_of_assets_favorites": {
235
+ "type": "integer",
236
+ "minimum": 0
237
+ },
234
238
  "trust_score": {
235
239
  "type": "number",
236
240
  "minimum": 0
@@ -167,6 +167,12 @@
167
167
  {
168
168
  "$ref": "lightning-withdraw#"
169
169
  },
170
+ {
171
+ "$ref": "modal-delisting-assets-view#"
172
+ },
173
+ {
174
+ "$ref": "modal-first-fund-view#"
175
+ },
170
176
  {
171
177
  "$ref": "network-easter-egg-activate#"
172
178
  },
@@ -347,6 +353,9 @@
347
353
  {
348
354
  "$ref": "wallet-asset-copy-receive-address#"
349
355
  },
356
+ {
357
+ "$ref": "wallet-asset-favorite-toggle#"
358
+ },
350
359
  {
351
360
  "$ref": "wallet-asset-freeze#"
352
361
  },
@@ -371,6 +380,12 @@
371
380
  {
372
381
  "$ref": "wallet-asset-receive-view#"
373
382
  },
383
+ {
384
+ "$ref": "wallet-asset-send-advanced-options-save#"
385
+ },
386
+ {
387
+ "$ref": "wallet-asset-send-advanced-options-view#"
388
+ },
374
389
  {
375
390
  "$ref": "wallet-asset-send-no-gas#"
376
391
  },
@@ -0,0 +1,42 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "ModalDelistingAssetsView"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "asset_names": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "string",
21
+ "format": "any-string"
22
+ }
23
+ },
24
+ "amounts": {
25
+ "type": "array",
26
+ "items": {
27
+ "type": "number"
28
+ }
29
+ },
30
+ "amounts_usd": {
31
+ "type": "array",
32
+ "items": {
33
+ "type": "number"
34
+ }
35
+ }
36
+ },
37
+ "unevaluatedProperties": false
38
+ }
39
+ },
40
+ "unevaluatedProperties": false,
41
+ "required": ["event", "properties"]
42
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetFavoriteToggle"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "toggled_on": {
18
+ "type": "boolean"
19
+ },
20
+ "network": {
21
+ "type": "string"
22
+ },
23
+ "asset_name": {
24
+ "type": "string"
25
+ }
26
+ },
27
+ "unevaluatedProperties": false
28
+ }
29
+ },
30
+ "unevaluatedProperties": false,
31
+ "required": ["event", "properties"]
32
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetSendAdvancedOptionsSave"
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
+ "acceleration_enabled": {
26
+ "type": "boolean"
27
+ },
28
+ "network_fee_rate": {
29
+ "type": "number"
30
+ },
31
+ "network_fee_amount": {
32
+ "type": "number"
33
+ },
34
+ "network_fee_amount_usd": {
35
+ "type": "number"
36
+ },
37
+ "slide_position": {
38
+ "type": "string",
39
+ "format": "any-string"
40
+ }
41
+ },
42
+ "unevaluatedProperties": false
43
+ }
44
+ },
45
+ "unevaluatedProperties": false,
46
+ "required": ["event", "properties"]
47
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetSendAdvancedOptionsView"
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
+ },
26
+ "unevaluatedProperties": false
27
+ }
28
+ },
29
+ "unevaluatedProperties": false,
30
+ "required": ["event", "properties"]
31
+ }