@monaco-protocol/client-v2
v0.0.75
Published
Typescript client for Monaco Protocol API v2
Keywords
Readme
@monaco-protocol/client-v2
Typescript client for Monaco Protocol API v2
Generating OpenAPI Client
To generate the OpenAPI client, run the following commands:
export $OPENAPI_URL # first export the OpenAPI URL
yarn generatealternatively
OPENAPI_URL=https://docs.api.monacoprotocol.xyz/v1/exchange-openapi.json yarn generateReleasing
Build, version and publish a new version using the release commands:
yarn release:dev # yarn version:dev && yarn publish:dev
yarn release:prod # yarn version:prod && yarn publish:prodAlternatively, use individual commands below
Building
Build and generate dist:
yarn buildVersioning
Bump the version using these commands, this creates a new commit in the repository:
yarn version:dev
yarn version:prodPublishing
Publish the package using:
yarn publish:dev
yarn publish:prod