Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/kiota-http-fetchlibrary

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/kiota-http-fetchlibrary - npm Package Compare versions

Comparing version 1.0.0-preview.53 to 1.0.0-preview.55

52

dist/es/src/browser/index.d.ts

@@ -8,28 +8,28 @@ /**

/// <reference path="../../../../dom.shim.d.ts" />
export * from "../fetchRequestAdapter";
export * from "../httpClient";
export * from "../middlewares/middleware";
export * from "../middlewares/chaosHandler";
export * from "../middlewares/customFetchHandler";
export * from "../middlewares/headersInspectionHandler";
export * from "../middlewares/parametersNameDecodingHandler";
export * from "../middlewares/redirectHandler";
export * from "../middlewares/retryHandler";
export * from "../middlewares/userAgentHandler";
export * from "../middlewares/urlReplaceHandler";
export * from "../middlewares/options/chaosHandlerOptions";
export * from "../middlewares/options/chaosStrategy";
export * from "../middlewares/options/headersInspectionOptions";
export * from "../middlewares/options/parametersNameDecodingOptions";
export * from "../middlewares/options/redirectHandlerOptions";
export * from "../middlewares/options/retryHandlerOptions";
export * from "../middlewares/options/telemetryHandlerOptions";
export * from "../middlewares/options/userAgentHandlerOptions";
export * from "../middlewares/options/urlReplaceHandlerOptions";
export * from "../middlewares/telemetryHandler";
export * from "../middlewares/browser/middlewareFactory";
export * from "../observabilityOptions";
export * from "../utils/headersUtil";
export * from "../utils/fetchDefinitions";
export * from "../kiotaClientFactory";
export * from "../fetchRequestAdapter.js";
export * from "../httpClient.js";
export * from "../middlewares/middleware.js";
export * from "../middlewares/chaosHandler.js";
export * from "../middlewares/customFetchHandler.js";
export * from "../middlewares/headersInspectionHandler.js";
export * from "../middlewares/parametersNameDecodingHandler.js";
export * from "../middlewares/redirectHandler.js";
export * from "../middlewares/retryHandler.js";
export * from "../middlewares/userAgentHandler.js";
export * from "../middlewares/urlReplaceHandler.js";
export * from "../middlewares/options/chaosHandlerOptions.js";
export * from "../middlewares/options/chaosStrategy.js";
export * from "../middlewares/options/headersInspectionOptions.js";
export * from "../middlewares/options/parametersNameDecodingOptions.js";
export * from "../middlewares/options/redirectHandlerOptions.js";
export * from "../middlewares/options/retryHandlerOptions.js";
export * from "../middlewares/options/telemetryHandlerOptions.js";
export * from "../middlewares/options/userAgentHandlerOptions.js";
export * from "../middlewares/options/urlReplaceHandlerOptions.js";
export * from "../middlewares/telemetryHandler.js";
export * from "../middlewares/browser/middlewareFactory.js";
export * from "../observabilityOptions.js";
export * from "../utils/headersUtil.js";
export * from "../utils/fetchDefinitions.js";
export * from "../kiotaClientFactory.js";
//# sourceMappingURL=index.d.ts.map

@@ -9,28 +9,28 @@ /**

/// <reference path= "../../dom.shim.d.ts" />
export * from "../fetchRequestAdapter";
export * from "../httpClient";
export * from "../middlewares/middleware";
export * from "../middlewares/chaosHandler";
export * from "../middlewares/customFetchHandler";
export * from "../middlewares/headersInspectionHandler";
export * from "../middlewares/parametersNameDecodingHandler";
export * from "../middlewares/redirectHandler";
export * from "../middlewares/retryHandler";
export * from "../middlewares/userAgentHandler";
export * from "../middlewares/urlReplaceHandler";
export * from "../middlewares/options/chaosHandlerOptions";
export * from "../middlewares/options/chaosStrategy";
export * from "../middlewares/options/headersInspectionOptions";
export * from "../middlewares/options/parametersNameDecodingOptions";
export * from "../middlewares/options/redirectHandlerOptions";
export * from "../middlewares/options/retryHandlerOptions";
export * from "../middlewares/options/telemetryHandlerOptions";
export * from "../middlewares/options/userAgentHandlerOptions";
export * from "../middlewares/options/urlReplaceHandlerOptions";
export * from "../middlewares/telemetryHandler";
export * from "../middlewares/browser/middlewareFactory";
export * from "../observabilityOptions";
export * from "../utils/headersUtil";
export * from "../utils/fetchDefinitions";
export * from "../kiotaClientFactory";
export * from "../fetchRequestAdapter.js";
export * from "../httpClient.js";
export * from "../middlewares/middleware.js";
export * from "../middlewares/chaosHandler.js";
export * from "../middlewares/customFetchHandler.js";
export * from "../middlewares/headersInspectionHandler.js";
export * from "../middlewares/parametersNameDecodingHandler.js";
export * from "../middlewares/redirectHandler.js";
export * from "../middlewares/retryHandler.js";
export * from "../middlewares/userAgentHandler.js";
export * from "../middlewares/urlReplaceHandler.js";
export * from "../middlewares/options/chaosHandlerOptions.js";
export * from "../middlewares/options/chaosStrategy.js";
export * from "../middlewares/options/headersInspectionOptions.js";
export * from "../middlewares/options/parametersNameDecodingOptions.js";
export * from "../middlewares/options/redirectHandlerOptions.js";
export * from "../middlewares/options/retryHandlerOptions.js";
export * from "../middlewares/options/telemetryHandlerOptions.js";
export * from "../middlewares/options/userAgentHandlerOptions.js";
export * from "../middlewares/options/urlReplaceHandlerOptions.js";
export * from "../middlewares/telemetryHandler.js";
export * from "../middlewares/browser/middlewareFactory.js";
export * from "../observabilityOptions.js";
export * from "../utils/headersUtil.js";
export * from "../utils/fetchDefinitions.js";
export * from "../kiotaClientFactory.js";
//# sourceMappingURL=index.js.map

@@ -8,4 +8,4 @@ /**

import { type AuthenticationProvider, type BackingStoreFactory, type DateOnly, type Duration, type ErrorMappings, type Parsable, type ParsableFactory, type ParseNodeFactory, type PrimitiveTypesForDeserialization, type PrimitiveTypesForDeserializationType, type RequestAdapter, type RequestInformation, type SerializationWriterFactory, type TimeOnly } from "@microsoft/kiota-abstractions";
import { HttpClient } from "./httpClient";
import { type ObservabilityOptions } from "./observabilityOptions";
import { HttpClient } from "./httpClient.js";
import { type ObservabilityOptions } from "./observabilityOptions.js";
/**

@@ -12,0 +12,0 @@ * Request adapter implementation for the fetch API.

@@ -9,4 +9,4 @@ /**

import { SpanStatusCode, trace } from "@opentelemetry/api";
import { HttpClient } from "./httpClient";
import { ObservabilityOptionsImpl } from "./observabilityOptions";
import { HttpClient } from "./httpClient.js";
import { ObservabilityOptionsImpl } from "./observabilityOptions.js";
/**

@@ -13,0 +13,0 @@ * Request adapter implementation for the fetch API.

@@ -8,3 +8,3 @@ /**

import type { RequestOption } from "@microsoft/kiota-abstractions";
import type { Middleware } from "./middlewares/middleware";
import type { Middleware } from "./middlewares/middleware.js";
export declare class HttpClient {

@@ -11,0 +11,0 @@ private customFetch?;

@@ -7,4 +7,4 @@ /**

*/
import { CustomFetchHandler } from "./middlewares/customFetchHandler";
import { MiddlewareFactory } from "./";
import { CustomFetchHandler } from "./middlewares/customFetchHandler.js";
import { MiddlewareFactory } from "./index.js";
export class HttpClient {

@@ -11,0 +11,0 @@ /**

@@ -8,28 +8,28 @@ /**

/// <reference path="../../../dom.shim.d.ts" />
export * from "./fetchRequestAdapter";
export * from "./httpClient";
export * from "./middlewares/middleware";
export * from "./middlewares/chaosHandler";
export * from "./middlewares/customFetchHandler";
export * from "./middlewares/headersInspectionHandler";
export * from "./middlewares/parametersNameDecodingHandler";
export * from "./middlewares/redirectHandler";
export * from "./middlewares/retryHandler";
export * from "./middlewares/userAgentHandler";
export * from "./middlewares/urlReplaceHandler";
export * from "./middlewares/options/chaosHandlerOptions";
export * from "./middlewares/options/chaosStrategy";
export * from "./middlewares/options/headersInspectionOptions";
export * from "./middlewares/options/parametersNameDecodingOptions";
export * from "./middlewares/options/redirectHandlerOptions";
export * from "./middlewares/options/retryHandlerOptions";
export * from "./middlewares/options/telemetryHandlerOptions";
export * from "./middlewares/options/userAgentHandlerOptions";
export * from "./middlewares/options/urlReplaceHandlerOptions";
export * from "./middlewares/telemetryHandler";
export * from "./middlewares/middlewareFactory";
export * from "./observabilityOptions";
export * from "./utils/headersUtil";
export * from "./utils/fetchDefinitions";
export * from "./kiotaClientFactory";
export * from "./fetchRequestAdapter.js";
export * from "./httpClient.js";
export * from "./middlewares/middleware.js";
export * from "./middlewares/chaosHandler.js";
export * from "./middlewares/customFetchHandler.js";
export * from "./middlewares/headersInspectionHandler.js";
export * from "./middlewares/parametersNameDecodingHandler.js";
export * from "./middlewares/redirectHandler.js";
export * from "./middlewares/retryHandler.js";
export * from "./middlewares/userAgentHandler.js";
export * from "./middlewares/urlReplaceHandler.js";
export * from "./middlewares/options/chaosHandlerOptions.js";
export * from "./middlewares/options/chaosStrategy.js";
export * from "./middlewares/options/headersInspectionOptions.js";
export * from "./middlewares/options/parametersNameDecodingOptions.js";
export * from "./middlewares/options/redirectHandlerOptions.js";
export * from "./middlewares/options/retryHandlerOptions.js";
export * from "./middlewares/options/telemetryHandlerOptions.js";
export * from "./middlewares/options/userAgentHandlerOptions.js";
export * from "./middlewares/options/urlReplaceHandlerOptions.js";
export * from "./middlewares/telemetryHandler.js";
export * from "./middlewares/middlewareFactory.js";
export * from "./observabilityOptions.js";
export * from "./utils/headersUtil.js";
export * from "./utils/fetchDefinitions.js";
export * from "./kiotaClientFactory.js";
//# sourceMappingURL=index.d.ts.map

@@ -9,28 +9,28 @@ /**

/// <reference path= "../dom.shim.d.ts" />
export * from "./fetchRequestAdapter";
export * from "./httpClient";
export * from "./middlewares/middleware";
export * from "./middlewares/chaosHandler";
export * from "./middlewares/customFetchHandler";
export * from "./middlewares/headersInspectionHandler";
export * from "./middlewares/parametersNameDecodingHandler";
export * from "./middlewares/redirectHandler";
export * from "./middlewares/retryHandler";
export * from "./middlewares/userAgentHandler";
export * from "./middlewares/urlReplaceHandler";
export * from "./middlewares/options/chaosHandlerOptions";
export * from "./middlewares/options/chaosStrategy";
export * from "./middlewares/options/headersInspectionOptions";
export * from "./middlewares/options/parametersNameDecodingOptions";
export * from "./middlewares/options/redirectHandlerOptions";
export * from "./middlewares/options/retryHandlerOptions";
export * from "./middlewares/options/telemetryHandlerOptions";
export * from "./middlewares/options/userAgentHandlerOptions";
export * from "./middlewares/options/urlReplaceHandlerOptions";
export * from "./middlewares/telemetryHandler";
export * from "./middlewares/middlewareFactory";
export * from "./observabilityOptions";
export * from "./utils/headersUtil";
export * from "./utils/fetchDefinitions";
export * from "./kiotaClientFactory";
export * from "./fetchRequestAdapter.js";
export * from "./httpClient.js";
export * from "./middlewares/middleware.js";
export * from "./middlewares/chaosHandler.js";
export * from "./middlewares/customFetchHandler.js";
export * from "./middlewares/headersInspectionHandler.js";
export * from "./middlewares/parametersNameDecodingHandler.js";
export * from "./middlewares/redirectHandler.js";
export * from "./middlewares/retryHandler.js";
export * from "./middlewares/userAgentHandler.js";
export * from "./middlewares/urlReplaceHandler.js";
export * from "./middlewares/options/chaosHandlerOptions.js";
export * from "./middlewares/options/chaosStrategy.js";
export * from "./middlewares/options/headersInspectionOptions.js";
export * from "./middlewares/options/parametersNameDecodingOptions.js";
export * from "./middlewares/options/redirectHandlerOptions.js";
export * from "./middlewares/options/retryHandlerOptions.js";
export * from "./middlewares/options/telemetryHandlerOptions.js";
export * from "./middlewares/options/userAgentHandlerOptions.js";
export * from "./middlewares/options/urlReplaceHandlerOptions.js";
export * from "./middlewares/telemetryHandler.js";
export * from "./middlewares/middlewareFactory.js";
export * from "./observabilityOptions.js";
export * from "./utils/headersUtil.js";
export * from "./utils/fetchDefinitions.js";
export * from "./kiotaClientFactory.js";
//# sourceMappingURL=index.js.map

@@ -7,4 +7,4 @@ /**

*/
import { Middleware } from ".";
import { HttpClient } from "./httpClient";
import { Middleware } from "./index.js";
import { HttpClient } from "./httpClient.js";
/**

@@ -11,0 +11,0 @@ * @class

@@ -7,4 +7,4 @@ /**

*/
import { MiddlewareFactory } from ".";
import { HttpClient } from "./httpClient";
import { MiddlewareFactory } from "./index.js";
import { HttpClient } from "./httpClient.js";
/**

@@ -11,0 +11,0 @@ * @class

@@ -7,3 +7,3 @@ /**

*/
import { Middleware } from "../middleware";
import { Middleware } from "../middleware.js";
/**

@@ -10,0 +10,0 @@ * @class

@@ -7,7 +7,7 @@ /**

*/
import { CustomFetchHandler } from "../customFetchHandler";
import { HeadersInspectionHandler } from "../headersInspectionHandler";
import { ParametersNameDecodingHandler } from "../parametersNameDecodingHandler";
import { RetryHandler } from "../retryHandler";
import { UserAgentHandler } from "../userAgentHandler";
import { CustomFetchHandler } from "../customFetchHandler.js";
import { HeadersInspectionHandler } from "../headersInspectionHandler.js";
import { ParametersNameDecodingHandler } from "../parametersNameDecodingHandler.js";
import { RetryHandler } from "../retryHandler.js";
import { UserAgentHandler } from "../userAgentHandler.js";
/**

@@ -14,0 +14,0 @@ * @class

@@ -11,4 +11,4 @@ /**

import type { RequestOption } from "@microsoft/kiota-abstractions";
import type { Middleware } from "./middleware";
import type { ChaosHandlerOptions } from "./options/chaosHandlerOptions";
import type { Middleware } from "./middleware.js";
import type { ChaosHandlerOptions } from "./options/chaosHandlerOptions.js";
/**

@@ -15,0 +15,0 @@ * @class

@@ -8,5 +8,5 @@ /**

import { trace } from "@opentelemetry/api";
import { getObservabilityOptionsFromRequest } from "../observabilityOptions";
import { httpStatusCode, methodStatusCode } from "./options/ChaosHandlerData";
import { ChaosStrategy } from "./options/chaosStrategy";
import { getObservabilityOptionsFromRequest } from "../observabilityOptions.js";
import { httpStatusCode, methodStatusCode } from "./options/ChaosHandlerData.js";
import { ChaosStrategy } from "./options/chaosStrategy.js";
/**

@@ -13,0 +13,0 @@ * @class

@@ -10,3 +10,3 @@ /**

*/
import type { Middleware } from "./middleware";
import type { Middleware } from "./middleware.js";
/**

@@ -13,0 +13,0 @@ * @class

@@ -8,4 +8,4 @@ /**

import { type RequestOption } from "@microsoft/kiota-abstractions";
import type { Middleware } from "./middleware";
import { HeadersInspectionOptions } from "./options/headersInspectionOptions";
import type { Middleware } from "./middleware.js";
import { HeadersInspectionOptions } from "./options/headersInspectionOptions.js";
/**

@@ -12,0 +12,0 @@ * @class

@@ -8,4 +8,4 @@ /**

import { trace } from "@opentelemetry/api";
import { getObservabilityOptionsFromRequest } from "../observabilityOptions";
import { HeadersInspectionOptions, HeadersInspectionOptionsKey } from "./options/headersInspectionOptions";
import { getObservabilityOptionsFromRequest } from "../observabilityOptions.js";
import { HeadersInspectionOptions, HeadersInspectionOptionsKey } from "./options/headersInspectionOptions.js";
/**

@@ -12,0 +12,0 @@ * @class

@@ -7,3 +7,3 @@ /**

*/
import { Middleware } from "./middleware";
import { Middleware } from "./middleware.js";
/**

@@ -10,0 +10,0 @@ * @class

@@ -7,8 +7,8 @@ /**

*/
import { CustomFetchHandler } from "./customFetchHandler";
import { HeadersInspectionHandler } from "./headersInspectionHandler";
import { ParametersNameDecodingHandler } from "./parametersNameDecodingHandler";
import { RedirectHandler } from "./redirectHandler";
import { RetryHandler } from "./retryHandler";
import { UserAgentHandler } from "./userAgentHandler";
import { CustomFetchHandler } from "./customFetchHandler.js";
import { HeadersInspectionHandler } from "./headersInspectionHandler.js";
import { ParametersNameDecodingHandler } from "./parametersNameDecodingHandler.js";
import { RedirectHandler } from "./redirectHandler.js";
import { RetryHandler } from "./retryHandler.js";
import { UserAgentHandler } from "./userAgentHandler.js";
/**

@@ -15,0 +15,0 @@ * @class

@@ -10,4 +10,4 @@ /**

*/
import { type FetchHeaders } from "../../utils/fetchDefinitions";
import { type ChaosStrategy } from "./chaosStrategy";
import { type FetchHeaders } from "../../utils/fetchDefinitions.js";
import { type ChaosStrategy } from "./chaosStrategy.js";
export declare const ChaosHandlerOptionsKey = "ChaosHandlerOptionsKey";

@@ -14,0 +14,0 @@ /**

@@ -11,3 +11,3 @@ /**

import type { RequestOption } from "@microsoft/kiota-abstractions";
import type { FetchResponse } from "../../utils/fetchDefinitions";
import type { FetchResponse } from "../../utils/fetchDefinitions.js";
/**

@@ -14,0 +14,0 @@ * @type

@@ -7,3 +7,3 @@ /**

*/
import { libraryVersion } from "./version";
import { libraryVersion } from "./version.js";
export const UserAgentHandlerOptionsKey = "UserAgentHandlerOptionKey";

@@ -10,0 +10,0 @@ /**

@@ -8,4 +8,4 @@ /**

import type { RequestOption } from "@microsoft/kiota-abstractions";
import type { Middleware } from "./middleware";
import { ParametersNameDecodingHandlerOptions } from "./options/parametersNameDecodingOptions";
import type { Middleware } from "./middleware.js";
import { ParametersNameDecodingHandlerOptions } from "./options/parametersNameDecodingOptions.js";
/**

@@ -12,0 +12,0 @@ * @module ParametersNameDecodingHandler

@@ -8,4 +8,4 @@ /**

import { trace } from "@opentelemetry/api";
import { getObservabilityOptionsFromRequest } from "../observabilityOptions";
import { ParametersNameDecodingHandlerOptions, ParametersNameDecodingHandlerOptionsKey } from "./options/parametersNameDecodingOptions";
import { getObservabilityOptionsFromRequest } from "../observabilityOptions.js";
import { ParametersNameDecodingHandlerOptions, ParametersNameDecodingHandlerOptionsKey } from "./options/parametersNameDecodingOptions.js";
/**

@@ -12,0 +12,0 @@ * @module ParametersNameDecodingHandler

@@ -11,4 +11,4 @@ /**

import { type RequestOption } from "@microsoft/kiota-abstractions";
import type { Middleware } from "./middleware";
import { RedirectHandlerOptions } from "./options/redirectHandlerOptions";
import type { Middleware } from "./middleware.js";
import { RedirectHandlerOptions } from "./options/redirectHandlerOptions.js";
/**

@@ -15,0 +15,0 @@ * @class

@@ -12,4 +12,4 @@ /**

import { trace } from "@opentelemetry/api";
import { getObservabilityOptionsFromRequest } from "../observabilityOptions";
import { RedirectHandlerOptionKey, RedirectHandlerOptions } from "./options/redirectHandlerOptions";
import { getObservabilityOptionsFromRequest } from "../observabilityOptions.js";
import { RedirectHandlerOptionKey, RedirectHandlerOptions } from "./options/redirectHandlerOptions.js";
/**

@@ -16,0 +16,0 @@ * @class

@@ -11,4 +11,4 @@ /**

import { type RequestOption } from "@microsoft/kiota-abstractions";
import { type Middleware } from "./middleware";
import { RetryHandlerOptions } from "./options/retryHandlerOptions";
import { type Middleware } from "./middleware.js";
import { RetryHandlerOptions } from "./options/retryHandlerOptions.js";
/**

@@ -15,0 +15,0 @@ * @class

@@ -12,5 +12,5 @@ /**

import { trace } from "@opentelemetry/api";
import { getObservabilityOptionsFromRequest } from "../observabilityOptions";
import { getRequestHeader, setRequestHeader } from "../utils/headersUtil";
import { RetryHandlerOptionKey, RetryHandlerOptions } from "./options/retryHandlerOptions";
import { getObservabilityOptionsFromRequest } from "../observabilityOptions.js";
import { getRequestHeader, setRequestHeader } from "../utils/headersUtil.js";
import { RetryHandlerOptionKey, RetryHandlerOptions } from "./options/retryHandlerOptions.js";
/**

@@ -17,0 +17,0 @@ * @class

@@ -8,4 +8,4 @@ /**

import type { RequestOption } from "@microsoft/kiota-abstractions";
import type { Middleware } from "./middleware";
import type { TelemetryHandlerOptions } from "./options/telemetryHandlerOptions";
import type { Middleware } from "./middleware.js";
import type { TelemetryHandlerOptions } from "./options/telemetryHandlerOptions.js";
export declare const TelemetryHandlerOptionsKey = "TelemetryHandlerOptionsKey";

@@ -12,0 +12,0 @@ export declare class TelemetryHandler implements Middleware {

@@ -8,4 +8,4 @@ /**

import type { RequestOption } from "@microsoft/kiota-abstractions";
import type { Middleware } from "./middleware";
import { UrlReplaceHandlerOptions } from "./options/urlReplaceHandlerOptions";
import type { Middleware } from "./middleware.js";
import { UrlReplaceHandlerOptions } from "./options/urlReplaceHandlerOptions.js";
/**

@@ -12,0 +12,0 @@ * Replaces url placeholders with values from the request option.

@@ -8,4 +8,4 @@ /**

import { trace } from "@opentelemetry/api";
import { getObservabilityOptionsFromRequest } from "../observabilityOptions";
import { UrlReplaceHandlerOptions, UrlReplaceHandlerOptionsKey } from "./options/urlReplaceHandlerOptions";
import { getObservabilityOptionsFromRequest } from "../observabilityOptions.js";
import { UrlReplaceHandlerOptions, UrlReplaceHandlerOptionsKey } from "./options/urlReplaceHandlerOptions.js";
/**

@@ -12,0 +12,0 @@ * Replaces url placeholders with values from the request option.

@@ -11,4 +11,4 @@ /**

import type { RequestOption } from "@microsoft/kiota-abstractions";
import type { Middleware } from "./middleware";
import { UserAgentHandlerOptions } from "./options/userAgentHandlerOptions";
import type { Middleware } from "./middleware.js";
import { UserAgentHandlerOptions } from "./options/userAgentHandlerOptions.js";
export declare class UserAgentHandler implements Middleware {

@@ -15,0 +15,0 @@ private readonly _options;

@@ -8,5 +8,5 @@ /**

import { trace } from "@opentelemetry/api";
import { getObservabilityOptionsFromRequest } from "../observabilityOptions";
import { appendRequestHeader, getRequestHeader } from "../utils/headersUtil";
import { UserAgentHandlerOptions, UserAgentHandlerOptionsKey } from "./options/userAgentHandlerOptions";
import { getObservabilityOptionsFromRequest } from "../observabilityOptions.js";
import { appendRequestHeader, getRequestHeader } from "../utils/headersUtil.js";
import { UserAgentHandlerOptions, UserAgentHandlerOptionsKey } from "./options/userAgentHandlerOptions.js";
const USER_AGENT_HEADER_KEY = "User-Agent";

@@ -13,0 +13,0 @@ export class UserAgentHandler {

@@ -7,3 +7,3 @@ /**

*/
import type { FetchRequestInit } from "./fetchDefinitions";
import type { FetchRequestInit } from "./fetchDefinitions.js";
/**

@@ -10,0 +10,0 @@ * @module MiddlewareUtil

{
"name": "@microsoft/kiota-http-fetchlibrary",
"version": "1.0.0-preview.53",
"version": "1.0.0-preview.55",
"description": "Kiota request adapter implementation with fetch",

@@ -27,3 +27,3 @@ "keywords": [

"build": "npm run build:esm",
"build:esm": "tsc",
"build:esm": "tsc && tsc-alias",
"clean": "rimraf ./dist",

@@ -45,3 +45,3 @@ "lint": "eslint . --ext .ts",

},
"gitHead": "0e26f615f2055e97a8a26412603cb11d0e4cdaf6"
"gitHead": "18ce5fd17f02186ba4151aa105d3a37ea1b50917"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc