1*a5fb1ba8SEvan Bacon"use strict";
226ad19fcSEvan Bacon/**
326ad19fcSEvan Bacon * Copyright (c) 650 Industries.
426ad19fcSEvan Bacon * Copyright (c) Meta Platforms, Inc. and affiliates.
526ad19fcSEvan Bacon *
626ad19fcSEvan Bacon * This source code is licensed under the MIT license found in the
726ad19fcSEvan Bacon * LICENSE file in the root directory of this source tree.
826ad19fcSEvan Bacon */
9*a5fb1ba8SEvan BaconObject.defineProperty(exports, "__esModule", { value: true });
1026ad19fcSEvan Baconasync function symbolicateStackTrace(stack) {
1126ad19fcSEvan Bacon    const baseUrl = typeof window === 'undefined'
1226ad19fcSEvan Bacon        ? process.env.EXPO_DEV_SERVER_ORIGIN
1326ad19fcSEvan Bacon        : window.location.protocol + '//' + window.location.host;
1426ad19fcSEvan Bacon    const response = await fetch(baseUrl + '/symbolicate', {
1526ad19fcSEvan Bacon        method: 'POST',
1626ad19fcSEvan Bacon        body: JSON.stringify({ stack }),
1726ad19fcSEvan Bacon    });
1826ad19fcSEvan Bacon    return await response.json();
1926ad19fcSEvan Bacon}
20*a5fb1ba8SEvan Baconexports.default = symbolicateStackTrace;
2126ad19fcSEvan Bacon//# sourceMappingURL=index.js.map