Switch to using async/await for doing the API calls in order to fix a weird behaviour on Chrome and Safari(it was working fine on Firefox): * Progress bar only appearing after all api calls had been made, instead of showing progress as each API call was done. * Each shipment was not added to the web page when the response arrived, instead they were only added all at once after the last API call.
Switch to using async/await for doing the API calls in order to fix a weird behaviour on Chrome and Safari(it was working fine on Firefox):
* Progress bar only appearing after all api calls had been made, instead of showing progress as each API call was done.
* Each shipment was not added to the web page when the response arrived, instead they were only added all at once after the last API call.

Signed-off-by: Exadra37 <ac9cc91c5ff3db710b64cda728db04e48c354403@gmail.com>

approov/shipfast-api-protection,approov/shipfast-api-protection,approov/shipfast-api-protection,approov/shipfast-api-protection