@plentymarkets/shop-core 1.10.3 → 1.10.4

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shop-core",
3
3
  "configKey": "shopCore",
4
- "version": "1.10.3",
4
+ "version": "1.10.4",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
@@ -20,7 +20,7 @@ export const useSdk = () => {
20
20
  const noCache = runtimeConfig.public.noCache || $router.currentRoute.value.query?.noCache?.toString() || "";
21
21
  const configId = runtimeConfig.public.configId?.toString();
22
22
  const pwaHashCookie = useCookie("pwa");
23
- return {
23
+ const headers = {
24
24
  ...configId && { "x-config-id": configId },
25
25
  ...token.value && { "x-csrf-token": token.value },
26
26
  ...pwaHashCookie.value && { "x-pwa-edit-hash": pwaHashCookie.value },
@@ -30,6 +30,10 @@ export const useSdk = () => {
30
30
  ...useRequestHeaders(),
31
31
  ...import.meta.server && ssrCookie.value && { cookie: ssrCookie.value }
32
32
  };
33
+ console.log("Request Headers:", headers);
34
+ return {
35
+ ...headers
36
+ };
33
37
  };
34
38
  const headersProxy = new Proxy(
35
39
  {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plentymarkets/shop-core",
3
- "version": "1.10.3",
3
+ "version": "1.10.4",
4
4
  "description": "Core module for PlentyONE Shop",
5
5
  "repository": {
6
6
  "type": "git",