@or-sdk/store 2.0.24 → 2.0.25-beta.3090.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +2 -3
package/README.md CHANGED
@@ -7,16 +7,16 @@ $ npm i @or-sdk/store
7
7
  ```typescript
8
8
  import { Store } from '@or-sdk/store'
9
9
  import config from '../config';
10
-
10
+
11
11
  // With direct api url
12
- const storeSdk = new Store({
12
+ const store = new Store({
13
13
  token: 'my-account-token-string',
14
14
  storeApiUrl: config.STORE_API_URL
15
15
  });
16
16
 
17
17
  // With service discovery (slower)
18
- const storeSdk = new Store({
18
+ const store = new Store({
19
19
  token: 'my-account-token-string',
20
- discoveryUrl: 'http://example.store/endpoint'
20
+ discoveryUrl: 'http://example.discovery/endpoint'
21
21
  });
22
22
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@or-sdk/store",
3
- "version": "2.0.24",
3
+ "version": "2.0.25-beta.3090.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -26,6 +26,5 @@
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public"
29
- },
30
- "gitHead": "6999b19155b0149a043762916aa6ab17c74796aa"
29
+ }
31
30
  }