import i from"os";import{c as d}from"./got-fetch-D7dM7Qr-.mjs";import p from"./package-uaSG8XjZ.mjs";import{M as s}from"./machine-id-D3_purtu.mjs";import"./got-BLig4ziO.mjs";import"./_commonjsHelpers-CLLqo0NO.mjs";import"url";import"events";import"util";import"stream";import"fs";import"http";import"https";import"dns";import"buffer";import"zlib";import"http2";import"tls";import"net";import"./constants-DED7MIJj.mjs";import"path";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};o.SENTRY_RELEASE={id:"4.2.860"}}catch{}})();try{(function(){var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="b6bf4634-792b-4cca-830b-1ccdb027450c",o._sentryDebugIdIdentifier="sentry-dbid-b6bf4634-792b-4cca-830b-1ccdb027450c")})()}catch{}const f=`${process.platform} ${i.release()} ${i.arch()}`,a={"x-device-id":s,"x-app-version":p.version,"x-os":f},c=d();async function O(o,e,r,n){const t=await c.requestAsString(e,{method:o,headers:{...a,...r},body:n||void 0});return{statusCode:t.statusCode,body:t.body}}export{O as callAppAPI};
//# sourceMappingURL=app-api-Dyy9vj_s.mjs.map
