@hey-api/client-fetch
Advanced tools
Comparing version 0.1.8 to 0.1.9
{ | ||
"name": "@hey-api/client-fetch", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Typesafe Fetch API client for your @hey-api/openapi-ts types", |
@@ -37,3 +37,4 @@ import type { Client, Config, RequestOptions } from './types'; | ||
const getConfig = () => (_config.global ? globalConfig : _config); | ||
// @ts-ignore | ||
const getConfig = () => (_config.root ? globalConfig : _config); | ||
@@ -163,2 +164,6 @@ const interceptors = _config.global | ||
export const client = createClient(globalConfig); | ||
export const client = createClient({ | ||
...globalConfig, | ||
// @ts-ignore | ||
root: true, | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43115
976