diff --git a/.tool-versions b/.tool-versions index 557ea46d..d7568adf 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 20.11.0 +nodejs 20.11.1 diff --git a/src/interceptor.ts b/src/interceptor.ts index c3eac619..1c57256e 100644 --- a/src/interceptor.ts +++ b/src/interceptor.ts @@ -70,8 +70,8 @@ export type InternalAxiosHeaders = Record< Record >; -const removeUndefined = (obj: Record) => { - const newObj: Record = {}; +const removeUndefined = (obj: Record) => { + const newObj: Record = {}; for (const [key, value] of Object.entries(obj)) { if (value !== undefined) { @@ -94,6 +94,8 @@ const removeUndefined = (obj: Record) => { * @param options The options to be used when signing a request * @param credentials Credentials to be used to sign the request */ +// this would be a breaking change to the API +// eslint-disable-next-line @typescript-eslint/no-explicit-any export const aws4Interceptor = ({ instance = axios, credentials,