const run = async function run() {
const arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
const results = await Promise.all(arr.map(async () => client.makeRequest('GET',
'/public/api/ver1/deals?',
{ account_id: *** })));
console.log(results);
};
run().catch((err) => { console.log('Caught error', err); });