Private
apiA wrapper of the low level Data API
Private
authAuth handles authentication and login
Private
bazaarAccess to the collections API
Private
Alpha
emailAccess to the email API
Private
Alpha
notificationsAccess to the notifications API
Private
Alpha
orgsAccess to the organizations API
Access to the permissions API
Access to the social API
Gets a collection interface (API access to the specified collection)
The name of the collection to create the interface for.
Optional
collectionOptions: CollectionOptionsAn optional object for specifying an onCreate hook. The onCreate hook sets up a collection when it is created (e.g., to set up permissions)
Sets a callback function an app can run when it connects or re-connects to the API.
Sets a callback function an app can run when an API disconnection occurs.
e.g. Invalid access token
Sets a callback function an app can run when a user has successfully logged in.
e.g. Set state, redirect, etc.
Sets a callback function an app can run a login error occurs.
e.g. Authorization code is invalid
The primary class of the Bazaar JS SDK to help you more easily build web apps with Bazaar.