@commercetools-frontend/sdk 22.23.3 → 22.24.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.
package/README.md
CHANGED
|
@@ -103,7 +103,7 @@ The supported `options` can be found in the `api-request-builder`'s documentatio
|
|
|
103
103
|
## Action creators for external API usage
|
|
104
104
|
|
|
105
105
|
By default, all requests with the SDK are configured to be sent to the MC API.
|
|
106
|
-
However, Custom Applications using the [Proxy to external API](https://docs.commercetools.com/
|
|
106
|
+
However, Custom Applications using the [Proxy to external API](https://docs.commercetools.com/merchant-center-customizations/concepts/integrate-with-your-own-api) need to configure the request a bit differently, and send additional headers.
|
|
107
107
|
|
|
108
108
|
To make it easier to make requests to the proxy endpoint using the SDK, there is a new action creator wrapper that comes with built-in configuration options.
|
|
109
109
|
|
|
@@ -124,7 +124,7 @@ The `forwardTo` action creators additionally set the following headers:
|
|
|
124
124
|
- `X-Forward-To`
|
|
125
125
|
- `X-Forward-To-Audience-Policy`
|
|
126
126
|
|
|
127
|
-
For more information, check the [Proxy to external API](https://docs.commercetools.com/
|
|
127
|
+
For more information, check the [Proxy to external API](https://docs.commercetools.com/merchant-center-customizations/concepts/integrate-with-your-own-api) documentation.
|
|
128
128
|
|
|
129
129
|
## Error handling
|
|
130
130
|
|
|
@@ -300,7 +300,7 @@ const mapDispatchToProps = dispatch => ({
|
|
|
300
300
|
var SdkGet$1 = reactRedux.connect(null, mapDispatchToProps)(SdkGet);
|
|
301
301
|
|
|
302
302
|
// NOTE: This string will be replaced on build time with the package version.
|
|
303
|
-
var version = "22.
|
|
303
|
+
var version = "22.24.0";
|
|
304
304
|
|
|
305
305
|
/* eslint-disable no-console */
|
|
306
306
|
|
|
@@ -291,7 +291,7 @@ const mapDispatchToProps = dispatch => ({
|
|
|
291
291
|
var SdkGet$1 = reactRedux.connect(null, mapDispatchToProps)(SdkGet);
|
|
292
292
|
|
|
293
293
|
// NOTE: This string will be replaced on build time with the package version.
|
|
294
|
-
var version = "22.
|
|
294
|
+
var version = "22.24.0";
|
|
295
295
|
|
|
296
296
|
const mcHostnameRegex = /^mc(-(\d){4,})?\.(.*)$/;
|
|
297
297
|
const mcPreviewHostnameRegex = /^.*\.mc-preview\.(.*)$/;
|
|
@@ -276,7 +276,7 @@ const mapDispatchToProps = dispatch => ({
|
|
|
276
276
|
var SdkGet$1 = connect(null, mapDispatchToProps)(SdkGet);
|
|
277
277
|
|
|
278
278
|
// NOTE: This string will be replaced on build time with the package version.
|
|
279
|
-
var version = "22.
|
|
279
|
+
var version = "22.24.0";
|
|
280
280
|
|
|
281
281
|
/* eslint-disable no-console */
|
|
282
282
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/sdk",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.24.0",
|
|
4
4
|
"description": "Tools for declarative fetching",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://github.com/commercetools/merchant-center-application-kit.git",
|
|
9
9
|
"directory": "packages/sdk"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://docs.commercetools.com/
|
|
11
|
+
"homepage": "https://docs.commercetools.com/merchant-center-customizations",
|
|
12
12
|
"keywords": [
|
|
13
13
|
"javascript",
|
|
14
14
|
"frontend",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.22.15",
|
|
39
39
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
40
|
-
"@commercetools-frontend/constants": "22.
|
|
40
|
+
"@commercetools-frontend/constants": "22.24.0",
|
|
41
41
|
"@commercetools/api-request-builder": "6.0.0",
|
|
42
42
|
"@commercetools/http-user-agent": "3.0.0",
|
|
43
43
|
"@commercetools/sdk-client": "3.0.0",
|