@spiffcommerce/core 33.9.0 → 33.10.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/dist/index.d.ts CHANGED
@@ -2538,7 +2538,7 @@ declare class SpiffCommerceClient {
2538
2538
  /**
2539
2539
  * @deprecated use GetBundleOptions instead. This attribute will be removed in the future.
2540
2540
  */
2541
- graphqlOptions?: GetBundleGraphqlOptions, options?: GetBundleOptions): Promise<Bundle$1>;
2541
+ graphqlOptions?: GetBundleGraphqlOptions, options?: GetBundleOptions, transactionLoadProgressCallback?: (loaded: number, total: number) => void): Promise<Bundle$1>;
2542
2542
  /**
2543
2543
  * @param bundleId The id of the bundle to copy. The current context must have write access to the this bundle in order to duplicate it.
2544
2544
  * @param template Optional: Whether to mark the new bundle as a template. Default is false.
@@ -2588,7 +2588,7 @@ declare class SpiffCommerceClient {
2588
2588
  * @param graphqlOptions Options to configure loading the workflows.
2589
2589
  * @returns An array of workflow experiences configured as requested.
2590
2590
  */
2591
- getWorkflowExperiences(optionsArray: GetWorkflowOptions[], graphqlOptions?: GetWorkflowGraphqlOptions, transactionInitializedCallback?: () => void): Promise<WorkflowExperience[]>;
2591
+ getWorkflowExperiences(optionsArray: GetWorkflowOptions[], graphqlOptions?: GetWorkflowGraphqlOptions, transactionInitializedCallback?: () => void, transactionLoadProgressCallback?: (loaded: number, total: number) => void): Promise<WorkflowExperience[]>;
2592
2592
  /**
2593
2593
  * A function used to synchronize transaction state with the server.
2594
2594
  * @param options New state details. To be spread into the query.