stripe-js
stripe-js copied to clipboard
Provide an API version constant for the types
The readme mentions:
The type declarations in @stripe/stripe-js for these objects in will always track the latest version of the Stripe API.
It'd be helpful if there was an exported constant providing that version, to ensure we don't hardcode the current version, having the types move to a new version, and unknowingly having a mismatch