@spiffcommerce/core 31.0.0 → 31.1.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
@@ -14,6 +14,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
  - `Fixed` for any bug fixes.
15
15
  - `Security` in case of vulnerabilities.
16
16
 
17
+ ## [31.1.0] - 01-09-2025
18
+
19
+ ## Added
20
+
21
+ - The function `ProductCollection.fetchProductsFeed` now supports an additional string parameter to further filter the returned products by name.
22
+
17
23
  ## [31.0.0] - 29-08-2025
18
24
 
19
25
  ## Added
package/dist/index.d.ts CHANGED
@@ -1640,9 +1640,12 @@ declare class ProductCollection {
1640
1640
  * @param limit The maximum number of products to return.
1641
1641
  * @param filters Optional metafield filters to apply to the query.
1642
1642
  * @param tags Optional object of tag filters to apply.
1643
+ * @param sortKey Optional field of the products to sort by.
1644
+ * @param sortDescending Optional boolean to indicate if the sort should be in descending order.
1645
+ * @param quickSearch Optional string to filter products by name.
1643
1646
  * @returns
1644
1647
  */
1645
- fetchProductsFeed(offset: number, limit: number, filters?: ProductMetafieldFilter[], tags?: ProductTagFilter, sortKey?: ProductCollectionProductSortKey, sortDescending?: boolean): Promise<{
1648
+ fetchProductsFeed(offset: number, limit: number, filters?: ProductMetafieldFilter[], tags?: ProductTagFilter, sortKey?: ProductCollectionProductSortKey, sortDescending?: boolean, quickSearch?: string): Promise<{
1646
1649
  items: CollectionProduct[];
1647
1650
  total: number;
1648
1651
  }>;