0.0.22 • Published 5 years ago
@d-protocol/d-payments v0.0.22
Wyre Typescript SDK
Publishing New Versions
- Commit your changes using conventional commits eg.
git commit -m "feat: added wallet integration" - Then run
yarn new:versionThis will update your package.json will increment the version as well as update the CHANGELOG.md
- Push your changes up to master and github actions will publish the package to github packages
Using this SDK
- First import Wyre and initialize it once
import { Wyre, Config } from "@d-protocol/d-payments"- Create a config object as follows
const config: Config = {
apiKey: "xxx",
test: true,
}- Initialize Wyre
Wyre.init(config)- Now you can import Wyre anywhere in your project and access it's various clients