nextemos 6.4.0 → 6.4.1

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.
@@ -77,7 +77,6 @@ const refreshExpiredEnvironment = (environment, ctx) => {
77
77
  countryCode: ENVIRONMENT.COUNTRY_CODE,
78
78
  platform: ENVIRONMENT.PLATFORM,
79
79
  }, {
80
- version: ctx.version,
81
80
  __envRetried: true,
82
81
  headers: ctx.authorization
83
82
  ? { Authorization: ctx.authorization }
@@ -196,10 +195,7 @@ const fetchRequest = () => {
196
195
  const requestHeaders = options.headers;
197
196
  const currentEnvironment = requestHeaders === null || requestHeaders === void 0 ? void 0 : requestHeaders["Environment"];
198
197
  if (currentEnvironment) {
199
- const refreshedEnvironment = yield refreshExpiredEnvironment(currentEnvironment, {
200
- authorization: requestHeaders === null || requestHeaders === void 0 ? void 0 : requestHeaders["Authorization"],
201
- version: options.version,
202
- });
198
+ const refreshedEnvironment = yield refreshExpiredEnvironment(currentEnvironment, { authorization: requestHeaders === null || requestHeaders === void 0 ? void 0 : requestHeaders["Authorization"] });
203
199
  if (refreshedEnvironment) {
204
200
  logEnvRefresh("istek yeni token ile tekrarlanıyor →", apiURL.toString());
205
201
  const retried = yield request(Object.assign(Object.assign({ url,
@@ -283,6 +283,7 @@ export interface IRefundItem {
283
283
  currencyId: number;
284
284
  currency: string;
285
285
  currencyCode: string;
286
+ integrationCode: string;
286
287
  clientIp: string;
287
288
  referrerUrl: string;
288
289
  referrerName: string;
@@ -95,6 +95,7 @@ export interface IProductTypeListRequest extends IRequestBase {
95
95
  export interface IGetFavoritesRequest extends IRequestBase {
96
96
  currentPage?: number;
97
97
  pageSize?: number;
98
+ isPaged?: boolean;
98
99
  }
99
100
  export interface IAddFavoritesRequest extends IRequestBase {
100
101
  productIds: number[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "6.4.0",
3
+ "version": "6.4.1",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",