From 07de246c081dfe748f1756467b1e6a0532f27ff0 Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Fri, 29 Dec 2023 10:33:01 +0000 Subject: [PATCH] chore: set compressionMiddlewareOptions priority to high --- packages/middleware-compression/src/compressionMiddleware.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/middleware-compression/src/compressionMiddleware.ts b/packages/middleware-compression/src/compressionMiddleware.ts index a659771f801c..03d6e2b27aff 100644 --- a/packages/middleware-compression/src/compressionMiddleware.ts +++ b/packages/middleware-compression/src/compressionMiddleware.ts @@ -1,5 +1,6 @@ import { HttpRequest } from "@smithy/protocol-http"; import { + AbsoluteLocation, BuildHandler, BuildHandlerArguments, BuildHandlerOptions, @@ -92,9 +93,10 @@ export const compressionMiddleware = }); }; -export const compressionMiddlewareOptions: BuildHandlerOptions = { +export const compressionMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation = { name: "compressionMiddleware", step: "build", tags: ["REQUEST_BODY_COMPRESSION", "GZIP"], override: true, + priority: "high", };