Skip to content

Commit

Permalink
fix(core): circular dependencies. (#93)
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Ricart <[email protected]>
  • Loading branch information
aricart authored Oct 21, 2024
1 parent 43ab5ed commit 54c5dc8
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions core/src/ws_transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,19 @@

import type {
ConnectionOptions,
Deferred,
NatsConnection,
Server,
ServerInfo,
Transport,
TransportFactory,
} from "./internal_mod.ts";
import {
checkOptions,
DataBuffer,
deferred,
delay,
ErrorCode,
extractProtocolMessage,
INFO,
NatsConnectionImpl,
NatsError,
render,
setTransportFactory,
} from "./internal_mod.ts";
} from "./core.ts";
import { ErrorCode, NatsError } from "./core.ts";
import type { Deferred } from "./util.ts";
import { deferred, delay, render } from "./util.ts";
import type { Transport, TransportFactory } from "./transport.ts";
import { extractProtocolMessage, setTransportFactory } from "./transport.ts";
import { checkOptions } from "./options.ts";
import { DataBuffer } from "./databuffer.ts";
import { INFO } from "./protocol.ts";
import { NatsConnectionImpl } from "./nats.ts";
import { version } from "./version.ts";

const VERSION = version;
Expand Down

0 comments on commit 54c5dc8

Please sign in to comment.