diff --git a/src/modules/plugins/rpc.ts b/src/modules/plugins/rpc.ts index f1931ef..c9d0bac 100644 --- a/src/modules/plugins/rpc.ts +++ b/src/modules/plugins/rpc.ts @@ -15,7 +15,7 @@ import b4a from "b4a"; import type { ClearablePromise } from "p-timeout"; async function dImport(pkg: string): Promise { - return new Function(`return import("${pkg}")`); + return new Function(`return import("${pkg}")`)(); } let pTimeout: typeof import("p-timeout").default;