@spiffcommerce/core 15.0.1 → 15.0.2-alpha.1
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/main.js +82 -52
- package/dist/module.js +75 -45
- package/dist/types.d.ts +2 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -2289,8 +2289,9 @@ export interface Bundle {
|
|
|
2289
2289
|
* Finalizes all experiences within the bundle. This will return a promise that resolves when all experiences have been finalized.
|
|
2290
2290
|
* The promise resolves with a list of messages that indicate the status of each experience including
|
|
2291
2291
|
* helpful details like what product to add to cart on supported e-commerce platforms.
|
|
2292
|
+
* @param onProgressUpdate A callback that will be called when the progress of the finalization changes.
|
|
2292
2293
|
*/
|
|
2293
|
-
finish(): Promise<DesignCreationMessage[]>;
|
|
2294
|
+
finish(onProgressUpdate?: DesignCreationProgressUpdate): Promise<DesignCreationMessage[]>;
|
|
2294
2295
|
/**
|
|
2295
2296
|
* Add an event listener to this bundle.
|
|
2296
2297
|
* @param event The event to listen for. Currently only "conditional-global-properties-changed" is supported.
|