@spiffcommerce/core 0.10.123 → 0.10.125

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
@@ -1256,6 +1256,7 @@ export abstract class StepHandle<T extends _AnyStepData1> {
1256
1256
  * @returns The type of the step handle.
1257
1257
  */
1258
1258
  getType(): _StepType1;
1259
+ getHelpText(): string | undefined;
1259
1260
  }
1260
1261
  export class IllustrationStepHandle extends StepHandle<_IllustrationStepData1> {
1261
1262
  constructor(manager: WorkflowManager, step: _Step1<_IllustrationStepData1>);
@@ -1303,6 +1304,14 @@ export class PictureStepHandle extends StepHandle<_PictureStepData1> {
1303
1304
  */
1304
1305
  selectVariant(variant: _VariantResource1): Promise<void>;
1305
1306
  }
1307
+ export class QuestionStepHandle extends StepHandle<_QuestionStepData1> {
1308
+ constructor(manager: WorkflowManager, step: _Step1<_QuestionStepData1>);
1309
+ selectVariant(variant: _VariantResource1): Promise<void>;
1310
+ /**
1311
+ * The way that this step expects to be rendered.
1312
+ */
1313
+ getDisplayType(): string | undefined;
1314
+ }
1306
1315
  interface TextChangeResult {
1307
1316
  input: string;
1308
1317
  helperText?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "0.10.123",
3
+ "version": "0.10.125",
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",