@exodus/analytics-validation 1.15.0 → 1.17.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.17.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.16.0...@exodus/analytics-validation@1.17.0) (2023-07-26)
7
+
8
+ ### Features
9
+
10
+ - analytics profile-features-order-change ([#2928](https://github.com/ExodusMovement/exodus-hydra/issues/2928)) ([c3f4f1a](https://github.com/ExodusMovement/exodus-hydra/commit/c3f4f1a4826b19664960ba533fc2f71320fe67a1))
11
+
12
+ ## [1.16.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.15.0...@exodus/analytics-validation@1.16.0) (2023-07-20)
13
+
14
+ ### Features
15
+
16
+ - **telemetry:** validate addition of asset dimensions on wallets telemetry ([#2401](https://github.com/ExodusMovement/exodus-hydra/issues/2401)) ([65ecf0f](https://github.com/ExodusMovement/exodus-hydra/commit/65ecf0fac231a7a5e62a5499eda88f6b4f1dccb2))
17
+
6
18
  ## [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
19
 
8
20
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "1.15.0",
3
+ "version": "1.17.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": {
@@ -33,5 +33,5 @@
33
33
  "eslint": "^8.44.0",
34
34
  "jest": "^29.1.2"
35
35
  },
36
- "gitHead": "df15f15fb4c5b0a3c1a016a0afbfad3aa469ab82"
36
+ "gitHead": "9e001b79848e67e7c1f3b5ba70ac3d0f28dfe4e2"
37
37
  }
@@ -20,6 +20,9 @@
20
20
  "connection_protocol": {
21
21
  "type": "string",
22
22
  "enum": ["WalletConnect"]
23
+ },
24
+ "network": {
25
+ "type": "string"
23
26
  }
24
27
  },
25
28
  "unevaluatedProperties": false
@@ -26,6 +26,12 @@
26
26
  },
27
27
  "user_amount_from_usd": {
28
28
  "type": "number"
29
+ },
30
+ "asset_name": {
31
+ "type": "string"
32
+ },
33
+ "network": {
34
+ "type": "string"
29
35
  }
30
36
  },
31
37
  "unevaluatedProperties": false
@@ -20,6 +20,12 @@
20
20
  "coin_or_token": {
21
21
  "type": "string",
22
22
  "enum": ["coin", "token"]
23
+ },
24
+ "asset_name": {
25
+ "type": "string"
26
+ },
27
+ "network": {
28
+ "type": "string"
23
29
  }
24
30
  },
25
31
  "unevaluatedProperties": false
@@ -219,6 +219,9 @@
219
219
  {
220
220
  "$ref": "onboarding-page-view#"
221
221
  },
222
+ {
223
+ "$ref": "profile-features-order-change#"
224
+ },
222
225
  {
223
226
  "$ref": "referral-code-input#"
224
227
  },
@@ -324,12 +327,21 @@
324
327
  {
325
328
  "$ref": "wallet-asset-network-manual-refresh#"
326
329
  },
330
+ {
331
+ "$ref": "wallet-asset-receive-view#"
332
+ },
327
333
  {
328
334
  "$ref": "wallet-asset-send-no-gas#"
329
335
  },
336
+ {
337
+ "$ref": "wallet-asset-send-view#"
338
+ },
330
339
  {
331
340
  "$ref": "wallet-asset-send#"
332
341
  },
342
+ {
343
+ "$ref": "wallet-asset-view#"
344
+ },
333
345
  {
334
346
  "$ref": "wallet-connect-connection-added#"
335
347
  },
@@ -348,6 +360,12 @@
348
360
  {
349
361
  "$ref": "wallet-connect-fiat-on-ramp-cta-tap#"
350
362
  },
363
+ {
364
+ "$ref": "wallet-custom-token-add#"
365
+ },
366
+ {
367
+ "$ref": "wallet-exchange-detail-view#"
368
+ },
351
369
  {
352
370
  "$ref": "wallet-staking-claim#"
353
371
  },
@@ -363,6 +381,9 @@
363
381
  {
364
382
  "$ref": "wallet-staking-view#"
365
383
  },
384
+ {
385
+ "$ref": "wallet-transaction-detail-view#"
386
+ },
366
387
  {
367
388
  "$ref": "web3-browser-fiat-on-ramp-ctatap#"
368
389
  },
@@ -0,0 +1,32 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "ProfileFeaturesOrderChange"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": ["order_from", "order_to", "feature_name"],
16
+ "properties": {
17
+ "order_from": {
18
+ "type": "number"
19
+ },
20
+ "order_to": {
21
+ "type": "number"
22
+ },
23
+ "feature_name": {
24
+ "type": "string"
25
+ }
26
+ },
27
+ "unevaluatedProperties": false
28
+ }
29
+ },
30
+ "unevaluatedProperties": false,
31
+ "required": ["event", "properties"]
32
+ }
@@ -16,6 +16,12 @@
16
16
  "properties": {
17
17
  "toggled_on": {
18
18
  "type": "boolean"
19
+ },
20
+ "asset_name": {
21
+ "type": "string"
22
+ },
23
+ "network": {
24
+ "type": "string"
19
25
  }
20
26
  },
