@eventcatalog/core 2.7.3 → 2.7.4

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @eventcatalog/core
2
2
 
3
+ ## 2.7.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 0189ebb: fix(core): ignore trailing slash for icons
8
+
3
9
  ## 2.7.3
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eventcatalog/core",
3
3
  "type": "module",
4
- "version": "2.7.3",
4
+ "version": "2.7.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -21,7 +21,7 @@ const numberOfSpecifications = Object.keys(specVersions).length;
21
21
  href={buildUrl(`/docs/${collectionItem.collection}/${collectionItem.data.id}/${collectionItem.data.version}/spec`)}
22
22
  class="text-sm flex items-center space-x-1 hover:underline hover:text-purple-500"
23
23
  >
24
- <img src={buildUrl('/icons/openapi.svg')} class="h-4 w-4" />
24
+ <img src={buildUrl('/icons/openapi.svg', true)} class="h-4 w-4" />
25
25
  <span>OpenAPI spec</span>
26
26
  </a>
27
27
  )
@@ -32,7 +32,7 @@ const numberOfSpecifications = Object.keys(specVersions).length;
32
32
  href={buildUrl(`/docs/${collectionItem.collection}/${collectionItem.data.id}/${collectionItem.data.version}/asyncapi`)}
33
33
  class="text-sm flex items-center space-x-1 hover:underline hover:text-purple-500"
34
34
  >
35
- <img src={buildUrl('/icons/asyncapi.svg')} class="h-4 w-4" />
35
+ <img src={buildUrl('/icons/asyncapi.svg', true)} class="h-4 w-4" />
36
36
  <span>AsyncAPI spec</span>
37
37
  </a>
38
38
  )
@@ -89,7 +89,7 @@ const getSpecificationBadges = () => {
89
89
  backgroundColor: 'white',
90
90
  textColor: 'gray',
91
91
  content: 'OpenAPI Spec',
92
- iconURL: buildUrl('/icons/openapi.svg'),
92
+ iconURL: buildUrl('/icons/openapi.svg', true),
93
93
  class: 'text-black hover:underline',
94
94
  id: 'open-api-badge',
95
95
  url: buildUrl(`/docs/${props.collection}/${props.data.id}/${props.data.version}/spec`),
@@ -101,7 +101,7 @@ const getSpecificationBadges = () => {
101
101
  backgroundColor: 'white',
102
102
  textColor: 'gray',
103
103
  content: 'AsyncAPI Spec',
104
- iconURL: buildUrl('/icons/asyncapi.svg'),
104
+ iconURL: buildUrl('/icons/asyncapi.svg', true),
105
105
  class: 'text-black hover:underline',
106
106
  id: 'asyncapi-badge',
107
107
  url: buildUrl(`/docs/${props.collection}/${props.data.id}/${props.data.version}/asyncapi`),