Package Exports
- wido
- wido/dist/wido.js
- wido/dist/wido.mjs
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 (wido) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
wido
JavaScript library for interacting with the Wido protocol which allows you to seamlessly move liquidity across vaults and chains.
With the help of this package you can enable omni-chain zaps into your dApp.
Learn more about Wido on https://joinwido.com.
Installation
yarn add widoor
npm install --save widoGetting started
https://docs.joinwido.com/integrate-wido/wido-javascript-sdk
API Reference
https://unpkg.com/wido@latest/docs/index.html
Features
- Typescript ✅
- ES modules ✅
- Generated API Reference docs using typedoc ✅
Contributing
Contributing docs are located in CONTRIBUTING.md.
Changelog
0.2.6 - Patch release
- Add
gasFeeandgasFeeUsdValueprops toQuoteResult.
0.2.5 - Patch release
- Add
messagesprop toQuoteResult.
0.2.4 - Patch release
- Add
toChainIdtogetWidoSpender.
0.2.3 - Patch release
- Add
getStatusfunction to retrieve the status of a transaction.
0.2.2 - Patch release
- Update the
Steptype to match the API response.
0.2.1 - Patch release
- Fix
recipientnot being passed inquote.
0.2.0 - Minor release
- Deprecate function
getWidoContractAddressin favor ofgetWidoSpender. - Deprecate parameter
tokenAddressin favor offromTokenin theapproverequest object.