@exodus/analytics-validation 2.11.2 → 2.13.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.13.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.12.0...@exodus/analytics-validation@2.13.0) (2024-03-07)
7
+
8
+ ### Features
9
+
10
+ - add schema for analytics events ([#6016](https://github.com/ExodusMovement/exodus-hydra/issues/6016)) ([39618f1](https://github.com/ExodusMovement/exodus-hydra/commit/39618f1f4c18189ce6795f53028f45f34cef6076))
11
+
12
+ ## [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)
13
+
14
+ ### Features
15
+
16
+ - add schema for SettingsLanguageTap ([#6002](https://github.com/ExodusMovement/exodus-hydra/issues/6002)) ([4c2ef04](https://github.com/ExodusMovement/exodus-hydra/commit/4c2ef04b55781ece7f90e0782a76dd4156615a2f))
17
+
6
18
  ## [2.11.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.11.0...@exodus/analytics-validation@2.11.2) (2024-02-20)
7
19
 
8
20
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.11.2",
3
+ "version": "2.13.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": {
@@ -22,16 +22,14 @@
22
22
  ],
23
23
  "scripts": {
24
24
  "build": "node scripts/build-schemasafe.js",
25
- "lint": "eslint . --ignore-path ../../.gitignore",
25
+ "lint": "run -T eslint . --ignore-path ../../.gitignore",
26
26
  "lint:fix": "yarn lint --fix",
27
27
  "test": "yarn build && jest",
28
28
  "prepublishOnly": "yarn run -T build --scope @exodus/analytics-validation"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@exodus/schemasafe": "^1.0.0",
32
- "@exodus/schemasafe-babel-plugin": "^1.1.0",
33
- "eslint": "^8.44.0",
34
- "jest": "^29.1.2"
32
+ "@exodus/schemasafe-babel-plugin": "^1.1.0"
35
33
  },
36
34
  "nx": {
37
35
  "targets": {
@@ -42,5 +40,5 @@
42
40
  }
43
41
  }
44
42
  },
45
- "gitHead": "d93706acc8e32cd44b8684b91898217b95cfdded"
43
+ "gitHead": "bf362953123b58dcf613d59572c64e5bdfc5f9de"
46
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
+ }
@@ -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
  },
@@ -287,6 +293,9 @@
287
293
  {
288
294
  "$ref": "settings-default-wallet-toggle#"
289
295
  },
296
+ {
297
+ "$ref": "settings-language-tap#"
298
+ },
290
299
  {
291
300
  "$ref": "settings-lightning-higher-limits-toggle#"
292
301
  },
@@ -368,6 +377,12 @@
368
377
  {
369
378
  "$ref": "wallet-asset-receive-view#"
370
379
  },
380
+ {
381
+ "$ref": "wallet-asset-send-advanced-options-save#"
382
+ },
383
+ {
384
+ "$ref": "wallet-asset-send-advanced-options-view#"
385
+ },
371
386
  {
372
387
  "$ref": "wallet-asset-send-no-gas#"
373
388
  },
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "SettingsLanguageTap"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "language": {
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,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,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
+ }