@dosgato/templating 0.0.55 → 0.0.56

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.
@@ -1,5 +1,7 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import type { IncomingHttpHeaders } from 'http';
4
+ import type { ParsedUrlQuery } from 'querystring';
3
5
  import { ResourceProvider } from './provider.js';
4
6
  import { APIClient } from './render.js';
5
7
  /**
@@ -182,7 +184,7 @@ export declare abstract class Component<DataType extends ComponentData = any, Fe
182
184
  hadError: boolean;
183
185
  autoLabel: string;
184
186
  reqHeaders: IncomingHttpHeaders;
185
- reqUrl: URL;
187
+ reqQuery: ParsedUrlQuery;
186
188
  /**
187
189
  * For logging errors during rendering without crashing the render. If your fetch, setContext,
188
190
  * render, or renderVariation functions throw, the error will be logged but the page render will
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "type": "module",
6
6
  "exports": {