diff --git a/library/package.json b/library/package.json index cb6227d6..db806d8e 100644 --- a/library/package.json +++ b/library/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/react-component", - "version": "2.3.3", + "version": "2.3.4", "private": false, "description": "A React component for AsyncAPI specification.", "repository": { diff --git a/library/src/components/Href.tsx b/library/src/components/Href.tsx index fd5c3aff..2b9ad33c 100644 --- a/library/src/components/Href.tsx +++ b/library/src/components/Href.tsx @@ -15,7 +15,7 @@ export const Href: React.FunctionComponent = ({ }) => ( { test('should not render title because title is undefined', () => { expect( - SchemaHelpers.applicatorSchemaName( - 0, - FIRST_CASE, - OTHER_CASES, - undefined, - ), + SchemaHelpers.applicatorSchemaName(0, FIRST_CASE, OTHER_CASES), ).toMatchSnapshot(); expect( - SchemaHelpers.applicatorSchemaName( - 1, - FIRST_CASE, - OTHER_CASES, - undefined, - ), + SchemaHelpers.applicatorSchemaName(1, FIRST_CASE, OTHER_CASES), ).toMatchSnapshot(); }); diff --git a/package-lock.json b/package-lock.json index a974ab96..dab9318b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ }, "library": { "name": "@asyncapi/react-component", - "version": "2.3.3", + "version": "2.3.4", "license": "Apache-2.0", "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.24", @@ -27671,10 +27671,10 @@ }, "web-component": { "name": "@asyncapi/web-component", - "version": "2.3.3", + "version": "2.3.4", "license": "Apache-2.0", "dependencies": { - "@asyncapi/react-component": "^2.3.3", + "@asyncapi/react-component": "^2.3.4", "react": "^18.2.0", "react-dom": "^18.2.0", "web-react-components": "^1.4.2" diff --git a/playground/specs/dummy.ts b/playground/specs/dummy.ts index 2ae74ebf..e5e748ef 100644 --- a/playground/specs/dummy.ts +++ b/playground/specs/dummy.ts @@ -82,18 +82,18 @@ channels: Still dummy though. operationId: receiveNewDummyInfo tags: - - name: oparation-tag1 + - name: operation-tag1 externalDocs: description: External docs description 1 url: https://www.asyncapi.com/ - - name: oparation-tag2 + - name: operation-tag2 description: Description 2 externalDocs: url: "https://www.asyncapi.com/" - - name: oparation-tag3 - - name: oparation-tag4 + - name: operation-tag3 + - name: operation-tag4 description: Description 4 - - name: oparation-tag5 + - name: operation-tag5 externalDocs: url: "https://www.asyncapi.com/" traits: diff --git a/playground/specs/streetlights.ts b/playground/specs/streetlights.ts index dd3603bf..dbfc908f 100644 --- a/playground/specs/streetlights.ts +++ b/playground/specs/streetlights.ts @@ -286,18 +286,18 @@ components: externalDocs: url: "https://www.asyncapi.com/" tags: - - name: oparation-tag1 + - name: operation-tag1 externalDocs: description: External docs description 1 url: https://www.asyncapi.com/ - - name: oparation-tag2 + - name: operation-tag2 description: Description 2 externalDocs: url: "https://www.asyncapi.com/" - - name: oparation-tag3 - - name: oparation-tag4 + - name: operation-tag3 + - name: operation-tag4 description: Description 4 - - name: oparation-tag5 + - name: operation-tag5 externalDocs: url: "https://www.asyncapi.com/" traits: diff --git a/web-component/package.json b/web-component/package.json index cfd89549..def9c90e 100644 --- a/web-component/package.json +++ b/web-component/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/web-component", - "version": "2.3.3", + "version": "2.3.4", "private": false, "description": "A web component for AsyncAPI specification. Based on @asyncapi/react-component.", "repository": { @@ -44,7 +44,7 @@ "install:reactcomp": "chmod +x ./bump-react-comp.sh && ./bump-react-comp.sh" }, "dependencies": { - "@asyncapi/react-component": "^2.3.3", + "@asyncapi/react-component": "^2.3.4", "react": "^18.2.0", "react-dom": "^18.2.0", "web-react-components": "^1.4.2"