@spiffcommerce/core 33.7.0 → 33.8.0-beta.67cfe5f9-3d41-5a5c-a256-3ada8faf8201

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
+ ## [33.8.0] - 29-10-2025
18
+
19
+ ### Added
20
+
21
+ - Custom data fields on Conversion Configurations may now optionally link to an Option. You should use this Option to drive the selections and provide the selected variant ID as the user's selection when updating a recipient. This process may be more strongly enforced in the future.
22
+
17
23
  ## [33.4.1] - 21-10-2025
18
24
 
19
25
  ### Fixed
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
  /**
@@ -2953,6 +2956,7 @@ interface Step<T extends AnyStepData = AnyStepData> {
2953
2956
  conditions?: Condition[];
2954
2957
  data: T;
2955
2958
  globalPropertyAspectConfigurations?: GlobalPropertyAspectConfiguration[];
2959
+ conversionConfigurationFieldLinks?: ConversionConfigurationLink[];
2956
2960
  helpText?: string;
2957
2961
  mandatory?: boolean;
2958
2962
  relevantPanelName?: string;
@@ -2968,6 +2972,10 @@ interface GlobalPropertyAspectConfiguration {
2968
2972
  aspectName?: string;
2969
2973
  globalPropertyConfigurationId?: string;
2970
2974
  }
2975
+ interface ConversionConfigurationLink {
2976
+ identifier?: string;
2977
+ conversionConfigurationId?: string;
2978
+ }
2971
2979
  interface GlobalPropertyConfiguration {
2972
2980
  id: string;
2973
2981
  aspects: GlobalPropertyConfigurationAspect[];