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

Update CRT #522

Merged
merged 2 commits into from
Aug 29, 2024
Merged

Update CRT #522

merged 2 commits into from
Aug 29, 2024

Conversation

bretambrose
Copy link
Contributor

@bretambrose bretambrose commented Aug 28, 2024

Bring in latest CRT to pull in MQTT-js major version upgrade

Updating the node types forced a revision of eventstream payload encoding because typescript does not appear to handle overloaded functions with union types as nicely as you would expect. For example, Buffer.from() has overloads for ArrayBuffer and string, but typescript will not let you pass a value of type string | ArrayBuffer into Buffer.from() without error.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bretambrose bretambrose merged commit cb9dd6b into main Aug 29, 2024
12 checks passed
@bretambrose bretambrose deleted the MqttJsUpgrade branch August 29, 2024 20:21
sfod pushed a commit that referenced this pull request Sep 4, 2024
This reverts commit cb9dd6b.
sfod added a commit that referenced this pull request Sep 5, 2024
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