Skip to content

Commit

Permalink
chore: remove the .js extension from import statements
Browse files Browse the repository at this point in the history
  • Loading branch information
hissinger committed Dec 14, 2023
1 parent 2d62f19 commit f915925
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lib/dataconnection/StreamConnection/Cbor.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Peer } from "../../peer.js";
import type { Peer } from "../../peer";
import { Decoder, Encoder } from "cbor-x";
import { StreamConnection } from "./StreamConnection.js";
import { StreamConnection } from "./StreamConnection";

const NullValue = Symbol.for(null);

Expand Down
4 changes: 2 additions & 2 deletions lib/dataconnection/StreamConnection/MsgPack.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { decodeMultiStream, Encoder } from "@msgpack/msgpack";
import { StreamConnection } from "./StreamConnection.js";
import type { Peer } from "../../peer.js";
import { StreamConnection } from "./StreamConnection";
import type { Peer } from "../../peer";

export class MsgPack extends StreamConnection {
readonly serialization = "MsgPack";
Expand Down
6 changes: 3 additions & 3 deletions lib/dataconnection/StreamConnection/StreamConnection.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import logger from "../../logger.js";
import type { Peer } from "../../peer.js";
import { DataConnection } from "../DataConnection.js";
import logger from "../../logger";
import type { Peer } from "../../peer";
import { DataConnection } from "../DataConnection";

export abstract class StreamConnection extends DataConnection {
private _CHUNK_SIZE = 1024 * 8 * 4;
Expand Down

0 comments on commit f915925

Please sign in to comment.