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

Nhost JS SDK

Nhost JS SDK to handle Auth and Storage with Nhost.

Install

$ npm install nhost-js-sdk

or

$ yarn add nhost-js-sdk

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