Skip to content

#encryptedPrivate does not work with NullConnector #367

Closed
@luniki

Description

@luniki
  • Echo Version: 1.14.2
  • Laravel Version: na
  • PHP Version: na
  • NPM Version: na
  • Node Version: na

Description:

Calling echo.encryptedPrivate(…) while using a NullConnector results in an error:

Uncaught TypeError: this.connector.encryptedPrivateChannel is not a function

This is caused by line https://github.com/laravel/echo/blob/master/src/echo.ts#L107 as a NullConnector does not have an encryptedPrivateChannel function.

Steps To Reproduce:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions