ebay-api 9.4.1 → 9.4.3

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/README.md CHANGED
@@ -75,7 +75,7 @@ For more examples, check out the [examples directory](./examples).
75
75
 
76
76
  ## Changelog
77
77
 
78
- * `v9.4.1` is the latest release.
78
+ * `v9.4.3` is the latest release.
79
79
  * See [here](https://github.com/hendt/ebay-api/blob/master/CHANGELOG.md) for the full changelog.
80
80
 
81
81
  ## Implementation status
@@ -1,4 +1,3 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
1
  import { operations } from '../../../../types/restful/specs/commerce_taxonomy_v1_oas3.js';
3
2
  import Restful, { OpenApi } from '../../index.js';
4
3
  export default class Taxonomy extends Restful implements OpenApi<operations> {
@@ -51,7 +51,7 @@ class Taxonomy extends Restful {
51
51
  params: {
52
52
  category_id: categoryId,
53
53
  compatibility_property: compatibilityProperty,
54
- filter
54
+ ...(filter?.trim() && { filter })
55
55
  }
56
56
  });
57
57
  }