var m=Object.create;var r=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty;var P=(t,e)=>{for(var o in e)r(t,o,{get:e[o],enumerable:!0})},s=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of x(e))!u.call(t,n)&&n!==o&&r(t,n,{get:()=>e[n],enumerable:!(i=v(e,n))||i.enumerable});return t};var b=(t,e,o)=>(o=t!=null?m(l(t)):{},s(e||!t||!t.__esModule?r(o,"default",{value:t,enumerable:!0}):o,t)),h=t=>s(r({},"__esModule",{value:!0}),t);var f={};P(f,{getConsumerDetails:()=>C});module.exports=h(f);var c=b(require("axios"),1);var a=require("react"),k=require("react/jsx-runtime"),D=(0,a.createContext)(void 0),p="production";var d=p==="development"?"https://qa-api-v2.bandit.network/sdk":"https://api-v2.bandit.network/sdk";var C=async t=>{try{return(await c.default.get(`${d}/consumer`,{headers:{"X-API-KEY":t}})).data}catch(e){return{}}};0&&(module.exports={getConsumerDetails});
