Comparing version 0.7.1-alpha-20240102113840-f47772baf46765f2a1e897e8f803bb5b320223a7 to 0.7.1-alpha-20240102114418-e85d9ec6a07ba72032adda7ca0334186f6973b96
@@ -15,6 +15,8 @@ "use strict"; | ||
function createRouterBase({ fetchAPI: givenFetchAPI, base: basePath = '/', plugins = [], openAPI, swaggerUI, landingPage = true, } = {}, openAPIDocument) { | ||
const fetchAPI = { | ||
...DefaultFetchAPI, | ||
...givenFetchAPI, | ||
}; | ||
const fetchAPI = givenFetchAPI | ||
? { | ||
...DefaultFetchAPI, | ||
...givenFetchAPI, | ||
} | ||
: DefaultFetchAPI; | ||
const __onRouterInitHooks = []; | ||
@@ -21,0 +23,0 @@ const onRouteHooks = []; |
@@ -11,6 +11,8 @@ import { parse as qsParse } from 'qs'; | ||
export function createRouterBase({ fetchAPI: givenFetchAPI, base: basePath = '/', plugins = [], openAPI, swaggerUI, landingPage = true, } = {}, openAPIDocument) { | ||
const fetchAPI = { | ||
...DefaultFetchAPI, | ||
...givenFetchAPI, | ||
}; | ||
const fetchAPI = givenFetchAPI | ||
? { | ||
...DefaultFetchAPI, | ||
...givenFetchAPI, | ||
} | ||
: DefaultFetchAPI; | ||
const __onRouterInitHooks = []; | ||
@@ -17,0 +19,0 @@ const onRouteHooks = []; |
{ | ||
"name": "fets", | ||
"version": "0.7.1-alpha-20240102113840-f47772baf46765f2a1e897e8f803bb5b320223a7", | ||
"version": "0.7.1-alpha-20240102114418-e85d9ec6a07ba72032adda7ca0334186f6973b96", | ||
"description": "TypeScript HTTP Framework focusing on e2e type-safety, easy setup, performance & great developer experience", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
257244
3679