Skip to content

Commit

Permalink
chore: try lowering concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Oct 9, 2024
1 parent 5b00e14 commit 9e98833
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/middleware-user-agent/src/check-features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ export async function checkFeatures(
}
}

const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity;
// TODO: later version of @smithy/types has explicit typing for this.
const identity = (context.__smithy_context?.selectedHttpAuthScheme as any)?.identity;

if ((identity as AttributedAwsCredentialIdentity).$source) {
const credentials = identity as AttributedAwsCredentialIdentity;
if (credentials.accountId) {
Expand Down

0 comments on commit 9e98833

Please sign in to comment.