@longvansoftware/storefront-js-client 3.1.4 → 3.1.5

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.
@@ -46,6 +46,7 @@ export interface Endpoints {
46
46
  authorization: string;
47
47
  zca: string;
48
48
  cashbook: string;
49
+ store: string;
49
50
  }
50
51
  export declare class SDK {
51
52
  orgId: string;
@@ -57,7 +57,7 @@ class SDK {
57
57
  this.authorization = new token_1.AuthorizationService(endpoints.authorization, orgId, storeId);
58
58
  this.zca = new zca_1.ZcaService(endpoints.zca, orgId, storeId);
59
59
  this.cashbook = new cashbook_1.CashbookService(endpoints.cashbook, orgId, storeId);
60
- this.store = new store_1.StoreService(endpoints.product, orgId, storeId); // Using product endpoint for now
60
+ this.store = new store_1.StoreService(endpoints.store, orgId, storeId); // Using product endpoint for now
61
61
  // Initialize other services here
62
62
  }
63
63
  setToken(token) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "3.1.4",
3
+ "version": "3.1.5",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [