@spiffcommerce/core 33.8.2 → 33.8.3-beta.251abb66-fb4c-5c86-9e9e-f867d92d2849

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
@@ -2095,7 +2095,7 @@ interface Bundle$1 {
2095
2095
  getQuoteCompleteMessage(): CompleteQuoteMessage;
2096
2096
  applyGlobalPropertyState(state: GlobalPropertyState): Promise<void>;
2097
2097
  getIntegrationProductIds(): undefined | string[];
2098
- addIntegrationProductId(id: string): void;
2098
+ addIntegrationProductId(id: string): Promise<void>;
2099
2099
  }
2100
2100
 
2101
2101
  /**
@@ -6062,7 +6062,7 @@ interface AddressValidationJob {
6062
6062
  * @param workflowExperiences The Workflow Experiences to fetch jobs for.
6063
6063
  * @returns The associated Address Validation Jobs for the requested Workflow Experiences.
6064
6064
  */
6065
- declare const getValidationJobsForWorkflowExperiences: (workflowExperiences: WorkflowExperience[]) => Promise<(AddressValidationJob | undefined)[] | undefined>;
6065
+ declare const getValidationJobsForWorkflowExperiences: (workflowExperiences: WorkflowExperience[]) => Promise<(AddressValidationJob | undefined)[]>;
6066
6066
  /**
6067
6067
  * Retrieves an up-to-date version of the requested Address Validation Jobs.
6068
6068
  * If a Job has been completed, the validation result will be present on the object.
@@ -6083,7 +6083,7 @@ declare const validateWorkflowExperienceRecipient: (workflowExperience: Workflow
6083
6083
  * If an input Workflow Experience does not have a recipient, the associated Job will be `undefined`.
6084
6084
  * The Jobs will likely be incomplete; consider polling `getAddressValidationJobs` with the ids of the Jobs you get from this function.
6085
6085
  */
6086
- declare const validateWorkflowExperienceRecipients: (workflowExperiences: WorkflowExperience[]) => Promise<(AddressValidationJob | undefined)[] | undefined>;
6086
+ declare const validateWorkflowExperienceRecipients: (workflowExperiences: WorkflowExperience[]) => Promise<(AddressValidationJob | undefined)[]>;
6087
6087
  /**
6088
6088
  * Override the address of a specific workflow experience recipient
6089
6089
  * @param workflowExperience The Workflow Experience to override. If this does not have a recipient attached, the function will immediately resolve.