JSPM

  • Created
  • Published
  • Downloads 70
  • Score
    100M100P100Q95109F
  • License UNLICENSED

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 wido

or

npm install --save wido

Getting 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.7 - Patch release

  • Add toToken and toChain params to getSupportedTokens.

0.2.6 - Patch release

  • Add gasFee and gasFeeUsdValue props to QuoteResult.

0.2.5 - Patch release

  • Add messages prop to QuoteResult.

0.2.4 - Patch release

  • Add toChainId to getWidoSpender.

0.2.3 - Patch release

  • Add getStatus function to retrieve the status of a transaction.

0.2.2 - Patch release

  • Update the Step type to match the API response.

0.2.1 - Patch release

  • Fix recipient not being passed in quote.

0.2.0 - Minor release

  • Deprecate function getWidoContractAddress in favor of getWidoSpender.
  • Deprecate parameter tokenAddress in favor of fromToken in the approve request object.