@exodus/analytics-validation 2.19.1 → 2.20.1

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,16 @@
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.20.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.20.0...@exodus/analytics-validation@2.20.1) (2024-05-02)
7
+
8
+ **Note:** Version bump only for package @exodus/analytics-validation
9
+
10
+ ## [2.20.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.19.1...@exodus/analytics-validation@2.20.0) (2024-04-30)
11
+
12
+ ### Features
13
+
14
+ - **schema:** adds wallet-banner telemetry schema ([#6599](https://github.com/ExodusMovement/exodus-hydra/issues/6599)) ([baa1cbe](https://github.com/ExodusMovement/exodus-hydra/commit/baa1cbe1eef734afc0418ed1c60404b30d876c61))
15
+
6
16
  ## [2.19.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.19.0...@exodus/analytics-validation@2.19.1) (2024-04-17)
7
17
 
8
18
  ### Bug Fixes
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.19.1",
3
+ "version": "2.20.1",
4
4
  "description": "JSON schemas for analytics events, to prevent sensitive data from being sent up to the infamous cloud",
5
- "author": "Exodus Movement Inc.",
5
+ "author": "Exodus Movement, Inc.",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/ExodusMovement/exodus-hydra.git"
@@ -40,5 +40,5 @@
40
40
  }
41
41
  }
42
42
  },
43
- "gitHead": "3d8cc230648736f56a55d652f54b417016373f18"
43
+ "gitHead": "9da58ce1f6998646840bb3aef9da5f674521e9fa"
44
44
  }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "RemoteWalletBannerTap"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": ["banner_id"],
16
+ "properties": {
17
+ "banner_id": {
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": "RemoteWalletBannerView"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": ["banner_id"],
16
+ "properties": {
17
+ "banner_id": {
18
+ "type": "number"
19
+ }
20
+ },
21
+ "unevaluatedProperties": false
22
+ }
23
+ },
24
+ "unevaluatedProperties": false,
25
+ "required": ["event", "properties"]
26
+ }
@@ -176,6 +176,9 @@
176
176
  {
177
177
  "$ref": "modal-first-fund-view#"
178
178
  },
179
+ {
180
+ "$ref": "modal-migration-warning-view#"
181
+ },
179
182
  {
180
183
  "$ref": "network-easter-egg-activate#"
181
184
  },
@@ -281,6 +284,12 @@
281
284
  {
282
285
  "$ref": "referral-program-send-to-kyc#"
283
286
  },
287
+ {
288
+ "$ref": "remote-wallet-banner-tap#"
289
+ },
290
+ {
291
+ "$ref": "remote-wallet-banner-view#"
292
+ },
284
293
  {
285
294
  "$ref": "restore-wallet-seed-input-complete#"
286
295
  },
@@ -395,6 +404,12 @@
395
404
  {
396
405
  "$ref": "wallet-asset-manager-toggle#"
397
406
  },
407
+ {
408
+ "$ref": "wallet-asset-migrate#"
409
+ },
410
+ {
411
+ "$ref": "wallet-asset-migration-modal-view#"
412
+ },
398
413
  {
399
414
  "$ref": "wallet-asset-network-manual-refresh#"
400
415
  },
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "ModalMigrationWarningView"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": ["network"],
16
+ "properties": {
17
+ "network": {
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,40 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetMigrate"
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
+ "amount": {
22
+ "type": "number"
23
+ },
24
+ "amount_usd": {
25
+ "type": "number"
26
+ },
27
+ "success": {
28
+ "type": "boolean"
29
+ },
30
+ "network": {
31
+ "type": "string",
32
+ "format": "any-string"
33
+ }
34
+ },
35
+ "unevaluatedProperties": false
36
+ }
37
+ },
38
+ "unevaluatedProperties": false,
39
+ "required": ["event", "properties"]
40
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetMigrationModalView"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": ["asset_name", "network"],
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
+ }
@@ -18,10 +18,10 @@
18
18
  "type": "boolean"
19
19
  },
20
20
  "amount": {
21
- "type": "string"
21
+ "type": "number"
22
22
  },
23
23
  "amount_usd": {
24
- "type": "string"
24
+ "type": "number"
25
25
  },
26
26
  "asset_name": {
27
27
  "type": "string"
@@ -18,10 +18,10 @@
18
18
  "type": "boolean"
19
19
  },
20
20
  "amount": {
21
- "type": "string"
21
+ "type": "number"
22
22
  },
23
23
  "amount_usd": {
24
- "type": "string"
24
+ "type": "number"
25
25
  },
26
26
  "asset_name": {
27
27
  "type": "string"
@@ -22,6 +22,12 @@
22
22
  },
23
23
  "network": {
24
24
  "type": "string"
25
+ },
26
+ "staked_amount": {
27
+ "type": "number"
28
+ },
29
+ "staked_amount_usd": {
30
+ "type": "number"
25
31
  }
26
32
  },
27
33
  "unevaluatedProperties": false