- Remove content-length from request-to-sign. This may have unintended side-effects for some AWS APIs, which is why the minor version is bumped.
- Bump dependencies
- Fixed invalid tyes in signed headers
body
is now aString
value for bothrequest()
andsignedHeaders()
inSigv4Client
- Fixed incorrect string for non-payload S3 requests (@jfrsbg)
- Added
signPayload
andencoding
parameters to support S3 signed payloads
service
andregion
parameters are now required
- External image reference in readme
- Added/clarified documentation
- Added extensions for
http
,dio
andchopper
Renamed some parameters to be more consistent with AWS's documentation
accessKey
=>keyId
secretKey
=>accessKey
- Removed too complex signature text (dependent on current datetime)
- Formatting
- Fixed request headers type mismatch
- Added tests
- Fixed non-string query parameter type errors
- Tweaked readme
-
Removed Sigv4Request, only Sigv4Client is needed
-
Exposed methods for building headers and canonical path independently
-
Exposed a wrapper method that returns a
http
Request object -
Added documentation and README
- Initial version