@ndlib/component-library 0.0.60 → 0.0.61

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.
@@ -12,7 +12,7 @@ describe('getStructuredDataSchemas', () => {
12
12
  description: 'Custom Description',
13
13
  events: [
14
14
  {
15
- name: 'Archival Research Lab II: Inside the Archive',
15
+ title: 'Archival Research Lab II: Inside the Archive',
16
16
  startDate: '2021-10-13T14:00:00.000Z',
17
17
  endDate: '2021-10-13T15:15:00.000Z',
18
18
  slug: 'archival-research-lab-2-inside-the-archive-2021-10-13',
@@ -3,7 +3,7 @@ import { getStructuredDataSchemas } from '../index';
3
3
  export const StructuredDataDisplay = () => {
4
4
  const events = [
5
5
  {
6
- name: 'Archival Research Lab II: Inside the Archive',
6
+ title: 'Archival Research Lab II: Inside the Archive',
7
7
  startDate: '2021-10-13T14:00:00.000Z',
8
8
  endDate: '2021-10-13T15:15:00.000Z',
9
9
  slug: 'archival-research-lab-2-inside-the-archive-2021-10-13',
@@ -7,7 +7,7 @@ export type StructuredDataProps = {
7
7
  noindex?: string;
8
8
  image?: string;
9
9
  events?: {
10
- name: string;
10
+ title: string;
11
11
  startDate: string;
12
12
  endDate: string;
13
13
  slug: string;
@@ -26,7 +26,7 @@ export const getStructuredDataSchemas = ({ title, description, nofollow, noindex
26
26
  }));
27
27
  events === null || events === void 0 ? void 0 : events.map((event) => {
28
28
  schemas.push(stringifyEventSchema({
29
- title: event.name,
29
+ title: event.title,
30
30
  description: event.shortDescription,
31
31
  image: event.representationalImage.url,
32
32
  url: event.slug,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndlib/component-library",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "files": [