@crombolo/api-delivery 0.51.1 → 0.52.2

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/output.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crombolo/api-delivery",
3
- "version": "0.51.1",
3
+ "version": "0.52.2",
4
4
  "description": "Internal to crombolo, with no compatibility promise: use @crombolo/crombolo. Umbraco's Content Delivery API for crombolo: published content and media as JSON, served from the published cache.",
5
5
  "license": "MIT",
6
6
  "author": "Crombolo",
@@ -28,8 +28,8 @@
28
28
  "access": "public"
29
29
  },
30
30
  "dependencies": {
31
- "@crombolo/core": "0.51.1",
32
- "@crombolo/contracts": "0.51.1",
33
- "@crombolo/render": "0.51.1"
31
+ "@crombolo/core": "0.52.2",
32
+ "@crombolo/contracts": "0.52.2",
33
+ "@crombolo/render": "0.52.2"
34
34
  }
35
35
  }
package/src/output.ts CHANGED
@@ -130,7 +130,7 @@ async function apiElement(
130
130
  return {
131
131
  contentType: element.contentType.alias ?? '',
132
132
  id: element.key,
133
- name: '',
133
+ name: element.name ?? '',
134
134
  properties: await properties(element, ctx, expand, include ?? { key: '', children: [] }),
135
135
  }
136
136
  }