@spiffcommerce/core 32.3.1-beta.fb24b784-d4cb-5c48-bf28-41a506fc3cc8 → 32.4.0-beta.31f8a4dd-4f9f-572b-8792-9d8d6243c25e
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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +3 -7
- package/dist/index.js +156 -156
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4418 -4424
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -27,6 +27,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
27
27
|
- Added GraphQL mutation for updating a transaction's integration product, enabling backend synchronization of integration product changes.
|
28
28
|
- Added `getState()` method to `BundleStateManager` for easier external access to the current bundle state.
|
29
29
|
|
30
|
+
## [32.4.0] - 16-10-2025
|
31
|
+
|
32
|
+
## Added
|
33
|
+
|
34
|
+
- The interface `GetWorkflowFromIntegrationProductOptions` now has optional `quantity` and `recipient` arguments.
|
35
|
+
|
30
36
|
## [32.3.1] - 09-10-2025
|
31
37
|
|
32
38
|
## Added
|
package/dist/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { FunctionComponent, ReactNode } from 'preact/compat';
|
2
2
|
import * as _apollo_client_core from '@apollo/client/core';
|
3
3
|
import { OperationVariables, QueryOptions, ApolloQueryResult, DefaultContext, MutationOptions, FetchResult, ApolloClient } from '@apollo/client/core';
|
4
|
-
import { RenderableContextService, RenderableContext,
|
4
|
+
import { RenderableContextService, RenderableContext, ModelContainer, ThreeDPreviewService } from '@spiffcommerce/preview';
|
5
5
|
import * as lodash from 'lodash';
|
6
6
|
import { CompleteQuoteMessage, ThemeInstallConfigurationGraphQl, ConversionConfiguration } from '@spiffcommerce/theme-bridge';
|
7
7
|
export { ConversionConfiguration, ConversionData, ConversionDataType, ConversionLocation } from '@spiffcommerce/theme-bridge';
|
@@ -1051,13 +1051,8 @@ interface Scene {
|
|
1051
1051
|
interface ExperienceOptions {
|
1052
1052
|
transaction: Transaction;
|
1053
1053
|
workflow?: Workflow;
|
1054
|
-
/**
|
1055
|
-
* @deprecated favor inject / eject functions.
|
1056
|
-
*/
|
1057
|
-
previewService?: ThreeDPreviewService;
|
1058
1054
|
modelContainer?: ModelContainer;
|
1059
1055
|
renderableContextService?: LayoutPreviewService;
|
1060
|
-
layouts: ILayout[];
|
1061
1056
|
reloadedState?: LayoutsState;
|
1062
1057
|
/**
|
1063
1058
|
* When true the experience is intended to be immutable.
|
@@ -1316,7 +1311,6 @@ declare enum WorkflowExperienceEventType {
|
|
1316
1311
|
declare class WorkflowExperienceImpl implements WorkflowExperience {
|
1317
1312
|
readonly client: SpiffCommerceClient;
|
1318
1313
|
readonly transaction: Transaction;
|
1319
|
-
readonly commandContext: CommandContext;
|
1320
1314
|
readonly graphQlClient: GraphQlClientFunc;
|
1321
1315
|
readonly workflowManager: WorkflowManager;
|
1322
1316
|
readonly isReadOnly: boolean;
|
@@ -2411,6 +2405,8 @@ interface GetWorkflowExperienceFromBlankOptions extends GetNewWorkflowExperience
|
|
2411
2405
|
}
|
2412
2406
|
interface GetWorkflowExperienceFromIntegrationProductOptions extends GetNewWorkflowExperienceOptionsBase {
|
2413
2407
|
integrationProductId: string;
|
2408
|
+
quantity?: number;
|
2409
|
+
recipient?: any;
|
2414
2410
|
type: "integration";
|
2415
2411
|
}
|
2416
2412
|
interface GetWorkflowExperienceFromExternalProductOptions extends GetNewWorkflowExperienceOptionsBase {
|