1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.fetchAsync = void 0;
4/**
5 * Copyright © 2022 650 Industries.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */
10async function fetchAsync(url) {
11    const response = await fetch(url, {
12        method: 'GET',
13        headers: {
14            // No real reason for this but we try to use this format for everything.
15            'expo-platform': 'web',
16        },
17    });
18    return {
19        body: await response.text(),
20        headers: response.headers,
21    };
22}
23exports.fetchAsync = fetchAsync;
24//# sourceMappingURL=fetchAsync.js.map