Edit: /tmp/tsx-0/17887-d6b4c8a7dd3f887e36d16aa973b5678982741ae1 (2493B)
{"code":"__filename=\"/opt/canhelp/node_modules/better-auth/node_modules/@better-auth/core/dist/instrumentation/tracer.mjs\";(()=>{\nvar __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __name=(target,value)=>__defProp(target,\"name\",{value,configurable:true});var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:true})};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from===\"object\"||typeof from===\"function\"){for(let key of __getOwnPropNames(from))if(!__hasOwnProp.call(to,key)&&key!==except)__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}return to};var __toCommonJS=mod=>__copyProps(__defProp({},\"__esModule\",{value:true}),mod);var tracer_exports={};__export(tracer_exports,{withSpan:()=>withSpan});module.exports=__toCommonJS(tracer_exports);var import_api=require(\"@opentelemetry/api\");const tracer=import_api.trace.getTracer(\"better-auth\",\"1.5.6\");function withSpan(name,attributes,fn){return tracer.startActiveSpan(name,{attributes},span=>{try{const result=fn();if(result instanceof Promise)return result.then(value=>{span.end();return value}).catch(err=>{span.recordException(err);span.setStatus({code:import_api.SpanStatusCode.ERROR,message:String(err.message??err)});span.end();throw err});span.end();return result}catch(err){span.recordException(err);span.setStatus({code:import_api.SpanStatusCode.ERROR,message:String(err?.message??err)});span.end();throw err}})}__name(withSpan,\"withSpan\");0&&(module.exports={withSpan});\n})()\n","warnings":[],"map":{"version":3,"mappings":";suBAAA,kIAAsC,8BAGtC,MAAM,OAAS,iBAAM,UAAU,cAAe,OAAO,EACrD,SAAS,SAAS,KAAM,WAAY,GAAI,CACvC,OAAO,OAAO,gBAAgB,KAAM,CAAE,UAAW,EAAI,MAAS,CAC7D,GAAI,CACH,MAAM,OAAS,GAAG,EAClB,GAAI,kBAAkB,QAAS,OAAO,OAAO,KAAM,OAAU,CAC5D,KAAK,IAAI,EACT,OAAO,KACR,CAAC,EAAE,MAAO,KAAQ,CACjB,KAAK,gBAAgB,GAAG,EACxB,KAAK,UAAU,CACd,KAAM,0BAAe,MACrB,QAAS,OAAO,IAAI,SAAW,GAAG,CACnC,CAAC,EACD,KAAK,IAAI,EACT,MAAM,GACP,CAAC,EACD,KAAK,IAAI,EACT,OAAO,MACR,OAAS,IAAK,CACb,KAAK,gBAAgB,GAAG,EACxB,KAAK,UAAU,CACd,KAAM,0BAAe,MACrB,QAAS,OAAO,KAAK,SAAW,GAAG,CACpC,CAAC,EACD,KAAK,IAAI,EACT,MAAM,GACP,CACD,CAAC,CACF,CA5BS","names":[],"ignoreList":[],"sources":["/opt/canhelp/node_modules/better-auth/node_modules/@better-auth/core/dist/instrumentation/tracer.mjs"],"sourcesContent":[null]}}