Skip to content

isValid() with extra token is not working #190

@Hudda

Description

@Hudda

We are using pusher ~ 5.1.2 on a AWS lambda function with nodejs version 16.x. When we use webhook.isValid() without any extra-token it works but when we use webhook.isValid(extraTokens) with extra token. It throws an TypeError. Can you please help with the error? We are using typescript.

TypeError: token.verify is not a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions