-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix(NODE-6743)!: add back missing opt deps aws4
#4408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,8 +23,6 @@ cd $DRIVERS_TOOLS/.evergreen/auth_aws | |
|
||
cd $BEFORE | ||
|
||
npm install --no-save aws4 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this one too, seems like no longer needed. |
||
|
||
if [ $MONGODB_AWS_SDK = 'false' ]; then rm -rf ./node_modules/@aws-sdk/credential-providers; fi | ||
|
||
# revert to show test output | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,8 +138,8 @@ export class MongoDBAWS extends AuthProvider { | |
); | ||
|
||
const payload: AWSSaslContinuePayload = { | ||
a: options.headers.Authorization, | ||
d: options.headers['X-Amz-Date'] | ||
a: `${options.headers?.Authorization ?? ''}`, | ||
d: `${options.headers?.['X-Amz-Date'] ?? ''}` | ||
Comment on lines
+141
to
+142
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. after using the typings from |
||
}; | ||
|
||
if (sessionToken) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure whether it's ok to remove this command.