@spiffcommerce/core 0.10.65 → 0.10.67

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
@@ -565,6 +565,7 @@ export interface DesignCreationMessage {
565
565
  selectedVariants?: SelectedVariants;
566
566
  sku?: string;
567
567
  workflowViewerLink: string;
568
+ workflowViewerReadOnlyLink: string;
568
569
  }
569
570
  /**
570
571
  * Represents a transaction.
@@ -633,6 +634,7 @@ export interface Transaction {
633
634
  * URL to open the transaction in the workflow viewer.
634
635
  */
635
636
  workflowViewerLink?: string;
637
+ workflowViewerReadOnlyLink?: string;
636
638
  bulkSourceUrl?: string;
637
639
  bulkEmailAddress?: string;
638
640
  lastSyncedAt?: string;
@@ -1292,7 +1294,7 @@ export class SpiffCommerceClient {
1292
1294
  * @param transactionId The id of the transaction
1293
1295
  * @returns A promise resolving at initialization completion.
1294
1296
  */
1295
- initFromTransaction(transactionId: string): Promise<void>;
1297
+ initFromTransaction(transactionId: string, readOnly?: boolean): Promise<void>;
1296
1298
  /**
1297
1299
  * Creates a new instance of WorkflowExperience. A high level wrapper for workflows.
1298
1300
  * @param workflowId The id of the workflow to be run.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "0.10.65",
3
+ "version": "0.10.67",
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",