I recently came across an issue when using the MailJet Node SDK, because of the version field in the RequestConfig: I had written '3.1' instead of 'v3.1'. My proposal is to type this field as 'v3' | 'v3.1' to prevent this from happening in the future to other users. I can open a PR.
I recently came across an issue when using the MailJet Node SDK, because of the
version
field in theRequestConfig
: I had written'3.1'
instead of'v3.1'
. My proposal is to type this field as'v3' | 'v3.1'
to prevent this from happening in the future to other users. I can open a PR.