Skip to content

v1.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 May 14:51
43fe8e4

Major Changes

  • 9e48db0 Thanks @damusix! - ## Breaking Changes

    createPost assets input changed from object to ordered array

    Buffer's GraphQL API replaced AssetsInput (object with images, videos, documents, link fields) with [AssetInput!] (ordered array where each item is exactly one of image, video, document, or link).

    Before:

    assets: {
        images: [{ url: "https://example.com/photo.jpg" }],
        videos: [{ url: "https://example.com/video.mp4" }]
    }

    After:

    assets: [
      { image: { url: "https://example.com/photo.jpg" } },
      { video: { url: "https://example.com/video.mp4" } },
    ];

    Fixed

    • fix(types): Resolve three TypeScript errors from @logosdx/fetch v8 type changes