@exodus/analytics-validation 2.43.0 → 2.44.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.44.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.43.1...@exodus/analytics-validation@2.44.0) (2024-10-21)
7
+
8
+ ### Features
9
+
10
+ - **exchange:** send orderId to timeTrace ([#10090](https://github.com/ExodusMovement/exodus-hydra/issues/10090)) ([cee9cfb](https://github.com/ExodusMovement/exodus-hydra/commit/cee9cfba671f7f62eca1b1c3b674e8937d4a9014))
11
+
12
+ ## [2.43.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.43.0...@exodus/analytics-validation@2.43.1) (2024-10-18)
13
+
14
+ ### Bug Fixes
15
+
16
+ - adjust RestoreWalletSeedInputComplete to match snakeCase convert ([#10062](https://github.com/ExodusMovement/exodus-hydra/issues/10062)) ([cd26007](https://github.com/ExodusMovement/exodus-hydra/commit/cd260077d4ac2a224fa2837f21443d411ec6beb9))
17
+
6
18
  ## [2.43.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.42.0...@exodus/analytics-validation@2.43.0) (2024-10-14)
7
19
 
8
20
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.43.0",
3
+ "version": "2.44.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": "0c8bee673e0069ab8ae662326fd27306b5e03b01"
43
+ "gitHead": "03763c043473e2291656faa96ebf1a4f798bf553"
44
44
  }
@@ -28,8 +28,8 @@ getSchemas({ schemaDir, schemaNames })
28
28
  // Source: https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
29
29
  const semVerRegEx =
30
30
  // eslint-disable-next-line sonarjs/regex-complexity
31
- /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[A-Za-z-][\dA-Za-z-]*)(?:\.(?:0|[1-9]\d*|\d*[A-Za-z-][\dA-Za-z-]*))*))?(?:\+([\dA-Za-z-]+(?:\.[\dA-Za-z-]+)*))?$/
32
- const localeRegEx = /^[A-Za-z]{2,8}([_-][\dA-Za-z]{1,8}){0,2}$/
31
+ /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[A-Za-z-][\dA-Za-z-]*)(?:\.(?:0|[1-9]\d*|\d*[A-Za-z-][\dA-Za-z-]*))*))?(?:\+([\dA-Za-z-]+(?:\.[\dA-Za-z-]+)*))?$/u
32
+ const localeRegEx = /^[A-Za-z]{2,8}([_-][\dA-Za-z]{1,8}){0,2}$/u
33
33
  // NOTE: this is exported so consumers can use the same settings at runtime
34
34
  // as were used to compile schemas at build time
35
35
  module.exports = {
@@ -73,6 +73,9 @@
73
73
  },
74
74
  "total_exchange": {
75
75
  "type": "number"
76
+ },
77
+ "order_id": {
78
+ "type": "string"
76
79
  }
77
80
  },
78
81
  "unevaluatedProperties": false
@@ -24,25 +24,25 @@
24
24
  "restored_asset_count": {
25
25
  "type": "number"
26
26
  },
27
- "restored_asset1_name": {
27
+ "restored_asset_1_name": {
28
28
  "type": "string",
29
29
  "format": "any-string"
30
30
  },
31
- "restored_asset1_time": {
31
+ "restored_asset_1_time": {
32
32
  "type": "number"
33
33
  },
34
- "restored_asset2_name": {
34
+ "restored_asset_2_name": {
35
35
  "type": "string",
36
36
  "format": "any-string"
37
37
  },
38
- "restored_asset2_time": {
38
+ "restored_asset_2_time": {
39
39
  "type": "number"
40
40
  },
41
- "restored_asset3_name": {
41
+ "restored_asset_3_name": {
42
42
  "type": "string",
43
43
  "format": "any-string"
44
44
  },
45
- "restored_asset3_time": {
45
+ "restored_asset_3_time": {
46
46
  "type": "number"
47
47
  }
48
48
  },