@microsoft/kiota-http-fetchlibrary
Advanced tools
Comparing version 1.0.0-preview.56 to 1.0.0-preview.57
@@ -432,3 +432,3 @@ /** | ||
}); | ||
const factory = errorMappings ? (_c = (_b = (_a = errorMappings[statusCode]) !== null && _a !== void 0 ? _a : (statusCode >= 400 && statusCode < 500 ? errorMappings._4XX : undefined)) !== null && _b !== void 0 ? _b : (statusCode >= 500 && statusCode < 600 ? errorMappings._5XX : undefined)) !== null && _c !== void 0 ? _c : errorMappings.XXX : undefined; | ||
const factory = errorMappings ? ((_c = (_b = (_a = errorMappings[statusCode]) !== null && _a !== void 0 ? _a : (statusCode >= 400 && statusCode < 500 ? errorMappings._4XX : undefined)) !== null && _b !== void 0 ? _b : (statusCode >= 500 && statusCode < 600 ? errorMappings._5XX : undefined)) !== null && _c !== void 0 ? _c : errorMappings.XXX) : undefined; | ||
if (!factory) { | ||
@@ -435,0 +435,0 @@ spanForAttributes.setAttribute(FetchRequestAdapter.errorMappingFoundAttributeName, false); |
{ | ||
"name": "@microsoft/kiota-http-fetchlibrary", | ||
"version": "1.0.0-preview.56", | ||
"version": "1.0.0-preview.57", | ||
"description": "Kiota request adapter implementation with fetch", | ||
@@ -31,3 +31,3 @@ "keywords": [ | ||
"lint:fix": "eslint . --ext .ts --fix", | ||
"test:browser": "vitest run --browser.name=chrome --browser.headless", | ||
"test:browser": "vitest run --browser.name=chrome --browser.headless --browser.provider=webdriverio", | ||
"test:node": "vitest --run", | ||
@@ -45,3 +45,3 @@ "test": "npm run test:node && npm run test:browser" | ||
}, | ||
"gitHead": "d2049023e3e60fedd031bc73ee3edf5ffa8693d2" | ||
"gitHead": "c11f92d3dfde91d52387da13dddb4ebfbfd933a3" | ||
} |
{ | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"extends": "../../../tsconfig.base.json", | ||
@@ -9,2 +10,2 @@ "compilerOptions": { | ||
], | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3679
303807