@hubs101/js-api-skd-client
v1.0.10497
Published
Package for easy access to Event App API
Downloads
928
Readme
Install Size
Check out the package's install size on Packagephobia.
API Doc
Using BaseAPI, stateless
Used before initWithToken
BaseAPI.login(basePath, username, password)
Accessing API via stateless interface:
BaseAPI.fetchAttendees(basePath, token, eventID)
Using EventAPIProvider
- 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.
Creating new release
- 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