@alpaca-headless/alpaca-headless-nextjs 1.0.2690 → 1.0.2691

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.
@@ -68,7 +68,7 @@ const fetchRouteData = (0, react_1.cache)((path, host, mode, itemId, language) =
68
68
  function loadRouteData(params, searchParams, host) {
69
69
  var _a, _b;
70
70
  return __awaiter(this, void 0, void 0, function* () {
71
- const result = yield fetchRouteData((_b = (_a = params.path) === null || _a === void 0 ? void 0 : _a.join("/")) !== null && _b !== void 0 ? _b : "/", host, searchParams["mode"] || "preview", searchParams["itemid"], searchParams["language"]);
71
+ const result = yield fetchRouteData((_b = (_a = params.path) === null || _a === void 0 ? void 0 : _a.join("/")) !== null && _b !== void 0 ? _b : "/", host, searchParams["mode"] || "normal", searchParams["itemid"], searchParams["language"]);
72
72
  return result;
73
73
  });
74
74
  }
@@ -65,7 +65,7 @@ const fetchRouteData = cache((path, host, mode, itemId, language) => __awaiter(v
65
65
  export function loadRouteData(params, searchParams, host) {
66
66
  var _a, _b;
67
67
  return __awaiter(this, void 0, void 0, function* () {
68
- const result = yield fetchRouteData((_b = (_a = params.path) === null || _a === void 0 ? void 0 : _a.join("/")) !== null && _b !== void 0 ? _b : "/", host, searchParams["mode"] || "preview", searchParams["itemid"], searchParams["language"]);
68
+ const result = yield fetchRouteData((_b = (_a = params.path) === null || _a === void 0 ? void 0 : _a.join("/")) !== null && _b !== void 0 ? _b : "/", host, searchParams["mode"] || "normal", searchParams["itemid"], searchParams["language"]);
69
69
  return result;
70
70
  });
71
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpaca-headless/alpaca-headless-nextjs",
3
- "version": "1.0.2690",
3
+ "version": "1.0.2691",
4
4
  "description": "Alpaca Headless NextJs Integration",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",