Z1 Lib Api Box Client
Feathers service in a macro with localforage as storage
Documentation under construction.
Usage
Install
yarn add @z1/lib-api-box-client
Import
import api from '@z1/lib-api-box-client'
const api = api({ path: `endpointURL` })
Configuration
path
: string (required)options
: { } IO socket options (optional)timeout
: number (optional) IO Socket timeout if call failsstorage
: Authentication client storage (default: localStorage
if available, MemoryStorage
otherwise)auth
: configconfigure
: callback function