Skip to content

Commit

Permalink
fix(emqtt): export public types
Browse files Browse the repository at this point in the history
qos, topic, and packet_id are used as public type in emqtt.hrl
  • Loading branch information
zmstone committed Dec 2, 2023
1 parent 1ab0961 commit c1344b7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.9.7

- Export emqtt:qos/0, emqtt:topic/0 and emqtt:packet_id/0 as public types.

# 1.9.6

- Add `{auto_ack, never}` option fully disabling automatic QoS2 flow.
Expand Down
3 changes: 3 additions & 0 deletions src/emqtt.erl
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@
, mqtt_msg/0
, client/0
, via/0
, qos/0
, packet_id/0
, topic/0
]).

-type(binary_host() :: binary()).
Expand Down

0 comments on commit c1344b7

Please sign in to comment.