Skip to content

Commit

Permalink
fix: import for ESM (#14)
Browse files Browse the repository at this point in the history
Closes #12
  • Loading branch information
Bugs5382 committed Jan 18, 2024
2 parents dc6b1c5 + acf58bd commit c69362e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/class/hL7Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import Client, {
Message,
OutboundHandler
} from 'node-hl7-client'
import { AClients } from '../decorate'
import { errors } from '../errors'
import { AClients } from '../decorate.js'
import { errors } from '../errors.js'

export class HL7Client {
/** @internal */
Expand Down
4 changes: 2 additions & 2 deletions src/class/hL7Server.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Server, { HL7Inbound, InboundHandler, ListenerOptions } from 'node-hl7-server'
import { AServers } from '../decorate'
import { errors } from '../errors'
import { AServers } from '../decorate.js'
import { errors } from '../errors.js'

export class HL7Server {
private readonly _server: Server
Expand Down

0 comments on commit c69362e

Please sign in to comment.