ourzora / media-metadata-schemas

A repository of known JSON metadata schemas for the Zora media protocol.
30 stars 20 forks source link

ZDK's generateMetadata() needs a new release to support 20210604 schema #24

Closed nickadamson closed 2 years ago

nickadamson commented 3 years ago

Getting this error while testing new metadata schema: 'There are no versions in the zora namespace with the 20210604 calendar version'

version: "@zoralabs/zdk": "^1.2.3"

    // Generate metadataJSON
    const metadata = {
      version: "zora-20210604",
      name: media.title,
      description: media.description,
      mimeType: media.mediaKind,
      external_url: "www.x.com",
      attributes: media.details
    };
    const metadataJSON = generateMetadata(metadata.version, metadata)

I'm guessing the fix is that this repo just needs another release with the latest commits.

iainnash commented 2 years ago

Published the new release v0.1.4 and also updated the ZDK. Thanks!