From ce1bca5471cfe1f3f7f169c9561395d4e77d4c32 Mon Sep 17 00:00:00 2001
From: wk3368 <wk3368@163.com>
Date: Fri, 7 Jan 2022 16:34:53 +0800
Subject: [PATCH] modify changelog

---
 CHANGELOG.md | 48 ++++++++++++++++++++++++++++++++++++++----------
 1 file changed, 38 insertions(+), 10 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index c2d70fb..59d368f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,35 +5,50 @@ All notable changes to this project will be documented in this file, as of versi
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
+## [1.8.0] - 2022-01-07
+
+- export version
+- support optional custom addGasBufferMultiplier(default 1.5) in transaction params
+
 ## [1.5.3] - 2021-09-05
+
 - args in encodeScriptFunctionByResolve support string, add test case: encodeScriptFunctionByResolve3
-- replace stringToBytes(str) with: new Uint8Array(Buffer.from(str)) 
+- replace stringToBytes(str) with: new Uint8Array(Buffer.from(str))
 - replaced bytesToString(arr) with: Buffer.from(arr).toString()
 
 ## [1.5.2] - 2021-08-26
+
 - add encoding.stringToBytes && encoding.bytesToString
 
 ## [1.5.1] - 2021-08-26
+
 - add one param(gasUniPrice) in utils.tx.generateRawUserTransaction
 
 ## [1.5.0] - 2021-08-26
+
 - support contract.call_v2 method in rpc actions
 
 ## [1.4.9] - 2021-08-18
+
 - add utils.tx.encodeScriptFunctionByResolve
 
 ## [1.4.7] - 2021-08-13
-- support '_' and '-' character in module and function name
+
+- support '\_' and '-' character in module and function name
 
 ## [1.4.4] - 2021-08-07
+
 - support optional expiredSecs in txParams, default value is 43200(12hours)
 
 ## [1.4.3] - 2021-07-14
+
 - add test case for deploy contract using blob hex
-    * `yarn test:unit src/providers/jsonrpc-provider.spec.ts --testNamePattern="deploy contract"`
+
+  - `yarn test:unit src/providers/jsonrpc-provider.spec.ts --testNamePattern="deploy contract"`
 
 - add test case for decode SignedMessage
-    * `yarn test:unit src/utils/signed-message.spec.ts --testNamePattern="decode"`
+
+  - `yarn test:unit src/utils/signed-message.spec.ts --testNamePattern="decode"`
 
 - add chain_id in SignedMessage
 
@@ -42,53 +57,63 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - support contract.dry_run_raw
 
 ## [1.4.2] - 2021-07-11
+
 - add 2 functions in utils.signedMessage
-    * encodeSignedMessage
-    * recoverSignedMessageAddress
-    
+  - encodeSignedMessage
+  - recoverSignedMessageAddress
 - add 2 test cases
-    * `yarn test:unit src/utils/signed-message.spec.ts --testNamePattern="encode SignedMessage: simple-keyring"`
-    * `yarn test:unit src/utils/signed-message.spec.ts --testNamePattern="encode SignedMessage: hd-keyring"`
+
+  - `yarn test:unit src/utils/signed-message.spec.ts --testNamePattern="encode SignedMessage: simple-keyring"`
+  - `yarn test:unit src/utils/signed-message.spec.ts --testNamePattern="encode SignedMessage: hd-keyring"`
 
 - support `Personal Sign` in [starmask-test-dapp](https://github.com/starcoinorg/starmask-test-dapp)
 
 ## [1.3.0] - 2021-06-27
+
 - add utils.tx.encodeStructTypeTags
 
 ## [1.2.1] - 2021-06-14
+
 - fix: hexStripZeros will delete the first 0 if address is start with 0x0, use addHexPrefix indeed
 
 ## [1.2.0] - 2021-06-12
-- payload of generateRawUserTransaction should be caculated from outside and be passed in 
+
+- payload of generateRawUserTransaction should be caculated from outside and be passed in
 - add test case for 0x1::DaoVoteScripts::cast_vote
 
 ## [1.1.0] - 2021-06-11
 
 ### Changed
+
 - add Web3Provider
 - replace JsonrpcProvider with JsonRpcProvider
 - support `Send STC` in [starmask-test-dapp](https://github.com/starcoinorg/starmask-test-dapp)
 
 ###
+
 ## [1.0.3] - 2021-06-09
 
 ### Changed
+
 - Remove jsSHA package and still use js-sha3 to hash
 - Fix buffer error in browser
 
 ## [0.2.7] - 2021-05-07
 
 ### Changed
+
 - Remove util TextEncoder & TextDecoder
 
 ## [0.2.5] - 2021-05-07
 
 ### Changed
+
 - Use 'util' package to get 'util.TextEncoder', supporting node.js 10
 
 ## [0.2.4] - 2021-05-06
 
 ### Changed
+
 - Add utils.tx.generateRawUserTransaction
 - Add utils.tx.signRawUserTransaction
 - Remove utils.tx.generateSignedUserTransactionHex
@@ -97,14 +122,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ## [0.2.3] - 2021-04-30
 
 ### Changed
+
 - Add functions to convert private key to public key and public key to auth key & address (#16)
 
 ## [0.2.2] - 2021-04-28
 
 ### Changed
+
 - Add event decoding
 
 ## [0.2.1] - 2021-04-28
 
 ### Changed
+
 - Add utils.tx.generateSignedUserTransactionHex
