@spiffcommerce/core 0.10.45 → 0.10.47

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
@@ -264,18 +264,12 @@ declare class FrameStepService implements StepService<_FrameStepData1> {
264
264
  export const frameStepService: FrameStepService;
265
265
  declare class MaterialStepService implements StepService<_MaterialStepData1> {
266
266
  init(stepData: _Step1<_MaterialStepData1>, workflowManager: WorkflowManager, reducerState?: _LayoutsState1): Promise<null | CommandWithFollowup>;
267
- selectVariant(step: _Step1<_MaterialStepData1>, variant: _VariantResource1, workflowManager: WorkflowManager, setApplying: (status: boolean) => void): Promise<{
268
- command: any;
269
- followup: () => Promise<void>;
270
- }>;
267
+ selectVariant(step: _Step1<_MaterialStepData1>, variant: _VariantResource1, workflowManager: WorkflowManager, setApplying: (status: boolean) => void): Promise<void>;
271
268
  }
272
269
  export const materialStepService: MaterialStepService;
273
270
  declare class ModelStepService implements StepService<_ModelStepData1> {
274
271
  init(stepData: _Step1<_ModelStepData1>, workflowManager: WorkflowManager, reducerState?: _LayoutsState1): Promise<null | CommandWithFollowup>;
275
- selectVariant(step: _Step1<_ModelStepData1>, variant: _VariantResource1, workflowManager: WorkflowManager, setApplying: (status: boolean) => void): Promise<{
276
- command: any;
277
- followup: () => Promise<void>;
278
- }>;
272
+ selectVariant(step: _Step1<_ModelStepData1>, variant: _VariantResource1, workflowManager: WorkflowManager, setApplying: (status: boolean) => void): Promise<void>;
279
273
  }
280
274
  export const modelStepService: ModelStepService;
281
275
  declare class ModuleStepService implements StepService<_ModuleStepData1> {
@@ -301,10 +295,7 @@ declare class PictureStepService implements StepService<_PictureStepData1> {
301
295
  export const pictureStepService: PictureStepService;
302
296
  declare class QuestionStepService implements StepService<_QuestionStepData1> {
303
297
  init(stepData: _Step1<_QuestionStepData1>, workflowManager: WorkflowManager, reducerState?: _LayoutsState1): Promise<null | CommandWithFollowup>;
304
- selectVariant(stepData: _Step1<_QuestionStepData1>, variantId: string, workflowManager: WorkflowManager): Promise<{
305
- command: any;
306
- followup: () => Promise<void>;
307
- }>;
298
+ selectVariant(stepData: _Step1<_QuestionStepData1>, variantId: string, workflowManager: WorkflowManager): Promise<void>;
308
299
  }
309
300
  export const questionStepService: QuestionStepService;
310
301
  declare class ShapeStepService implements StepService<_ShapeStepData1> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "0.10.45",
3
+ "version": "0.10.47",
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",
@@ -80,7 +80,7 @@
80
80
  },
81
81
  "dependencies": {
82
82
  "@apollo/client": "^3.7.0",
83
- "@spiffcommerce/papyrus": "^1.5.17",
83
+ "@spiffcommerce/papyrus": "^1.5.18",
84
84
  "canvg": "https://github.com/spiffdev/canvg.git#03bcd151b12441e88ecb552bb658356f5bbe92c4",
85
85
  "cross-fetch": "^3.1.5",
86
86
  "graphql": "^16.6.0",