import a from"axios";import{createContext as r,useMemo as d}from"react";import{jsx as v}from"react/jsx-runtime";var c=r(void 0),e="production";var o=e==="development"?"https://qa-api-v2.bandit.network/sdk":"https://api-v2.bandit.network/sdk";var C=async n=>{try{return(await a.get(`${o}/consumer`,{headers:{"X-API-KEY":n}})).data}catch(t){return{}}};export{C as getConsumerDetails};
