Skip to content

[Bug]: Packet Properties is undefined #1958

Open
@abdallahmoubarak

Description

@abdallahmoubarak

MQTTjs Version

5.0

Broker

EMQX

Environment

Browser

Description

I'm trying to get the timestamp of retain message (PublishedAt) in Nextjs project, the connection is working good but the properties are not defined..
image
image
I'm not able to see any of the properties...

Minimal Reproduction

  • building a connection inside the component
  • using hooks to connect

Debug logs

image

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