diff --git a/apps/agent/package.json b/apps/agent/package.json index fe58833..6d74d92 100644 --- a/apps/agent/package.json +++ b/apps/agent/package.json @@ -30,7 +30,6 @@ "postinstall": "node fix-uuid.js" }, "dependencies": { - "@dkg/plugin-dkg-publisher": "^1.0.0", "@dkg/expo-forcegraph": "^0.0.0", "@dkg/plugin-dkg-essentials": "^0.0.3", "@dkg/plugin-example": "^0.0.3", diff --git a/apps/agent/src/server/index.ts b/apps/agent/src/server/index.ts index b2ca7b9..b9bcce6 100644 --- a/apps/agent/src/server/index.ts +++ b/apps/agent/src/server/index.ts @@ -5,7 +5,6 @@ import dkgEssentialsPlugin from "@dkg/plugin-dkg-essentials"; import createFsBlobStorage from "@dkg/plugin-dkg-essentials/createFsBlobStorage"; import examplePlugin from "@dkg/plugin-example"; import swaggerPlugin from "@dkg/plugin-swagger"; -import dkgPublisherPlugin from "@dkg/plugin-dkg-publisher"; //@ts-expect-error No types for dkg.js ... import DKG from "dkg.js"; import { eq } from "drizzle-orm"; @@ -107,7 +106,6 @@ const app = createPluginServer({ api.use("/profile", authorized([])); }, accountManagementPlugin, - dkgPublisherPlugin, dkgEssentialsPlugin, examplePlugin.withNamespace("protected", { middlewares: [authorized(["scope123"])], // Allow only users with the "scope123" scope