Skip to content

fix: use createRequire for getPlatformId patch#87

Merged
gavrielc merged 1 commit into
mainfrom
fix/baileys-platform-id
Apr 1, 2026
Merged

fix: use createRequire for getPlatformId patch#87
gavrielc merged 1 commit into
mainfrom
fix/baileys-platform-id

Conversation

@gavrielc

@gavrielc gavrielc commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • Pair a new device using pairing code and confirm it connects successfully

🤖 Generated with Claude Code

ESM `import *` creates a read-only namespace object, so assigning to it
is silently ignored. Use createRequire to get a mutable CJS module instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gavrielc gavrielc requested a review from gabi-simons as a code owner April 1, 2026 09:52
@gavrielc gavrielc merged commit 876e29b into main Apr 1, 2026
1 of 2 checks passed
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.

1 participant