Skip to content

Commit

Permalink
refactor: adjust exports to distinguish between Incoming vs `Outgoi…
Browse files Browse the repository at this point in the history
…ng` enums for `MessageType`-s

BREAKING CHANGE: `MessageTypesEnum` -> `OutgoingMessageType` in imports
  • Loading branch information
domwebber committed Nov 30, 2023
1 parent a8c3a61 commit e86f705
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @see https://greatdetail.com
*/
import CloudWhatsAppAPI from "./CloudWhatsAppAPI";
import MessageTypesEnum from "./OldMessageType/MessageTypesEnum";
import IncomingMessageType from "./Message/MessageType/IncomingMessageType";
import OutgoingMessageType from "./Message/MessageType/OutgoingMessageType";

export { CloudWhatsAppAPI, MessageTypesEnum };
export { CloudWhatsAppAPI, OutgoingMessageType, IncomingMessageType };

0 comments on commit e86f705

Please sign in to comment.