@ethlete/query 5.30.0 → 5.30.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
@@ -1,5 +1,11 @@
1
1
  # @ethlete/query
2
2
 
3
+ ## 5.30.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ca5f51a`](https://github.com/ethlete-io/ethdk/commit/ca5f51a8a04583126bbc946d110137f28f9f2b36) Thanks [@TomTomB](https://github.com/TomTomB)! - Only set error list is list to true if there is more than 1 error inside
8
+
3
9
  ## 5.30.0
4
10
 
5
11
  ### Minor Changes
@@ -3492,7 +3492,7 @@ const createQueryErrorResponse = (error) => {
3492
3492
  errorList.push({ message: error });
3493
3493
  }
3494
3494
  }
3495
- if (errorList.length > 0) {
3495
+ if (errorList.length > 1) {
3496
3496
  return {
3497
3497
  isList: true,
3498
3498
  errors: errorList,