feat(s3): support generating endpoints from multi-region access point by AllanZhengYP · Pull Request #2796 · aws/aws-sdk-js-v3 (original) (raw)

Issue

Reverts: cfb3fff.

This change marks @aws-sdk/signature-v4-crt package is peer dependency. It makes sure the SDK won't install the package out-of-box. Because the @aws-sdk/signature-v4-crt package contains native code, it takes up 10MB on disk, and it is only required for signing MRAP request. So for users requiring this feature, they need to install the package explicitly.

TODO: Create Known Issues to the README.md too document users to install @aws-sdk/signature-v4-crt package explicitly

Testing

Manual test(Lambda, Lambda with bundler, Browser with Webpack), Unit test


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.