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

MessageType enum is undefined on runtime when imported from peer #463

Open
1 task done
lukadriel7 opened this issue Nov 14, 2024 · 0 comments
Open
1 task done

MessageType enum is undefined on runtime when imported from peer #463

lukadriel7 opened this issue Nov 14, 2024 · 0 comments

Comments

@lukadriel7
Copy link

Please, check for existing issues to avoid duplicates.

  • No similar issues found.

What happened?

MessageType enum is undefined on runtime when imported from peer

How can we reproduce the issue?

  1. Create a project
  2. install peer
  3. import { MessageType } from 'peer'
  4. try using MessageType to determine the type of incoming messages
  5. Runtime error with MessageType being undefined

What do you expected to happen?

MessageType should be defined and usable for determining the type of incoming messages

Environment setup

  • OS: MacOS Sequoia
  • Platform: NodeJS
  • Browser: Brave

Is this a regression?

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant