Skip to content

Commit

Permalink
fix: add missing file extension for ESM import
Browse files Browse the repository at this point in the history
Related: #127
  • Loading branch information
darrachequesne committed Apr 30, 2022
1 parent 039b45c commit a421bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import encodePacket from "./encodePacket.js";
import decodePacket from "./decodePacket.js";
import { Packet, PacketType, RawData, BinaryType } from "./commons";
import { Packet, PacketType, RawData, BinaryType } from "./commons.js";

const SEPARATOR = String.fromCharCode(30); // see https://en.wikipedia.org/wiki/Delimiter#ASCII_delimited_text

Expand Down

0 comments on commit a421bbe

Please sign in to comment.