Depending on your charge current and your input voltage, you may want to add a diode before the Vin, a plain 1n4007/M7 diode for example. This way you'll have some voltage drop across the diode and the charge chip will dissipate less energy as heat when it's regulating the input voltage down to 3.0v ... 3.6v
The datasheet says the chip can work with as little as 3.8v, so a diode would drop only around 0.6v-1.0v from your 5v input, which means the IC will still get 4v to 4.4v, well above the 3.8v that's required. As an added bonus, the diode can also act like a reverse voltage protection.
Last but not least, you may want to have a look at BQ25170 / BQ25170J.... it's not as cheap but fairly close to that, it's not SOIC but still reasonably large in WSON package and easy to solder by hand (pads extend on the side walls so you can wet them with solder easily by hand).
BQ25170 :
https://www.lcsc.com/product-detail/C5208201.htmlBQ25170J (jeita compliant) :
https://www.lcsc.com/product-detail/C3682876.html or
https://www.digikey.com/en/products/detail/texas-instruments/BQ25170JDSGR/15856833The Digikey link has the datasheet in English
Reasons... not relying on a single source, you can get it from Digikey, Mouser etc , and you can also set the charge voltage to 3.5v if you want to extend the life of your battery pack etc etc