Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript type is missing (autoUseTopicAlias and autoAssignTopicAlias) #1525

Closed
ogis-yamazaki opened this issue Aug 16, 2022 · 1 comment
Closed

Comments

@ogis-yamazaki
Copy link
Contributor

The following is a type definition file

https://github.com/mqttjs/MQTT.js/blob/aa49aaf9856fe9f433005e850b490a96505add19/types/lib/client-options.d.ts

The following options seem to be missing.

        autoUseTopicAlias?: boolean
        autoAssignTopicAlias?: boolean
redboltz added a commit to redboltz/MQTT.js that referenced this issue Aug 16, 2022
`topicAliasMaximum` for receiving is designed as setting by MqttClient
option, not setting by CONNECT property.
And it is automatically used as CONNECT property.

However, the document said `topicAliasMaximum` is set by CONNECT
property.
It is bad so I fixed it.

In addition, corresponding typescript definitions are fixed.
@robertsLando
Copy link
Member

Fixed by #1519 and #1612

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

No branches or pull requests

2 participants