Hasura Auth JS SDK to handle Auth with Hasura.
$ npm install hasura-auth-js
or
$ yarn add hasura-auth-js
https://docs.nhost.io/libraries/nhost-js-sdk
type PaymentIntentResult =
| {paymentIntent: PaymentIntent; error?: undefined}
| {paymentIntent?: undefined; error: StripeError};