Package Exports
- @metaplex-foundation/mpl-token-metadata
- @metaplex-foundation/mpl-token-metadata/dist/src/generated/accounts/Metadata
- @metaplex-foundation/mpl-token-metadata/dist/src/generated/accounts/Metadata.js
- @metaplex-foundation/mpl-token-metadata/dist/src/mpl-token-metadata.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@metaplex-foundation/mpl-token-metadata) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
mpl-token-metadata
This package contains the token vault contract SDK code.
API Docs
Find the token-metadata API docs published here.
Installation
npm install @metaplex-foundation/mpl-token-metadata --saveThis will use the new auto-generated API. If you want to use the old deprecated API, you can use the following:
npm install @metaplex-foundation/mpl-token-metadata@^1.2 --saveAlternatively, if you'd like to start using the new API but still have access to the deprecated one, you may use the following:
npm install @metaplex-foundation/mpl-token-metadata@~2.0 --saveAnd use the deprecated API explicitly like so:
import { deprecated } from "@metaplex-foundation/mpl-token-metadata";Developing
In order to update the generated SDK when the rust contract was updated please run:
yarn api:genand then update the wrapper code and tests.
LICENSE
Apache v2.0