@spiffcommerce/core 26.21.0 → 26.21.1-beta.9277f4d4-a84b-5ad3-8822-ff3a64c69eb5

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,12 @@ 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.21.1] - 03-04-2025
18
+
19
+ ### Fixed
20
+
21
+ - Fixed a bug around illustrations in global configurations being initializd with the incorrect amount of channel aspects.
22
+
17
23
  ## [26.21.0] - 01-04-2025
18
24
 
19
25
  ### Added
package/dist/index.d.ts CHANGED
@@ -1212,6 +1212,11 @@ interface WorkflowExperience {
1212
1212
  * a fresh transaction.
1213
1213
  */
1214
1214
  copy(): Promise<WorkflowExperience>;
1215
+ /**
1216
+ * Render the SVG corresponding to the given layout ID.
1217
+ * @param layoutId The layout to render.
1218
+ */
1219
+ create2dImage(layoutId: string, resolution?: number, preview?: boolean): Promise<string>;
1215
1220
  /**
1216
1221
  * Creates a data URL preview for the current design.
1217
1222
  */
@@ -1284,6 +1289,7 @@ declare class WorkflowExperienceImpl implements WorkflowExperience {
1284
1289
  getIsReadOnly(): boolean;
1285
1290
  getCommandContext(): CommandContext;
1286
1291
  getWorkflowManager(): WorkflowManager;
1292
+ create2dImage(layoutId: string, resolution?: number, preview?: boolean): Promise<string>;
1287
1293
  createPreviewImage(isThreeD?: boolean, resolution?: number): Promise<string>;
1288
1294
  getStepById(id: string): StepHandle<any> | undefined;
1289
1295
  getSteps(): StepHandle<AnyStepData>[];