You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ntegral thanks for opening the issue. I have just released 0.4.0. Does this solve your needs? As far as I know you can provide your own version string.
The short answer is no. Your StripeOptions extends the Stripe.StripeConfig interface and the apiVersion only accepts a type of LatestVersion which is set to "2020-03-02"; In order to use a different apiVersion the underlying library requires that I use @ts-ignore statement to use a different version. So technically, it's not the code that you've written... it's the underlying dependency code.
I see. I briefly looked into it and saw this. From what I see they don't plan on supporting any version except the latest version? I'd imagine the only way to get around that would be to use the Stripe node version which uses the API version that you want to use?
My library lets you bring your own Stripe version at least... hopefully that helps a little bit. As long as you use ^8.0.0 you're good.
I do understand their reasoning though: kind of hard to maintain definitions for all of their API versions. Not ideal though.
apiVersion can only be set to the latest api version? Can this be set to be latestVersion or string?
The text was updated successfully, but these errors were encountered: