-
Notifications
You must be signed in to change notification settings - Fork 231
Remove deprecated meshtastic/js dependency #638
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes the deprecated meshtastic/js dependency and updates the code to use meshtastic/transport-web-bluetooth along with updated core module imports. Key changes include:
- Updating import paths in PacketToMessageDTO.ts to use "@meshtastic/core" and revised message store locations.
- Changing the dependency in MessageItem.tsx from meshtastic/js to meshtastic/core.
- Refactoring BLE.tsx to use TransportWebBluetooth and MeshDevice, including updating the Bluetooth service filter.
- Removing the meshtastic/js dependency from package.json.
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/core/dto/PacketToMessageDTO.ts | Updated imports for core types and message store files to reflect new dependency |
| src/components/PageComponents/Messages/MessageItem.tsx | Updated dependency imports from meshtastic/js to meshtastic/core |
| src/components/PageComponents/Connect/BLE.tsx | Refactored BLE connection to use TransportWebBluetooth and MeshDevice, with updated service filter |
| package.json | Removed meshtastic/js dependency and retained transport dependencies |
danditomaso
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
|
@philon- Wanted to see if we can make this PR active so we can get it merged? |
danditomaso
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 🚒 🧯
* Remove deprecated meshtastic/js dependency * Bump dependency version * Fix linting --------- Co-authored-by: philon- <philon-@users.noreply.github.com>
Description
This PR removes the dependence on the old, deprecated package meshtastic/js and uses meshtastic/transport-web-bluetooth instead.
Note: This PR in meshtastic/js needs to be merged before this PR can be merged.
Related Issues
This PR in meshtastic/js
Changes Made
Testing Done
Tested using Chrome with an esp32 device.
Checklist