# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.11.2](https://github.com/binance-chain-npm/bcw.js/compare/v0.11.1...v0.11.2) (2022-01-14)

**Note:** Version bump only for package @binance-chain/tx





## [0.11.1](https://github.com/binance-chain-npm/bcw.js/compare/v0.11.0...v0.11.1) (2022-01-13)


### Bug Fixes

* Support wrap/unwrap for swap ([#1462](https://github.com/binance-chain-npm/bcw.js/issues/1462)) ([#89](https://github.com/binance-chain-npm/bcw.js/issues/89)) ([a905247](https://github.com/binance-chain-npm/bcw.js/commit/a905247835fcec60aca1db87f9b825f880b434c7))





# [0.11.0](https://github.com/binance-chain-npm/bcw.js/compare/v0.10.4...v0.11.0) (2022-01-13)


### Features

* tx dep version ([#87](https://github.com/binance-chain-npm/bcw.js/issues/87)) ([7efa3c5](https://github.com/binance-chain-npm/bcw.js/commit/7efa3c59565ea1995dcae8796f2aab70e7092b69))





## [0.10.4](https://github.com/binance-chain-npm/bcw.js/compare/v0.10.3...v0.10.4) (2022-01-11)


### Bug Fixes

* Custom gas for swap approve ([#84](https://github.com/binance-chain-npm/bcw.js/issues/84)) ([68e18e6](https://github.com/binance-chain-npm/bcw.js/commit/68e18e637449b26a891009e031c8148e5437ae80))





## [0.10.3](https://github.com/binance-chain-npm/bcw.js/compare/v0.10.2...v0.10.3) (2022-01-10)


### Bug Fixes

* Number errors for EIP-1559, change all calculations to use `wei` ([#82](https://github.com/binance-chain-npm/bcw.js/issues/82)) ([311c2a0](https://github.com/binance-chain-npm/bcw.js/commit/311c2a0731628b81337348ae6e93010cac07c342))





## [0.10.2](https://github.com/binance-chain-npm/bcw.js/compare/v0.10.1...v0.10.2) (2022-01-07)


### Bug Fixes

* Support custom gas for approve swap ([#1439](https://github.com/binance-chain-npm/bcw.js/issues/1439)) ([#80](https://github.com/binance-chain-npm/bcw.js/issues/80)) ([a22ce1c](https://github.com/binance-chain-npm/bcw.js/commit/a22ce1c0e6bf853be91a9e35e2d7c86946b25473))





## [0.10.1](https://github.com/binance-chain-npm/bcw.js/compare/v0.10.0...v0.10.1) (2022-01-07)


### Bug Fixes

* Type definitions not generated correctly ([#1466](https://github.com/binance-chain-npm/bcw.js/issues/1466)) ([#78](https://github.com/binance-chain-npm/bcw.js/issues/78)) ([d5d58cb](https://github.com/binance-chain-npm/bcw.js/commit/d5d58cb778232b3375b2f70616dd04316956e2d1))





# [0.10.0](https://github.com/binance-chain-npm/bcw.js/compare/v0.9.8...v0.10.0) (2021-12-28)


### Features

* Support EIP-1559 for eth swap ([#77](https://github.com/binance-chain-npm/bcw.js/issues/77)) ([f8405b0](https://github.com/binance-chain-npm/bcw.js/commit/f8405b00fb848788269dcdcc0fb9cc4fc65a185d))


* feat!: Refactor id to chainId and remove INetworkId type (#75) ([14854fd](https://github.com/binance-chain-npm/bcw.js/commit/14854fd39ce68a835a23714d6ee608319f1cd6ba)), closes [#75](https://github.com/binance-chain-npm/bcw.js/issues/75)


### BREAKING CHANGES

* `INetworkId` type will not exist in next release. please use IChainIds instead of.





## [0.9.8](https://github.com/binance-chain-npm/bcw.js/compare/v0.9.7...v0.9.8) (2021-12-16)


### Bug Fixes

* Error path for native-token ([#73](https://github.com/binance-chain-npm/bcw.js/issues/73)) ([96f9e21](https://github.com/binance-chain-npm/bcw.js/commit/96f9e210d7ab47712d5652776992df28f9616fab))





## [0.9.7](https://github.com/binance-chain-npm/bcw.js/compare/v0.9.6...v0.9.7) (2021-12-09)


### Bug Fixes

* Incorrect allowance format for approval ([#71](https://github.com/binance-chain-npm/bcw.js/issues/71)) ([420c6c1](https://github.com/binance-chain-npm/bcw.js/commit/420c6c187a41119b5ab38952bd08a1c060184456))





## [0.9.6](https://github.com/binance-chain-npm/bcw.js/compare/v0.9.5...v0.9.6) (2021-12-03)


### Bug Fixes

* get the best trade by interate MaxHops ([#70](https://github.com/binance-chain-npm/bcw.js/issues/70)) ([3612012](https://github.com/binance-chain-npm/bcw.js/commit/361201293fc91c362c7b32095964d4ce3db30da7))
* Some types ([#68](https://github.com/binance-chain-npm/bcw.js/issues/68)) ([01c29f2](https://github.com/binance-chain-npm/bcw.js/commit/01c29f2862c4c26729598b4db82be28a1945977c))





## [0.9.5](https://github.com/binance-chain-npm/bcw.js/compare/v0.9.4...v0.9.5) (2021-11-24)


### Bug Fixes

* Approval for swap ([#66](https://github.com/binance-chain-npm/bcw.js/issues/66)) ([b095945](https://github.com/binance-chain-npm/bcw.js/commit/b095945110373b51cec49022c5215c9441fcfd84))





## [0.9.4](https://github.com/binance-chain-npm/bcw.js/compare/v0.9.3...v0.9.4) (2021-11-18)


### Bug Fixes

* Type ([#64](https://github.com/binance-chain-npm/bcw.js/issues/64)) ([cada61c](https://github.com/binance-chain-npm/bcw.js/commit/cada61cc6efb2c2c7024188a0f2f4c7efee53678))





## [0.9.3](https://github.com/binance-chain-npm/bcw.js/compare/v0.9.2...v0.9.3) (2021-11-16)


### Bug Fixes

* Support ETH network for swap ([#62](https://github.com/binance-chain-npm/bcw.js/issues/62)) ([28423da](https://github.com/binance-chain-npm/bcw.js/commit/28423dabc1316f0891a6123852fc74eac7d4628d))





## [0.9.2](https://github.com/binance-chain-npm/bcw.js/compare/v0.9.1...v0.9.2) (2021-11-11)


### Bug Fixes

* swap multihops ([#60](https://github.com/binance-chain-npm/bcw.js/issues/60)) ([6a1fc37](https://github.com/binance-chain-npm/bcw.js/commit/6a1fc374d8647d6b7f5d614f6f47860270244845))





## [0.9.1](https://github.com/binance-chain-npm/bcw.js/compare/v0.9.0...v0.9.1) (2021-11-10)


### Bug Fixes

* slippage in swap ([#58](https://github.com/binance-chain-npm/bcw.js/issues/58)) ([cba83c0](https://github.com/binance-chain-npm/bcw.js/commit/cba83c0321a27e92d9f9caef2b922c9260ce985b))





# [0.9.0](https://github.com/binance-chain-npm/bcw.js/compare/v0.8.0...v0.9.0) (2021-11-03)


### Features

* Support calcluation of best trading path ([#56](https://github.com/binance-chain-npm/bcw.js/issues/56)) ([c42c818](https://github.com/binance-chain-npm/bcw.js/commit/c42c818911dcc52de98c9e82d161fc87d7bc0067))





# [0.8.0](https://github.com/binance-chain-npm/bcw.js/compare/v0.7.7...v0.8.0) (2021-09-23)


### Features

* Add swap function ([#53](https://github.com/binance-chain-npm/bcw.js/issues/53)) ([de2c851](https://github.com/binance-chain-npm/bcw.js/commit/de2c851f08141f1329f6c257d3dfc5427aa4c83f))





## [0.7.7](https://github.com/binance-chain-npm/bcw.js/compare/v0.7.6...v0.7.7) (2021-09-12)


### Bug Fixes

* Bsc delegate ([#51](https://github.com/binance-chain-npm/bcw.js/issues/51)) ([87ec1fb](https://github.com/binance-chain-npm/bcw.js/commit/87ec1fb3d1271a771f2a611bffcbd14452e87df8))





## [0.7.6](https://github.com/binance-chain-npm/bcw.js/compare/v0.7.5...v0.7.6) (2021-09-10)


### Bug Fixes

* delegate amount ([#49](https://github.com/binance-chain-npm/bcw.js/issues/49)) ([ddb4c55](https://github.com/binance-chain-npm/bcw.js/commit/ddb4c5507277312aa09d90e8eed76d63c10e3e5d))
* getBscToBbcFee error ([#48](https://github.com/binance-chain-npm/bcw.js/issues/48)) ([0019d8f](https://github.com/binance-chain-npm/bcw.js/commit/0019d8f2789e7afa08bf99e0ebabd8b721942f95))





## [0.7.5](https://github.com/binance-chain-npm/bcw.js/compare/v0.7.4...v0.7.5) (2021-08-31)


### Bug Fixes

* bbc transfer network error and update network chainId ([#46](https://github.com/binance-chain-npm/bcw.js/issues/46)) ([1a8b275](https://github.com/binance-chain-npm/bcw.js/commit/1a8b275d0f2428b33da74183b715d018e6f4622d))
* delegate fee on BSC ([ca8d68f](https://github.com/binance-chain-npm/bcw.js/commit/ca8d68f13359335b9fb9645bf99d520a6212ad1f))





## [0.7.4](https://github.com/binance-chain-npm/bcw.js/compare/v0.7.3...v0.7.4) (2021-08-24)


### Bug Fixes

* bbc memo ([#44](https://github.com/binance-chain-npm/bcw.js/issues/44)) ([f6d05f3](https://github.com/binance-chain-npm/bcw.js/commit/f6d05f30501adc462fe1f75caeaa67c7a36863e1))





## [0.7.3](https://github.com/binance-chain-npm/bcw.js/compare/v0.7.2...v0.7.3) (2021-08-23)


### Bug Fixes

* Extract get gas fee function ([#42](https://github.com/binance-chain-npm/bcw.js/issues/42)) ([be36fb2](https://github.com/binance-chain-npm/bcw.js/commit/be36fb2678645cd6c59d5ea55ddcb0dbe106595d))





## [0.7.2](https://github.com/binance-chain-npm/bcw.js/compare/v0.7.1...v0.7.2) (2021-08-03)


### Bug Fixes

* Bbc fee and to address ([#39](https://github.com/binance-chain-npm/bcw.js/issues/39)) ([ba25617](https://github.com/binance-chain-npm/bcw.js/commit/ba256176af346a88e22b7154151fa6e2354ee0f0))





## [0.7.1](https://github.com/binance-chain-npm/bcw.js/compare/v0.7.0...v0.7.1) (2021-07-30)


### Bug Fixes

* gasPrice wrong from bsc to bc ([#37](https://github.com/binance-chain-npm/bcw.js/issues/37)) ([969819b](https://github.com/binance-chain-npm/bcw.js/commit/969819ba357311cb04b3723a9141fc845c5ee50f))





# [0.7.0](https://github.com/binance-chain-npm/bcw.js/compare/v0.6.3...v0.7.0) (2021-07-13)


### Features

* finish delegate and transfer functions ([#35](https://github.com/binance-chain-npm/bcw.js/issues/35)) ([73a38a9](https://github.com/binance-chain-npm/bcw.js/commit/73a38a9ec381405463074c4e0f74c44d431f4702))





## [0.6.3](https://github.com/binance-chain-npm/bcw.js/compare/v0.6.2...v0.6.3) (2021-06-25)


### Bug Fixes

* Add prepare return paramas(gasPrice, gasLimit) ([#33](https://github.com/binance-chain-npm/bcw.js/issues/33)) ([7b36674](https://github.com/binance-chain-npm/bcw.js/commit/7b36674e564ce3317f49e39a8a41bf56a2118053))
* BBC to BSC gas fee ([#31](https://github.com/binance-chain-npm/bcw.js/issues/31)) ([9164126](https://github.com/binance-chain-npm/bcw.js/commit/9164126e3159a02f8e197c28215a6a2edb1e0b45))





## [0.6.2](https://github.com/binance-chain-npm/bcw.js/compare/v0.6.1...v0.6.2) (2021-06-21)


### Bug Fixes

* contract invoke ([#29](https://github.com/binance-chain-npm/bcw.js/issues/29)) ([6bec7a0](https://github.com/binance-chain-npm/bcw.js/commit/6bec7a002c2d33b74909cb8533af95099a9b8ad0))





## [0.6.1](https://github.com/binance-chain-npm/bcw.js/compare/v0.6.0...v0.6.1) (2021-06-16)


### Bug Fixes

* Wallet address type ([#27](https://github.com/binance-chain-npm/bcw.js/issues/27)) ([1020025](https://github.com/binance-chain-npm/bcw.js/commit/10200253b637627df8c2bb547103b573b9e7f45d))





# [0.6.0](https://github.com/binance-chain-npm/bcw.js/compare/v0.5.0...v0.6.0) (2021-06-11)


### Features

* Add getGasLimit func ([#25](https://github.com/binance-chain-npm/bcw.js/issues/25)) ([8d986b4](https://github.com/binance-chain-npm/bcw.js/commit/8d986b420103a41af91d5304c94bd197cb8d55d3))





# [0.5.0](https://github.com/binance-chain-npm/bcw.js/compare/v0.4.0...v0.5.0) (2021-06-07)


### Features

* Finish send funds from BSC to BBC or on BBC ([#23](https://github.com/binance-chain-npm/bcw.js/issues/23)) ([3cd9bcb](https://github.com/binance-chain-npm/bcw.js/commit/3cd9bcb4899d02054935cb9cf4161aaca8fb4b12))





# [0.4.0](https://github.com/binance-chain-npm/bcw.js/compare/v0.3.2...v0.4.0) (2021-06-01)


### Features

* **tx:** Add signTransaction, from BSC to BSC ([#19](https://github.com/binance-chain-npm/bcw.js/issues/19)) ([959ab64](https://github.com/binance-chain-npm/bcw.js/commit/959ab64b7d5887bb39200f4a194cee2bfa02b1bf))





## [0.3.2](https://github.com/binance-chain-npm/bcw.js/compare/v0.3.1...v0.3.2) (2021-05-12)


### Bug Fixes

* Migrate packages to [@binance-chain](https://github.com/binance-chain) ([#17](https://github.com/binance-chain-npm/bcw.js/issues/17)) ([a861c75](https://github.com/binance-chain-npm/bcw.js/commit/a861c75af667311bc870bd01c4b0243529fb43f6))





## [0.3.1](https://github.com/binance-chain-npm/bcw.js/compare/v0.3.0...v0.3.1) (2021-05-08)

**Note:** Version bump only for package @binancechain/transaction





# [0.3.0](https://github.com/binance-chain-npm/bcw.js/compare/v0.2.0...v0.3.0) (2021-05-08)


### Features

* add bcw module ([#9](https://github.com/binance-chain-npm/bcw.js/issues/9)) ([f64e258](https://github.com/binance-chain-npm/bcw.js/commit/f64e2581639bfdd0f07bc47bff66c470523fc387))





# 0.2.0 (2021-05-07)


### Bug Fixes

* trigger release ([#7](https://github.com/binance-chain-npm/bcw.js/issues/7)) ([5186393](https://github.com/binance-chain-npm/bcw.js/commit/5186393450670290ee1b8df4f46cf50f4126a3e4))
* yarn build after yarn install ([21ff5a8](https://github.com/binance-chain-npm/bcw.js/commit/21ff5a81e23a1578984e8b829641ac84d670a58b))
* yarn lint and @binancechain/wallet not found ([20800da](https://github.com/binance-chain-npm/bcw.js/commit/20800da580217b5978ff4a7fa164a58cebf810d4))


### Features

* add test script in github workfow ([#2](https://github.com/binance-chain-npm/bcw.js/issues/2)) ([f044f75](https://github.com/binance-chain-npm/bcw.js/commit/f044f75dd9f41ce1f4b0abac7fae274458749f43))





# 0.1.0 (2021-05-06)


### Bug Fixes

* yarn build after yarn install ([21ff5a8](https://github.com/binance-chain-npm/bcw.js/commit/21ff5a81e23a1578984e8b829641ac84d670a58b))
* yarn lint and @binancechain/wallet not found ([20800da](https://github.com/binance-chain-npm/bcw.js/commit/20800da580217b5978ff4a7fa164a58cebf810d4))


### Features

* add test script in github workfow ([#2](https://github.com/binance-chain-npm/bcw.js/issues/2)) ([f044f75](https://github.com/binance-chain-npm/bcw.js/commit/f044f75dd9f41ce1f4b0abac7fae274458749f43))
