@spiffcommerce/core 33.8.0 → 33.8.2-beta.121499d5-b719-583f-9bfe-36a9132cdfd7

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,16 @@ 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
+ ## [33.8.3] - 03-11-2025
18
+
19
+ ### Fixed
20
+
21
+ - `Bundle.addIntegrationProductId` no longer adds duplicate integration product ids. The callback event is however still fired.
22
+
23
+ ### Changed
24
+
25
+ - `Bundle.addIntegrationProductId` is now asynchronous.
26
+
17
27
  ## [33.8.0] - 29-10-2025
18
28
 
19
29
  ### Added
package/dist/index.d.ts CHANGED
@@ -1295,6 +1295,7 @@ interface WorkflowExperience {
1295
1295
  removeEventListener(type: WorkflowExperienceEventType, callback: (workflowExperience: WorkflowExperience) => void): void;
1296
1296
  attachAddress(streetAddress?: string, apartment?: string, city?: string, country?: string, state?: string, postCode?: string): Promise<void>;
1297
1297
  attachOrganization(name: string): Promise<void>;
1298
+ callEvent(type: WorkflowExperienceEventType): any;
1298
1299
  }
1299
1300
  type ExportedStepDataPropertyType = "selection" | "color" | "image" | "text";
1300
1301
  interface ExportedStepDataProperty {
@@ -1308,8 +1309,10 @@ interface ExportedStepData {
1308
1309
  properties: ExportedStepDataProperty[];
1309
1310
  }
1310
1311
  declare enum WorkflowExperienceEventType {
1311
- QuantityChanged = "QuantityChanged",
1312
1312
  PriceBreakChanged = "PriceBreakChanged",
1313
+ ProductChanged = "ProductChanged",
1314
+ QuantityChanged = "QuantityChanged",
1315
+ RecipientChanged = "RecipientChanged",
1313
1316
  SelectionChanged = "SelectionChanged"
1314
1317
  }
1315
1318
  declare class WorkflowExperienceImpl implements WorkflowExperience {
@@ -1384,7 +1387,7 @@ declare class WorkflowExperienceImpl implements WorkflowExperience {
1384
1387
  setQuantity(quantity: number): Promise<void>;
1385
1388
  addEventListener(type: WorkflowExperienceEventType, callback: (workflowExperience: WorkflowExperience) => void): void;
1386
1389
  removeEventListener(type: WorkflowExperienceEventType, callback: (workflowExperience: WorkflowExperience) => void): void;
1387
- private callEvent;
1390
+ callEvent(type: WorkflowExperienceEventType): void;
1388
1391
  }
1389
1392
 
1390
1393
  /**
@@ -2092,7 +2095,7 @@ interface Bundle$1 {
2092
2095
  getQuoteCompleteMessage(): CompleteQuoteMessage;
2093
2096
  applyGlobalPropertyState(state: GlobalPropertyState): Promise<void>;
2094
2097
  getIntegrationProductIds(): undefined | string[];
2095
- addIntegrationProductId(id: string): void;
2098
+ addIntegrationProductId(id: string): Promise<void>;
2096
2099
  }
2097
2100
 
2098
2101
  /**