Skip to content

Commit

Permalink
Add @smithy/signature-v4 to bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
richarddavison committed Oct 30, 2023
1 parent f4014b7 commit 0e6c905
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,15 @@ const SDK_DATA = {
"client-xray": ["XRay", "xray"],
};

const ADDITIONAL_PACKAGES = ["util-dynamodb"];
const ADDITIONAL_PACKAGES = ["@aws-sdk/util-dynamodb", "@smithy/signature-v4"];

const SDKS = [];
const SERVICE_ENDPOINT_BY_PACKAGE = {};
const CLIENTS_BY_SDK = {};
const SDKS_BY_SDK_PACKAGES = {};
const SDK_PACKAGES = [];
const SDK_PACKAGES = [...ADDITIONAL_PACKAGES];

[...Object.keys(SDK_DATA), ...ADDITIONAL_PACKAGES].forEach((sdk) => {
Object.keys(SDK_DATA).forEach((sdk) => {
const [clientName, serviceEndpoint] = SDK_DATA[sdk] || [];
const sdkPackage = `@aws-sdk/${sdk}`;
SDKS.push(sdk);
Expand Down

0 comments on commit 0e6c905

Please sign in to comment.