From 14266273c30414513aed4ae7667697f19d852098 Mon Sep 17 00:00:00 2001 From: "Marc J. Schmidt" Date: Tue, 6 Feb 2024 00:49:38 +0100 Subject: [PATCH] fix(rpc): wrong ESM import --- packages/framework/src/module.ts | 2 +- packages/rpc/src/server/security.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/framework/src/module.ts b/packages/framework/src/module.ts index bb1c7ab6c..071cbb70f 100644 --- a/packages/framework/src/module.ts +++ b/packages/framework/src/module.ts @@ -45,7 +45,7 @@ import { DebugHttpController } from './debug/debug-http.controller.js'; import { BrokerServer } from './broker/broker.js'; import { BrokerListener } from './broker/listener.js'; import { BrokerBus, BrokerCache, BrokerDeepkitAdapter, BrokerLock, BrokerQueue } from '@deepkit/broker'; -import { getBrokerServers } from './broker'; +import { getBrokerServers } from './broker.js'; export class FrameworkModule extends createModule({ config: FrameworkConfig, diff --git a/packages/rpc/src/server/security.ts b/packages/rpc/src/server/security.ts index 1091fefac..cea6fa6ec 100644 --- a/packages/rpc/src/server/security.ts +++ b/packages/rpc/src/server/security.ts @@ -9,8 +9,7 @@ */ import { ClassType } from '@deepkit/core'; - -import { RpcKernelBaseConnection } from './kernel'; +import { RpcKernelBaseConnection } from './kernel.js'; export class Session { constructor(