@microsoft/kiota-http-fetchlibrary
Advanced tools
Comparing version 1.0.0-preview.78 to 1.0.0-preview.79
# Changelog | ||
## [1.0.0-preview.79](https://github.com/microsoft/kiota-typescript/compare/@microsoft/kiota-http-fetchlibrary@1.0.0-preview.78...@microsoft/kiota-http-fetchlibrary@1.0.0-preview.79) (2025-01-09) | ||
### Features | ||
* adds url replacement as a default ([#1540](https://github.com/microsoft/kiota-typescript/issues/1540)) ([acca423](https://github.com/microsoft/kiota-typescript/commit/acca4232303781509c47c48fd6edf94c3a857ad5)) | ||
### Dependencies | ||
* The following workspace dependencies were updated | ||
* dependencies | ||
* @microsoft/kiota-abstractions bumped from ^1.0.0-preview.78 to ^1.0.0-preview.79 | ||
## [1.0.0-preview.78](https://github.com/microsoft/kiota-typescript/compare/@microsoft/kiota-http-fetchlibrary@1.0.0-preview.77...@microsoft/kiota-http-fetchlibrary@1.0.0-preview.78) (2024-12-19) | ||
@@ -4,0 +18,0 @@ |
@@ -13,2 +13,3 @@ /** | ||
import { CompressionHandler } from "../compressionHandler.js"; | ||
import { UrlReplaceHandler } from "../urlReplaceHandler.js"; | ||
/** | ||
@@ -27,5 +28,5 @@ * | ||
// Browsers handles redirection automatically and do not require the redirectionHandler | ||
return [new RetryHandler(), new ParametersNameDecodingHandler(), new UserAgentHandler(), new CompressionHandler(), new HeadersInspectionHandler(), new CustomFetchHandler(customFetch)]; | ||
return [new RetryHandler(), new ParametersNameDecodingHandler(), new UserAgentHandler(), new CompressionHandler(), new HeadersInspectionHandler(), new UrlReplaceHandler(), new CustomFetchHandler(customFetch)]; | ||
} | ||
} | ||
//# sourceMappingURL=middlewareFactory.js.map |
@@ -14,2 +14,3 @@ /** | ||
import { CompressionHandler } from "./compressionHandler.js"; | ||
import { UrlReplaceHandler } from "./urlReplaceHandler.js"; | ||
/** | ||
@@ -27,5 +28,5 @@ * | ||
static getDefaultMiddlewares(customFetch = (...args) => fetch(...args)) { | ||
return [new RetryHandler(), new RedirectHandler(), new ParametersNameDecodingHandler(), new UserAgentHandler(), new CompressionHandler(), new HeadersInspectionHandler(), new CustomFetchHandler(customFetch)]; | ||
return [new RetryHandler(), new RedirectHandler(), new ParametersNameDecodingHandler(), new UserAgentHandler(), new CompressionHandler(), new HeadersInspectionHandler(), new UrlReplaceHandler(), new CustomFetchHandler(customFetch)]; | ||
} | ||
} | ||
//# sourceMappingURL=middlewareFactory.js.map |
{ | ||
"name": "@microsoft/kiota-http-fetchlibrary", | ||
"version": "1.0.0-preview.78", | ||
"version": "1.0.0-preview.79", | ||
"description": "Kiota request adapter implementation with fetch", | ||
@@ -37,3 +37,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@microsoft/kiota-abstractions": "^1.0.0-preview.78", | ||
"@microsoft/kiota-abstractions": "^1.0.0-preview.79", | ||
"@opentelemetry/api": "^1.7.0", | ||
@@ -48,3 +48,3 @@ "tslib": "^2.6.2" | ||
], | ||
"gitHead": "ea650f48868b15deefd1fa358f687dad072e144f" | ||
"gitHead": "78d3b24d7d27cc8281f2555a1f24973861b8307c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
343584
3838