@spiffcommerce/core 34.3.0 → 34.4.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 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
+ ## [34.3.1] - 10-12-2025
18
+
19
+ ### Fixed
20
+
21
+ - Designs will now be updated on the server when the user modifies the design after initial creation.
22
+
17
23
  ## [34.0.0] - 12-11-2025
18
24
 
19
25
  ### Changed
package/dist/index.d.ts CHANGED
@@ -2971,6 +2971,7 @@ interface Step<T extends AnyStepData = AnyStepData> {
2971
2971
  relevantPanelName?: string;
2972
2972
  silent?: boolean;
2973
2973
  option?: OptionResource;
2974
+ overrideDefaultVariantId?: string;
2974
2975
  optionId?: string;
2975
2976
  stepName: string;
2976
2977
  stepTitle: string;
@@ -4954,7 +4955,7 @@ declare class OptionService {
4954
4955
  */
4955
4956
  getOption(id: string): Promise<undefined | OptionResource>;
4956
4957
  getAssetTileImageForVariant(variant: VariantResource): Promise<string>;
4957
- getDefaultVariant(option: OptionResource): VariantResource | undefined;
4958
+ getDefaultVariant: (option: OptionResource, overrideDefaultVariantId?: string) => VariantResource | undefined;
4958
4959
  /**
4959
4960
  * Returns the first variant marked as selected. This is used by most steps.
4960
4961
  */