Package Exports
- @fluidchains/ywpl-token-metadata
- @fluidchains/ywpl-token-metadata/dist/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 (@fluidchains/ywpl-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 @fluidchains/ywpl-token-metadata --save
This will use the new auto-generated API. If you want to use the old deprecated API, you can use the following:
npm install @fluidchains/ywpl-token-metadata@^1.2 --save
Alternatively, 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 @fluidchains/ywpl-token-metadata@~2.0 --save
And use the deprecated API explicitly like so:
import { deprecated } from "@fluidchains/ywpl-token-metadata";
Developing
In order to update the generated SDK when the rust contract was updated please run:
yarn gen:api
and then update the wrapper code and tests.
LICENSE
Apache v2.0