Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
shinyoshiaki committed Jan 13, 2025
1 parent 5787401 commit 919a3ff
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion packages/dtls/src/flight/server/flight2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { UseSRTP } from "../../handshake/extensions/useSrtp";
import type { ClientHello } from "../../handshake/message/client/hello";
import { ServerHelloVerifyRequest } from "../../handshake/message/server/helloVerifyRequest";
import { DtlsRandom } from "../../handshake/random";
import { debug, type Profile } from "../../imports/rtp";
import { type Profile, debug } from "../../imports/rtp";
import { createFragments, createPlaintext } from "../../record/builder";
import { ContentType } from "../../record/const";

Expand Down
2 changes: 1 addition & 1 deletion packages/ice/src/ice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Int64 from "int64-buffer";

import isEqual from "lodash/isEqual.js";
import timers from "timers/promises";
import { type Address, debug, Event } from "./imports/common";
import { type Address, Event, debug } from "./imports/common";

import { Candidate, candidateFoundation, candidatePriority } from "./candidate";
import { MdnsLookup } from "./dns/lookup";
Expand Down
2 changes: 1 addition & 1 deletion packages/ice/src/iceBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { Candidate, candidateFoundation, candidatePriority } from "./candidate";
import type { MdnsLookup } from "./dns/lookup";
import type { Cancelable } from "./helper";
import {
debug,
type Address,
type Event,
type InterfaceAddresses,
debug,
} from "./imports/common";
import { classes, methods } from "./stun/const";
import { Message } from "./stun/message";
Expand Down
2 changes: 1 addition & 1 deletion packages/ice/src/stun/protocol.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { debug, Event, UdpTransport } from "../imports/common";
import { Event, UdpTransport, debug } from "../imports/common";

import type { Address, InterfaceAddresses } from "../../../common/src/network";
import type { Candidate } from "../candidate";
Expand Down
2 changes: 1 addition & 1 deletion packages/ice/src/stun/transaction.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type Address, debug, Event } from "../imports/common";
import { type Address, Event, debug } from "../imports/common";

import { TransactionFailed, TransactionTimeout } from "../exceptions";
import type { Protocol } from "../types/model";
Expand Down
2 changes: 1 addition & 1 deletion packages/rtp/src/extra/processor/depacketizer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { debug, Event } from "../../imports/common";
import { Event, debug } from "../../imports/common";

import {
type DepacketizerCodec,
Expand Down
2 changes: 1 addition & 1 deletion packages/rtp/src/extra/processor/nack.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { debug, Event } from "../../imports/common";
import { Event, debug } from "../../imports/common";

import {
GenericNack,
Expand Down
18 changes: 9 additions & 9 deletions packages/sctp/src/sctp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@ import { createHmac, randomBytes } from "crypto";
import { jspack } from "@shinyoshiaki/jspack";

import range from "lodash/range.js";
import {
Event,
debug,
random32,
uint16Add,
uint16Gt,
uint32Gt,
uint32Gte,
} from "./imports/common";
import {
AbortChunk,
type Chunk,
Expand All @@ -34,6 +25,15 @@ import {
} from "./chunk";
import { SCTP_STATE } from "./const";
import { type Unpacked, createEventsFromList, enumerate } from "./helper";
import {
Event,
debug,
random32,
uint16Add,
uint16Gt,
uint32Gt,
uint32Gte,
} from "./imports/common";
import {
OutgoingSSNResetRequestParam,
RECONFIG_PARAM_BY_TYPES,
Expand Down

0 comments on commit 919a3ff

Please sign in to comment.