@vsf-enterprise/contentful-api

@vsf-enterprise/contentful-api

1.1.0

Minor Changes

  • #17 4b74419 Thanks @lsliwaradioluz! - @vsf-enterprise/contentful-api now implements Contentful's Typescript SDK. Methods coming from the SDK client are available as endpoints of Vue Storefront's Server Middleware. For example:
    curl --request POST 'http://localhost:8181/cntf/getEntries'

    The getContent endpoint has been marked as @deprecated and will be removed in 4 years from now (July 2027).
    @vsf-enterprise/contentful-sdk has been aligned with the changes in the @vsf-enterprise/contentful-api package. It exposes a proxy for all of the new endpoints. Proxy methods are fully typed and documented with TSDoc.
    import { sdk } from "~/sdk.config.ts";
    
    const entries = await sdk.contentful.getEntries();

    The getContent method has been marked as @deprecated and will be removed in 4 years from now.
  • #16 dad7043 Thanks @bartoszherba! - add node 18 support

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.