@spiffcommerce/core 21.6.1 → 21.7.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
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [21.7.0] - 25-03-2024
9
+
10
+ ### Added
11
+
12
+ - `CollectionProduct.getAllWorkflows(): ProductWorkflow[]`: Returns all workflows associated with this product.
13
+
8
14
  ## [21.6.0] - 22-03-2024
9
15
 
10
16
  ### Added
package/dist/index.d.ts CHANGED
@@ -1892,6 +1892,10 @@ declare class CollectionProduct {
1892
1892
  * A helper function for pulling the default workflow.
1893
1893
  */
1894
1894
  getDefaultWorkflow(): ProductWorkflow;
1895
+ /**
1896
+ * @returns All workflows associated with this Product.
1897
+ */
1898
+ getAllWorkflows(): ProductWorkflow[];
1895
1899
  /**
1896
1900
  * A list of all integrations this product is connected to.
1897
1901
  */