$ npm i @or-sdk/store
import { Store } from '@or-sdk/store'
import config from '../config';
// With direct api url
const store = new Store({
token: 'my-account-token-string',
storeApiUrl: config.STORE_API_URL
});
// With service discovery (slower)
const store = new Store({
token: 'my-account-token-string',
discoveryUrl: 'http://example.discovery/endpoint'
});