@vsf-enterprise/amplience-sdk
3.1.1
Patch Changes
- CHANGED Updated the type of the callback accepted by the
initLivePreviewutil. Its return type is nowvoidand theupdatedDataparameter is no longerany.
3.1.0
Minor Changes
- ADDED Added
initLivePreviewutility function to the Amplience SDK. - CHANGED The
extractComponentsutility has been marked as @deprecated and will be removed in 4 years from now (July 2028). UsegetPagemethod which returns unified CMS page data.
- const extractedData = sdk.amplience.utils.extractComponents(params);
+ const extractedData = sdk.unifiedCms.getPage(params);
3.0.0
Major Changes
- CHANGED Implemented Alokai's middlewareModule.
- REMOVED The package no longer exports the
MethodOptionsinterface. Use theMethodConfiginterface imported from@vue-storefront/sdk.
- import type { MethodOptions } from "@vsf-enterprise/amplience-sdk";
+ import type { MethodConfig } from "@vue-storefront/sdk";
- const methodConfig: MethodOptions = { ... };
+ const methodCofig: MethodConfig = { ... };
- REMOVED The package no longer exports the HTTP Client used by the SDK because it now comes from the middlewareModule. Read this guide to find out how to modify the behaviour of the HTTP Client coming from the
middlewareModule.
2.0.2
Patch Changes
- CHANGED Updated
@vue-storefront/middlewareversion to4.1.0.
2.0.1
Patch Changes
Update axios to ^0.28.0 to mitigate security vulnerability CVE-2023-45857
2.0.0
Major Changes
- CHANGED Changed minimum Node version from 16 to 18. The condition that was forcing the Node version to be lower than 19 is also removed.
1.0.0
Major Changes
- Initial release
1.0.0-beta.0
Major Changes
- Initial release