@spiffcommerce/core 32.3.0-beta.69d8a509-cc6d-54dc-80c5-1c8b6fee8d45 → 32.3.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
@@ -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
+ ## [32.3.1] - 09-10-2025
18
+
19
+ ## Added
20
+
21
+ - Added the `SelectionChanged` event to `WorkflowExperienceEventType`. This event fires whenever the selection in a workflow experience changes. This includes changes to variant selections.
22
+
17
23
  ## [32.3.0] - 08-10-2025
18
24
 
19
25
  ## Added
package/dist/index.d.ts CHANGED
@@ -1258,6 +1258,7 @@ interface WorkflowExperience {
1258
1258
  setQuantity(quantity: number): Promise<void>;
1259
1259
  /**
1260
1260
  * Registers a callback function to be called when the specified event is raised.
1261
+ * TODO: We should include a second param to pass information about the event?
1261
1262
  * @param type The type of event to listen for.
1262
1263
  * @param callback The function to call when the event occurs.
1263
1264
  */
@@ -1284,7 +1285,8 @@ interface ExportedStepData {
1284
1285
  }
1285
1286
  declare enum WorkflowExperienceEventType {
1286
1287
  QuantityChanged = "QuantityChanged",
1287
- PriceBreakChanged = "PriceBreakChanged"
1288
+ PriceBreakChanged = "PriceBreakChanged",
1289
+ SelectionChanged = "SelectionChanged"
1288
1290
  }
1289
1291
  declare class WorkflowExperienceImpl implements WorkflowExperience {
1290
1292
  readonly client: SpiffCommerceClient;