amphora 8.5.0 → 8.6.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.
@@ -55,7 +55,7 @@ function composePage(pageData, locals) {
55
55
  const layoutReference = pageData.layout,
56
56
  pageDataNoConf = references.omitPageConfiguration(pageData);
57
57
 
58
- return components.get(layoutReference)
58
+ return components.get(layoutReference, locals)
59
59
  .then(layoutData => mapLayoutToPageData(pageDataNoConf, layoutData))
60
60
  .then(fullData => resolveComponentReferences(fullData, locals));
61
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amphora",
3
- "version": "8.5.0",
3
+ "version": "8.6.0",
4
4
  "description": "An API mixin for Express that saves, publishes and composes data with the key-value store of your choice.",
5
5
  "main": "index.js",
6
6
  "scripts": {