add resolve.sync API to readme
1.4.0