nhost-js-sdk
nhost-js-sdk copied to clipboard
Nhost JS SDK to handle Auth and Storage with Nhost.
Hey guys, nice project. Just noticed these errors in my console when I bundle with parcel... Are the sourcemaps being generated correctly?
The current SDK methods include a helper to get the user data (`auth.user()`). I would be great if we could get something similar for user roles. At present I can...
And give a better error message if `file` is not a [File](https://developer.mozilla.org/en-US/docs/Web/API/File).
In the SDK repo README, and the nhost docs, please include all the SDK [config options] (https://github.com/nhost/nhost-js-sdk/blob/master/src/index.ts#L23-L30).
When using nhost-js-sdk in a React-Native project, `client_storage` has the wrong type, it only supports `ClientStorage`, however react-native `AsyncStorage` has type `AsyncStorageStatic` `UserConfig` `client_storage` should be `client_storage?: ClientStorage | AsyncStorageStatic;`...
When using the putString method to upload a base64 string a sample image is uploaded instead. Meaning that in Nhost storage you get this tiny white square instead of the...