@spiffcommerce/core 22.5.3 → 22.6.1
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/index.d.ts +8 -0
- package/dist/index.js +1347 -1310
- package/dist/index.umd.cjs +106 -96
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1158,11 +1158,14 @@ interface GlobalPropertyStateManager {
|
|
|
1158
1158
|
setAspect(name: string, value: string, storage?: GlobalPropertyStateAspectStorage | null): Promise<void>;
|
|
1159
1159
|
setAspectStorage<S extends GlobalPropertyStateAspectStorage>(name: string, storage: S | null): Promise<void>;
|
|
1160
1160
|
setBundleOptions(bundleOptions?: BundleOptions): void;
|
|
1161
|
+
getBundleOptions(): BundleOptions | undefined;
|
|
1162
|
+
setConfiguration(configuration: GlobalPropertyConfiguration | undefined): void;
|
|
1161
1163
|
}
|
|
1162
1164
|
interface BundleOptions {
|
|
1163
1165
|
additionalHeaders?: {
|
|
1164
1166
|
[key: string]: string;
|
|
1165
1167
|
};
|
|
1168
|
+
eagerFetchProducts?: boolean;
|
|
1166
1169
|
}
|
|
1167
1170
|
|
|
1168
1171
|
/**
|
|
@@ -1515,6 +1518,11 @@ interface Bundle$1 {
|
|
|
1515
1518
|
*/
|
|
1516
1519
|
getGlobalPropertyConfiguration(): GlobalPropertyConfiguration | undefined;
|
|
1517
1520
|
setBundleOptions(bundleOptions?: BundleOptions): any;
|
|
1521
|
+
/**
|
|
1522
|
+
* Assigns a Product Collection to the Bundle. This will only succeed if the Bundle does not already have a Product Collection assigned to it.
|
|
1523
|
+
* @param productCollectionId The ID of the Product Collection to assign to this Bundle.
|
|
1524
|
+
*/
|
|
1525
|
+
assignProductCollection(productCollectionId: string): Promise<void>;
|
|
1518
1526
|
}
|
|
1519
1527
|
type BundleEventType = "conditional-global-properties-changed" | "workflow-experience-hover-enter" | "workflow-experience-hover-exit";
|
|
1520
1528
|
type BundleEventData = ConditionalGlobalPropertiesChangedEventData | WorkflowExperienceHoverEventData;
|