@spiffcommerce/core 26.11.0 → 26.13.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,18 @@ 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
+ ## [26.13.0] - 27-02-2025
18
+
19
+ ### Changed
20
+
21
+ - The selectVariant method of ColorOptionGlobalPropertyHandle objects now has an optional `channel` parameter for color channels.
22
+
23
+ ## [26.12.0] - 26-02-2025
24
+
25
+ ### Changed
26
+
27
+ - The global function `getIntegration` now supports a second parameter, `themeConfigurationId`, which allows you to override the Theme Configuration that is returned on the object.
28
+
17
29
  ## [26.11.0] - 24-02-2025
18
30
 
19
31
  ### Changed
package/dist/index.d.ts CHANGED
@@ -1446,7 +1446,7 @@ declare class OptionGlobalPropertyHandle extends GlobalPropertyHandle {
1446
1446
  * Select a given variant on the option for all shared steps.
1447
1447
  * @param variant The variant to select.
1448
1448
  */
1449
- selectVariant(variant: Variant): Promise<void>;
1449
+ selectVariant(variant: Variant, channel?: number): Promise<void>;
1450
1450
  applyGlobalState(targetExperiences?: WorkflowExperience[]): Promise<void>;
1451
1451
  private applyVariantSelection;
1452
1452
  }
@@ -1461,7 +1461,7 @@ declare class ColorOptionGlobalPropertyHandle extends OptionGlobalPropertyHandle
1461
1461
  * Select a given variant on the option for all shared steps.
1462
1462
  * @param variant The variant to select.
1463
1463
  */
1464
- selectVariant(variant: Variant): Promise<void>;
1464
+ selectVariant(variant: Variant, channel?: number): Promise<void>;
1465
1465
  applyGlobalState(targetExperiences?: WorkflowExperience[]): Promise<void>;
1466
1466
  private applyColorVariant;
1467
1467
  /**
@@ -2356,7 +2356,7 @@ declare class SpiffCommerceClient {
2356
2356
  getShareActionsForTransaction(transactionId: string): Promise<ShareAction[] | undefined>;
2357
2357
  placeOrder(orderItems: OrderItem[]): Promise<Order>;
2358
2358
  }
2359
- declare const getIntegration: (applicationKey: string) => Promise<Integration>;
2359
+ declare const getIntegration: (applicationKey: string, themeConfigurationId?: string) => Promise<Integration>;
2360
2360
  declare const getTransaction: (transactionId: string) => Promise<Transaction | undefined>;
2361
2361
  declare const getOverrideThemeConfiguration: (overrideThemeConfigurationId: string, overrideThemeInstallId: string) => Promise<ThemeInstallConfigurationGraphQl | undefined>;
2362
2362
  declare const getBundleThemeConfiguration: (bundleId: string) => Promise<ThemeInstallConfigurationGraphQl | undefined>;