Closed sherwinski closed 1 year ago
At the risk of making this PR lengthier, I patched in some missing TS definitions as well.
:tada: This PR is included in version 3.8.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Description
Before this PR, the
encoder
buildParams option would only be applied to the non-base64 parameters (i.e. parameters whose values did not end in64
). After this PR, the same encoder will be applied to base64 parameters as well.It also adds an optional parameter
key
to the encoder which allows users to specify encoding logic conditional to the parameter key. This is helpful if users wish to encode base64 and non-base64 parameters differently.Checklist
Update or add any necessary API documentation (if applicable)Add some steps so we can test your bug fix or feature (if applicable).Any breaking changes are specified on the commit on which they are introduced withBREAKING CHANGE
in the body of the commit.If this is a big feature with breaking changes, consider opening an issue to discuss first. This is completely up to you, but please keep in mind that your PR might not be accepted.