{"version":3,"file":"guaranteeFetch.mjs","names":[],"sources":["../../src/util/guaranteeFetch.ts"],"sourcesContent":["import crossFetch from \"cross-fetch\";\n\n/**\n * @internal\n * Guantees that some kind of fetch is available\n *\n * @param fetchInput - A potential fetch object\n * @returns a proper fetch object. Cross-fetch is default\n */\nexport function guaranteeFetch(fetchInput?: typeof fetch): typeof fetch {\n  return fetchInput || crossFetch;\n}\n"],"mappings":";;;;;;;;;AASA,SAAgB,eAAe,YAAyC;AACtE,QAAO,cAAc"}