Check out the package's install size on Packagephobia.
Used before initWithToken
BaseAPI.login(basePath, username, password)
Accessing API via stateless interface:
BaseAPI.fetchAttendees(basePath, token, eventID)
- Wrap app with Provider:
import { EventAPIProvider } from '@hubs101/js-api-skd-client';
- Access api via hook:
const { fetchAttendees } = useAPIContext();
**First init or initWithToken needs to be called in order to have authentication setup.
- Commit al changes to git
- Prepare build:
npm run build
- Create new patch version run:
npm version patch
- Publish package to NPM:
npm publish
All in one publish alternative run: npm run new-version