import p from"axios";import{createContext as i,useMemo as m}from"react";import{jsx as l}from"react/jsx-runtime";var v=i(void 0),t="production";var o=t==="development"?"https://qa-api-v2.bandit.network/sdk":"https://api-v2.bandit.network/sdk";var u=async(e,n,r)=>{try{await p.post(`${o}/metrics/${n}`,r,{headers:{"X-API-KEY":e}})}catch(a){console.log(a)}};export{u as logMetric};
