@spiffcommerce/core 0.10.81 → 0.10.82

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +11 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -1330,6 +1330,17 @@ export interface WorkflowExperience {
1330
1330
  * @param scene The scene you want the steps for.
1331
1331
  */
1332
1332
  getStepsByScene(scene: StepGroup): StepHandle<_AnyStepData1>[];
1333
+ /**
1334
+ * Saves this experience to storage. This may be local or remote depending
1335
+ * on configuration.
1336
+ * @param title The title for the saved design.
1337
+ */
1338
+ save(title: string): Promise<void>;
1339
+ /**
1340
+ * Returns a copy of the currently loaded design as a new, seperated workflow experience with
1341
+ * a fresh transaction.
1342
+ */
1343
+ copy(): Promise<WorkflowExperience>;
1333
1344
  /**
1334
1345
  * Creates a data URL preview for the current design.
1335
1346
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "0.10.81",
3
+ "version": "0.10.82",
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",