@spiffcommerce/core 27.3.0 → 28.0.0-beta.398e84c4-0e3f-5896-b63e-fbda3709ca9d

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
+ ## [28.0.0] - 30-07-2025
18
+
19
+ ## Changed
20
+
21
+ - The `duplicateBundle` method now returns a function that creates a bundle object, rather than creating the object automatically.
22
+
23
+ ## Fixed
24
+
25
+ - Fixed bugs around reloading state.
26
+
17
27
  ## [27.3.0] - 28-07-2025
18
28
 
19
29
  ## Added
package/dist/index.d.ts CHANGED
@@ -2450,7 +2450,7 @@ declare class SpiffCommerceClient {
2450
2450
  * @param duplicateTransactions Optional: Whether to also duplicate the original bundle's transactions. Default is true.
2451
2451
  * @returns A bundle to be used for grouping and operating on large amounts of workflow experiences.
2452
2452
  */
2453
- duplicateBundle(bundleId: string, template?: boolean, duplicateTransactions?: boolean, options?: GetBundleOptions): Promise<Bundle$1>;
2453
+ duplicateBundle(bundleId: string, template?: boolean, duplicateTransactions?: boolean, options?: GetBundleOptions): Promise<() => Promise<Bundle$1>>;
2454
2454
  /**
2455
2455
  * Fetches information about the currently authenticated customer's bundles.
2456
2456
  * NOTE: This does not initialize a bundle for active use.