/**
 * Minified by jsDelivr using Terser v5.37.0.
 * Original file: /npm/hypf@0.2.3/dist/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
import{getAbortController}from"./utils/get-abort-controller.js";import{createHTTPMethod}from"./utils/create-http-method.js";import{createHTTPError}from"./utils/create-http-error.js";function init(e="",t=Object.create(null)){if("undefined"==typeof fetch)throw new Error("This library is intended for use in the native `fetch()` supported environment only.");return e&&(t.baseUrl=e),{get:(e,r,o)=>createHTTPMethod(e,"GET",r,o,t),post:(e,r,o)=>createHTTPMethod(e,"POST",r,o,t),put:(e,r,o)=>createHTTPMethod(e,"PUT",r,o,t),delete:(e,r,o)=>createHTTPMethod(e,"DELETE",r,o,t),patch:(e,r,o)=>createHTTPMethod(e,"PATCH",r,o,t),head:(e,r,o)=>createHTTPMethod(e,"HEAD",r,o,t),options:(e,r,o)=>createHTTPMethod(e,"OPTIONS",r,o,t),createHTTPMethod:createHTTPMethod,createHTTPError:createHTTPError,getAbortController:getAbortController}}var src_default={init:init};export{src_default as default,init};
//# sourceMappingURL=/sm/4fb650e2d4bb6cbb7a29b080b53e26ccdf84f52e146eeef4cb79cb48ea2ff1eb.map