Skip to content

Conversation

@douglascayers
Copy link
Contributor

@douglascayers douglascayers commented Nov 14, 2025

Public API Changes

Makes available the rosbridge protocol types.

Description

With the introduction of transports in #1060, library consumers may want to implement their own transports. When implementing the ITransport interface, the send and on('message') methods use the RosbridgeMessage type.

However, currently developers can't import or reference that type because it's not technically exported.

Namespace '"/<your_app>/node_modules/roslib/dist/RosLib"' has no exported member 'RosbridgeMessage'.ts(2694)

image

Copy link
Collaborator

@EzraBrooks EzraBrooks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! However I think this actually might be too much detail - a lot of these APIs aren't exposed at the edge. Let me break apart my earlier PR to expose our edge API types to satisfy this issue

@EzraBrooks
Copy link
Collaborator

Alternatively, so we don't have to wait for review from other maintainers, you could change this PR to do part of what my earlier PR does - enable failing on warnings in typedoc - and just expose all the missing APIs instead of trying to refactor some out like I did!

@EzraBrooks
Copy link
Collaborator

superseded by #1073

@EzraBrooks EzraBrooks closed this Nov 14, 2025
@douglascayers
Copy link
Contributor Author

Thanks

@douglascayers douglascayers deleted the export-rosbridge-protocol-types branch November 14, 2025 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants