@plentymarkets/shop-api 0.174.0 → 0.174.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.
package/lib/index.cjs.js CHANGED
@@ -4254,7 +4254,7 @@ const doAddShopLogs = async (context, params) => {
4254
4254
  const getPreviewValid = async (context) => {
4255
4255
  const url = new URL('/rest/storefront/preview/valid', context.config.api.url);
4256
4256
  const { data } = await context.client.get(url.href);
4257
- return { data: data };
4257
+ return { data: data.data };
4258
4258
  };
4259
4259
 
4260
4260
  /**
package/lib/index.es.js CHANGED
@@ -4250,7 +4250,7 @@ const doAddShopLogs = async (context, params) => {
4250
4250
  const getPreviewValid = async (context) => {
4251
4251
  const url = new URL('/rest/storefront/preview/valid', context.config.api.url);
4252
4252
  const { data } = await context.client.get(url.href);
4253
- return { data: data };
4253
+ return { data: data.data };
4254
4254
  };
4255
4255
 
4256
4256
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plentymarkets/shop-api",
3
- "version": "0.174.0",
3
+ "version": "0.174.1",
4
4
  "sideEffects": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -46,5 +46,5 @@
46
46
  "lib/**/*",
47
47
  "server/**/*"
48
48
  ],
49
- "gitHead": "ea39b05716049d0e62297316bf18c0f591981c71"
49
+ "gitHead": "0a9cc85103405cdaf042ce78a4e9a14b89856388"
50
50
  }
package/server/index.js CHANGED
@@ -4263,7 +4263,7 @@ const doAddShopLogs = async (context, params) => {
4263
4263
  const getPreviewValid = async (context) => {
4264
4264
  const url = new URL('/rest/storefront/preview/valid', context.config.api.url);
4265
4265
  const { data } = await context.client.get(url.href);
4266
- return { data: data };
4266
+ return { data: data.data };
4267
4267
  };
4268
4268
 
4269
4269
  /**