#discodanne_api

1 messages ยท Page 1 of 1 (latest)

covert lichenBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1222188823887347764

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

summer kite
#

Looks like, they where added in a later version compare to what we use. Anywhere we can see when they where added?

glossy elbowBOT
wraith rover
summer kite
#

Okey thanks, what the lates version we can use but still use apiversion "2022-11-15"

#

We need to fix a small bug and dont have time at the moment to make a full migration

wraith rover
#

Version 12.0.0 seems to be the last one where the library is pre-pinned to that API version:
https://github.com/stripe/stripe-node/releases/tag/v12.0.0

But I believe you're still able to pass the apiVersion option when initializing the library to change what version is being used, allowing you to use a newer SDK version with an older API version:
https://docs.stripe.com/api/versioning?lang=node

GitHub

#1743 Remove Stripe.default and Stripe.Stripe
This was added to maintain backwards compatibility during the transition of stripe-node to a dual ES module / CommonJS package, and should not be funct...

summer kite
#

Upgraded to the latest 14.22.0 and the types now exist however I have to use version 2023-10-16. I have looked through the breaking changes and it might not be any issues

#

thansk for the help