stripe-kit
stripe-kit copied to clipboard
Implement Tracing
Draft PR for adding tracing to StripeKit. This is only a draft because you probably want to wait until task local values are available and using async/await.
This PR also makes it possible to change the API key easily without needing to create an entire new StripeClient which is quite expensive. Useful for SaaS providers running multi-tenant applications. Open to feedback on the implementation!