@commercetools-frontend/sdk 21.0.0 → 21.1.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.
@@ -323,7 +323,7 @@ var index = /*#__PURE__*/Object.freeze({
323
323
  });
324
324
 
325
325
  // NOTE: This string will be replaced on build time with the package version.
326
- var version = "21.0.0";
326
+ var version = "21.1.0";
327
327
 
328
328
  /* eslint-disable no-console */
329
329
  var isLoggerEnabled = function isLoggerEnabled() {
@@ -314,7 +314,7 @@ var index = /*#__PURE__*/Object.freeze({
314
314
  });
315
315
 
316
316
  // NOTE: This string will be replaced on build time with the package version.
317
- var version = "21.0.0";
317
+ var version = "21.1.0";
318
318
 
319
319
  var removeMcPrefix = function removeMcPrefix(host) {
320
320
  return host.replace(/^mc(-(\d){4,})?\.(.*)$/, '$3');
@@ -301,7 +301,7 @@ var index = /*#__PURE__*/Object.freeze({
301
301
  });
302
302
 
303
303
  // NOTE: This string will be replaced on build time with the package version.
304
- var version = "21.0.0";
304
+ var version = "21.1.0";
305
305
 
306
306
  /* eslint-disable no-console */
307
307
  var isLoggerEnabled = function isLoggerEnabled() {
@@ -7,7 +7,7 @@ export declare type TSdkActionPayloadMethod<Method extends THttpMethod> = {
7
7
  method: Method;
8
8
  };
9
9
  export declare type TSdkActionPayloadBody = {
10
- payload: string | Json;
10
+ payload: unknown;
11
11
  };
12
12
  export interface TSdkActionPayloadBase {
13
13
  headers?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/sdk",
3
- "version": "21.0.0",
3
+ "version": "21.1.0",
4
4
  "description": "Tools for declarative fetching",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "@commercetools/http-user-agent": "2.1.2",
29
29
  "@commercetools/sdk-client": "2.1.2",
30
30
  "@commercetools/sdk-middleware-correlation-id": "2.1.4",
31
- "@commercetools/sdk-middleware-http": "6.1.0",
31
+ "@commercetools/sdk-middleware-http": "6.1.1",
32
32
  "@types/node-fetch": "2.5.12",
33
33
  "@types/prop-types": "^15.7.4",
34
34
  "@types/react": "^17.0.38",