Skip to content

Commit a421bbe

Browse files
fix: add missing file extension for ESM import
Related: #127
1 parent 039b45c commit a421bbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import encodePacket from "./encodePacket.js";
22
import decodePacket from "./decodePacket.js";
3-
import { Packet, PacketType, RawData, BinaryType } from "./commons";
3+
import { Packet, PacketType, RawData, BinaryType } from "./commons.js";
44

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

0 commit comments

Comments
 (0)