@spiffcommerce/core 22.2.1 → 22.2.2
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 +5 -0
- package/dist/index.js +246 -242
- package/dist/index.umd.cjs +12 -12
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2115,6 +2115,10 @@ interface WorkflowManager {
|
|
|
2115
2115
|
* Returns the client that was responsible for spawning this manager.
|
|
2116
2116
|
*/
|
|
2117
2117
|
getClient(): SpiffCommerceClient;
|
|
2118
|
+
/**
|
|
2119
|
+
* Returns the worjkflow experience that was responsible for creating this manager.
|
|
2120
|
+
*/
|
|
2121
|
+
getWorkflowExperience(): WorkflowExperience;
|
|
2118
2122
|
/**
|
|
2119
2123
|
* Re-fetches the transactionShareActions for this WorkflowManager's Transaction object.
|
|
2120
2124
|
* The updated transactionShareActions overwrite the existing values on the Transaction object returned by `getTransaction()`.
|
|
@@ -3060,6 +3064,7 @@ declare const digitalContentStepService: DigitalContentStepService;
|
|
|
3060
3064
|
declare class MockWorkflowManager implements WorkflowManager {
|
|
3061
3065
|
private client;
|
|
3062
3066
|
getClient(): SpiffCommerceClient;
|
|
3067
|
+
getWorkflowExperience(): WorkflowExperience;
|
|
3063
3068
|
setClient(client: SpiffCommerceClient): void;
|
|
3064
3069
|
getInitializationPromise(): Promise<void>;
|
|
3065
3070
|
getProduct: () => Product;
|