@spiffcommerce/core 21.6.0 → 21.6.2-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 +6 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +128 -118
- package/dist/index.umd.cjs +10 -10
- package/package.json +1 -1
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.6.0] - 22-03-2024
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- `WorkflowExperienceEventType.PriceBreakChanged`: The relevant event fires whenever the price break to be used in a WorkflowExperience changes. This even will fire when the quantity changes, and will also fire when in a Bundle when other WorkflowExperiences using the same Product have quantity changes (or are added & removed from the Bundle).
|
|
13
|
+
|
|
8
14
|
## [21.5.0] - 22-03-2024
|
|
9
15
|
|
|
10
16
|
### Changed
|
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
|
*/
|