var p=(n,e,o)=>new Promise((s,i)=>{var m=t=>{try{r(o.next(t))}catch(a){i(a)}},l=t=>{try{r(o.throw(t))}catch(a){i(a)}},r=t=>t.done?s(t.value):Promise.resolve(t.value).then(m,l);r((o=o.apply(n,e)).next())});import x from"axios";import{createContext as v,useMemo as u}from"react";import{jsx as w}from"react/jsx-runtime";var C=v(void 0),d="production";var c=d==="development"?"https://qa-api-v2.bandit.network/sdk":"https://api-v2.bandit.network/sdk";var S=n=>p(void 0,null,function*(){try{return(yield x.get(`${c}/consumer`,{headers:{"X-API-KEY":n}})).data}catch(e){return{}}});export{S as getClientDetails};
