blob: 1058676f74d5a6ffdeee5df8faca68a2bfc3cbd6 [file] [log] [blame]
'use strict';
import nodeFetch from 'node-fetch';
import fetchCookie from 'fetch-cookie';
var fetch = fetchCookie(nodeFetch);
/* We can fake the abort, the http adapter keeps track
of ignoring the result */
function AbortController() {
return {abort: function () {}};
}
var Headers = nodeFetch.Headers;
export {fetch, Headers, AbortController};