@spiffcommerce/core 15.0.3 → 15.1.0

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
@@ -2007,14 +2007,14 @@ export class WorkflowExperienceImpl implements WorkflowExperience {
2007
2007
  getWorkflowManager(): WorkflowManager;
2008
2008
  updateVariationRecords(variationRecords: VariationRecord[]): Promise<void>;
2009
2009
  createPreviewImage(isThreeD?: boolean, resolution?: number): Promise<string>;
2010
- getStepById(id: string): BulkStepHandle | import("index").IllustrationStepHandle | import("index").MaterialStepHandle | import("index").ModelStepHandle | import("index").PictureStepHandle | import("index").QuestionStepHandle | import("index").ShapeStepHandle | import("index").TextStepHandle | import("index").FrameStepHandle | undefined;
2010
+ getStepById(id: string): BulkStepHandle | import("index").IllustrationStepHandle | import("index").MaterialStepHandle | import("index").ModelStepHandle | import("index").PictureStepHandle | import("index").QuestionStepHandle | import("index").ShapeStepHandle | import("index").TextStepHandle | import("stepHandles/steps/information").InformationStepHandle | import("index").FrameStepHandle | undefined;
2011
2011
  getSteps(): StepHandle<_AnyStepData1>[];
2012
2012
  getScenes(): Scene[];
2013
2013
  getSelectionPriceSubunits(): number;
2014
2014
  getBasePriceSubunits(): number;
2015
2015
  getTotalPriceSubunits(): number;
2016
2016
  getBulkStep(): BulkStepHandle | undefined;
2017
- getStepByName(name: string): BulkStepHandle | import("index").IllustrationStepHandle | import("index").MaterialStepHandle | import("index").ModelStepHandle | import("index").PictureStepHandle | import("index").QuestionStepHandle | import("index").ShapeStepHandle | import("index").TextStepHandle | import("index").FrameStepHandle | undefined;
2017
+ getStepByName(name: string): BulkStepHandle | import("index").IllustrationStepHandle | import("index").MaterialStepHandle | import("index").ModelStepHandle | import("index").PictureStepHandle | import("index").QuestionStepHandle | import("index").ShapeStepHandle | import("index").TextStepHandle | import("stepHandles/steps/information").InformationStepHandle | import("index").FrameStepHandle | undefined;
2018
2018
  getStepsByType(type: _StepType1): StepHandle<_AnyStepData1>[];
2019
2019
  getStepsByScene(scene: Scene): StepHandle<_AnyStepData1>[];
2020
2020
  attachCustomerDetails(details: {
@@ -2572,6 +2572,7 @@ export class SpiffCommerceClient {
2572
2572
  * @returns The transaction associated with this client.
2573
2573
  */
2574
2574
  getTransaction(): Transaction;
2575
+ storeCustomer(customer: Customer): void;
2575
2576
  }
2576
2577
  export class MockWorkflowManager implements WorkflowManager {
2577
2578
  getInitializationPromise(): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "15.0.3",
3
+ "version": "15.1.0",
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",
@@ -89,7 +89,7 @@
89
89
  },
90
90
  "dependencies": {
91
91
  "@apollo/client": "^3.7.0",
92
- "@spiffcommerce/papyrus": "5.0.4",
92
+ "@spiffcommerce/papyrus": "5.0.6",
93
93
  "cross-fetch": "^3.1.5",
94
94
  "graphql": "^16.6.0",
95
95
  "lodash.clonedeep": "^4.5.0",