const e=require(`../constants/server.constants.cjs`),t=require(`./getServerURL.cjs`),n=require(`../data-structures/http/HttpClient.cjs`);require(`../data-structures/http/index.cjs`);var r=async r=>{let{commitments:i,nullifiers:a}=await n.httpClient.get(`${t.SNAPSHOT_SERVER_URL}${e.API_CONFIG.ROUTES.getSnapshots(r)}`),[o,s]=await Promise.all([n.httpClient.get(i.url).then(e=>({...e,...i})),n.httpClient.get(a.url).then(e=>({...e,...a}))]);return{commitments:o,nullifiers:s}};exports.fetchSnapshots=r;