21
27
  "unevaluatedProperties": false
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetReceiveView"
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
+ },
20
+ "network": {
21
+ "type": "string"
22
+ }
23
+ },
24
+ "unevaluatedProperties": false
25
+ }
26
+ },
27
+ "unevaluatedProperties": false,
28
+ "required": ["event", "properties"]
29
+ }
@@ -20,6 +20,12 @@
20
20
  "coin_or_token": {
21
21
  "type": "string",
22
22
  "enum": ["coin", "token"]
23
+ },
24
+ "asset_name": {
25
+ "type": "string"
26
+ },
27
+ "network": {
28
+ "type": "string"
23
29
  }
24
30
  },
25
31
  "unevaluatedProperties": false
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetSendView"
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
+ },
20
+ "network": {
21
+ "type": "string"
22
+ }
23
+ },
24
+ "unevaluatedProperties": false
25
+ }
26
+ },
27
+ "unevaluatedProperties": false,
28
+ "required": ["event", "properties"]
29
+ }
@@ -16,6 +16,18 @@
16
16
  "properties": {
17
17
  "success": {
18
18
  "type": "boolean"
19
+ },
20
+ "amount": {
21
+ "type": "string"
22
+ },
23
+ "amount_usd": {
24
+ "type": "string"
25
+ },
26
+ "asset_name": {
27
+ "type": "string"
28
+ },
29
+ "network": {
30
+ "type": "string"
19
31
  }
20
32
  },
21
33
  "unevaluatedProperties": false
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetView"
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
+ },
20
+ "network": {
21
+ "type": "string"
22
+ }
23
+ },
24
+ "unevaluatedProperties": false
25
+ }
26
+ },
27
+ "unevaluatedProperties": false,
28
+ "required": ["event", "properties"]
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletCustomTokenAdd"
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
+ },
20
+ "network": {
21
+ "type": "string"
22
+ }
23
+ },
24
+ "unevaluatedProperties": false
25
+ }
26
+ },
27
+ "unevaluatedProperties": false,
28
+ "required": ["event", "properties"]
29
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletExchangeDetailView"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "asset_name_from": {
18
+ "type": "string"
19
+ },
20
+ "network_from": {
21
+ "type": "string"
22
+ },
23
+ "asset_name_to": {
24
+ "type": "string"
25
+ },
26
+ "network_to": {
27
+ "type": "string"
28
+ }
29
+ },
30
+ "unevaluatedProperties": false
31
+ }
32
+ },
33
+ "unevaluatedProperties": false,
34
+ "required": ["event", "properties"]
35
+ }
@@ -16,6 +16,24 @@
16
16
  "properties": {
17
17
  "success": {
18
18
  "type": "boolean"
19
+ },
20
+ "amount": {
21
+ "type": "string"
22
+ },
23
+ "amount_usd": {
24
+ "type": "string"
25
+ },
26
+ "staked_amount": {
27
+ "type": "string"
28
+ },
29
+ "staked_amount_usd": {
30
+ "type": "string"
31
+ },
32
+ "asset_name": {
33
+ "type": "string"
34
+ },
35
+ "network": {
36
+ "type": "string"
19
37
  }
20
38
  },
21
39
  "unevaluatedProperties": false
@@ -16,6 +16,12 @@
16
16
  "properties": {
17
17
  "is_zero_balance": {
18
18
  "type": "boolean"
19
+ },
20
+ "asset_name": {
21
+ "type": "string"
22
+ },
23
+ "network": {
24
+ "type": "string"
19
25
  }
20
26
  },
21
27
  "unevaluatedProperties": false
@@ -16,6 +16,18 @@
16
16
  "properties": {
17
17
  "success": {
18
18
  "type": "boolean"
19
+ },
20
+ "amount": {
21
+ "type": "string"
22
+ },
23
+ "amount_usd": {
24
+ "type": "string"
25
+ },
26
+ "asset_name": {
27
+ "type": "string"
28
+ },
29
+ "network": {
30
+ "type": "string"
19
31
  }
20
32
  },
21
33
  "unevaluatedProperties": false
@@ -16,6 +16,18 @@
16
16
  "properties": {
17
17
  "success": {
18
18
  "type": "boolean"
19
+ },
20
+ "amount": {
21
+ "type": "string"
22
+ },
23
+ "amount_usd": {
24
+ "type": "string"
25
+ },
26
+ "asset_name": {
27
+ "type": "string"
28
+ },
29
+ "network": {
30
+ "type": "string"
19
31
  }
20
32
  },
21
33
  "unevaluatedProperties": false
@@ -16,6 +16,12 @@
16
16
  "properties": {
17
17
  "is_active": {
18
18
  "type": "boolean"
19
+ },
20
+ "asset_name": {
21
+ "type": "string"
22
+ },
23
+ "network": {
24
+ "type": "string"
19
25
  }
20
26
  },
21
27
  "unevaluatedProperties": false
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletTransactionDetailView"
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
+ },
20
+ "network": {
21
+ "type": "string"
22
+ }
23
+ },
24
+ "unevaluatedProperties": false
25
+ }
26
+ },
27
+ "unevaluatedProperties": false,
28
+ "required": ["event", "properties"]
29
+ }