Vue Storefront is now Alokai! Learn More
@vsf-enterprise/amplience-sdk

@vsf-enterprise/amplience-sdk

3.1.2

Patch Changes

  • Updated dependencies:
    • @vsf-enterprise/cms-components-utils@2.0.0

3.1.1

Patch Changes

  • CHANGED Updated the type of the callback accepted by the initLivePreview util. Its return type is now void and the updatedData parameter is no longer any.

3.1.0

Minor Changes

  • ADDED Added initLivePreview utility function to the Amplience SDK.
  • CHANGED The extractComponents utility has been marked as @deprecated and will be removed in 4 years from now (July 2028). Use getPage method 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 MethodOptions interface. Use the MethodConfig interface 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/middleware version to 4.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