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

2.0.24 • Public • Published

Installation:

$ npm i @or-sdk/store

Usage:

import { Store } from '@or-sdk/store'
import config from '../config';
   
// With direct api url
const storeSdk = new Store({
  token: 'my-account-token-string',
  storeApiUrl: config.STORE_API_URL
});

// With service discovery (slower)
const storeSdk = new Store({
  token: 'my-account-token-string',
  discoveryUrl: 'http://example.store/endpoint'
});

Readme

Keywords

none

Package Sidebar

Install

npm i @or-sdk/store

Weekly Downloads

645

Version

2.0.24

License

Apache-2.0

Unpacked Size

105 kB

Total Files

35

Last publish

Collaborators

  • onereach.user
  • onereach.admin