@or-sdk/store
TypeScript icon, indicating that this package has built-in type declarations

2.0.25 • Public • Published

Installation:

$ npm i @or-sdk/store

Usage:

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'
});

Readme

Keywords

none

Package Sidebar

Install

npm i @or-sdk/store

Weekly Downloads

145

Version

2.0.25

License

Apache-2.0

Unpacked Size

105 kB

Total Files

35

Last publish

Collaborators

  • onereach.user
  • onereach.admin