Skip to content

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

@lukadriel7

Description

@lukadriel7

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions