@longvansoftware/storefront-js-client 4.2.1 → 4.2.2

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.
@@ -82,10 +82,10 @@ export declare class SDK {
82
82
  zca: ZcaService;
83
83
  cashbook: CashbookService;
84
84
  store: StoreService;
85
- cloudCloud: CloudCloudService;
86
85
  fileService: FileServiceSerVice;
87
- token: string | null;
88
86
  orderCloud: OrderCloudService;
87
+ cloudCloud: CloudCloudService;
88
+ token: string | null;
89
89
  constructor(orgId: string, storeId: string, environment: "dev" | "live");
90
90
  setToken(token: string): void;
91
91
  setStoreId(storeId: string): void;
@@ -154,8 +154,8 @@ class SDK {
154
154
  this.cashbook.setOrgId(orgId);
155
155
  this.store.setOrgId(orgId);
156
156
  this.fileService.setOrgId(orgId);
157
- this.orderCloud.setStoreId(orgId);
158
- this.cloudCloud.setStoreId(orgId);
157
+ this.orderCloud.setOrgId(orgId);
158
+ this.cloudCloud.setOrgId(orgId);
159
159
  }
160
160
  }
161
161
  exports.SDK = SDK;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "4.2.1",
3
+ "version": "4.2.2",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [