@spiffcommerce/core 0.10.135 → 0.10.137

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/types.d.ts CHANGED
@@ -360,6 +360,9 @@ interface SVGCreateOpts {
360
360
  declare class IllustrationStepService implements StepService<_IllustrationStepData1> {
361
361
  getIllustrationBody(src: string): Promise<string>;
362
362
  getCreateElementCommand(id: string, region: Region, layout: _ILayout1, options: SVGCreateOpts): _CreateElementCommand1<_IllustrationElement1>;
363
+ getColors(stepData: _Step1<_IllustrationStepData1>, workflowManager: WorkflowManager): {
364
+ [key: string]: _ColorDefinition1;
365
+ } | never[];
363
366
  init(stepData: _Step1<_IllustrationStepData1>, workflowManager: WorkflowManager, reducerState?: _LayoutsState1): Promise<CommandWithFollowup | null>;
364
367
  availableColors(stepData: _Step1<_IllustrationStepData1>, workflowManager: WorkflowManager): Promise<{
365
368
  fill: string | undefined;
@@ -1273,7 +1276,7 @@ export class IllustrationStepHandle extends StepHandle<_IllustrationStepData1> {
1273
1276
  */
1274
1277
  getColors(): {
1275
1278
  [key: string]: import("@spiffcommerce/papyrus").ColorDefinition;
1276
- } | undefined;
1279
+ } | never[];
1277
1280
  /**
1278
1281
  * Set color for the illustration.
1279
1282
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "0.10.135",
3
+ "version": "0.10.137",
4
4
  "description": "Core client API for interacting with the Spiff Commerce backend.",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",