JSPM

  • Created
  • Published
  • Downloads 3072
  • Score
    100M100P100Q12841F
  • License MIT

Hasura Auth JS

Package Exports

  • @nhost/hasura-auth-js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nhost/hasura-auth-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Hasura Auth JS SDK

Hasura Auth JS SDK to handle Auth with Hasura.

Install

$ npm install hasura-auth-js

or

$ yarn add hasura-auth-js

Documentation

https://docs.nhost.io/libraries/nhost-js-sdk

type PaymentIntentResult =
| {paymentIntent: PaymentIntent; error?: undefined}
| {paymentIntent?: undefined; error: StripeError};

Tips: https://github.com/stripe/stripe-js/blob/9801d2c0ef0d255c005ee40c195e76f55af312f7/types/stripe-js/index.d.ts