nextemos 6.1.0 → 6.1.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.
@@ -101,7 +101,8 @@ const fetchRequest = () => {
101
101
  }
102
102
  if (!response.ok) {
103
103
  const errorDetail = yield response.text();
104
- if (["debug", "info", "trace"].includes(FETCH_OPTIONS.LOG_LEVEL))
104
+ if (["debug", "info", "trace"].includes(FETCH_OPTIONS.LOG_LEVEL) &&
105
+ response.status !== __1.HttpStatusCode.NOT_FOUND)
105
106
  console.log("Fetch Error: ", {
106
107
  apiUrl: apiURL.toString(),
107
108
  status: response.status,
@@ -11,6 +11,7 @@ export interface ICommentRatingOption {
11
11
  }
12
12
  export interface ICommentSummariesResponse extends IResponse {
13
13
  data: ICommentSummary[];
14
+ totalComments: number;
14
15
  }
15
16
  export interface ICommentSummary {
16
17
  contentTypeId: number;
@@ -284,6 +284,7 @@ export interface IRefundDetail {
284
284
  items: IOrderRefundDetailItem[];
285
285
  totals: IOrderTotal[];
286
286
  trackingUrl: string;
287
+ shipperId: number;
287
288
  }
288
289
  export interface IOrderShipmentItem {
289
290
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "6.1.0",
3
+ "version": "6.1.2",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",