@declaro/core 2.0.0-beta.94 → 2.0.0-beta.96

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.
@@ -4270,6 +4270,9 @@ function useDeclaro() {
4270
4270
  context.registerValue("requestMiddleware", []);
4271
4271
  context.registerValue("nodeMiddleware", []);
4272
4272
  provideRequestMiddleware(context, async (context2) => {
4273
+ context2.registerFactory("headers", (request) => {
4274
+ return request?.headers ?? {};
4275
+ }, ["request"]);
4273
4276
  context2.registerValue("header", (header) => {
4274
4277
  const headers = context2.resolve("headers");
4275
4278
  return headers[header];
@@ -17299,5 +17302,5 @@ export {
17299
17302
  ActionDescriptor
17300
17303
  };
17301
17304
 
17302
- //# debugId=C943703A6428F5B064756E2164756E21
17305
+ //# debugId=FE53A2675C42037864756E2164756E21
17303
17306
  //# sourceMappingURL=index.js.map