@microsoft/kiota-http-fetchlibrary
Advanced tools
Comparing version 1.0.0-preview.48 to 1.0.0-preview.49
@@ -20,3 +20,3 @@ "use strict"; | ||
*/ | ||
static getDefaultMiddlewares(customFetch = fetch) { | ||
static getDefaultMiddlewares(customFetch = (...args) => fetch(...args)) { | ||
// Browsers handles redirection automatically and do not require the redirectionHandler | ||
@@ -23,0 +23,0 @@ return [ |
@@ -21,3 +21,3 @@ "use strict"; | ||
*/ | ||
static getDefaultMiddlewares(customFetch = fetch) { | ||
static getDefaultMiddlewares(customFetch = (...args) => fetch(...args)) { | ||
return [ | ||
@@ -24,0 +24,0 @@ new retryHandler_1.RetryHandler(), |
@@ -17,3 +17,3 @@ import { CustomFetchHandler } from "../customFetchHandler"; | ||
*/ | ||
static getDefaultMiddlewares(customFetch = fetch) { | ||
static getDefaultMiddlewares(customFetch = (...args) => fetch(...args)) { | ||
// Browsers handles redirection automatically and do not require the redirectionHandler | ||
@@ -20,0 +20,0 @@ return [ |
@@ -18,3 +18,3 @@ import { CustomFetchHandler } from "./customFetchHandler"; | ||
*/ | ||
static getDefaultMiddlewares(customFetch = fetch) { | ||
static getDefaultMiddlewares(customFetch = (...args) => fetch(...args)) { | ||
return [ | ||
@@ -21,0 +21,0 @@ new RetryHandler(), |
{ | ||
"name": "@microsoft/kiota-http-fetchlibrary", | ||
"version": "1.0.0-preview.48", | ||
"version": "1.0.0-preview.49", | ||
"description": "Kiota request adapter implementation with fetch", | ||
@@ -41,3 +41,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@microsoft/kiota-abstractions": "^1.0.0-preview.49", | ||
"@microsoft/kiota-abstractions": "^1.0.0-preview.50", | ||
"@opentelemetry/api": "^1.7.0", | ||
@@ -50,3 +50,3 @@ "guid-typescript": "^1.0.9", | ||
}, | ||
"gitHead": "985036391e8a9823e363f5c2fde486ae9186ea0a" | ||
"gitHead": "e991da0d0539f786bfc7ff21b9d07e1e46642d58" | ||
} |
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
Sorry, the diff of this file is not supported yet
492181