From d4484d32cc4e141fff57ba88466714f383f960a2 Mon Sep 17 00:00:00 2001 From: npenin Date: Mon, 18 Nov 2024 09:22:24 +0100 Subject: [PATCH] fix: undo --- packages/commands/src/serve-metadata.browser.ts | 3 --- packages/commands/src/serve-metadata.ts | 3 --- 2 files changed, 6 deletions(-) diff --git a/packages/commands/src/serve-metadata.browser.ts b/packages/commands/src/serve-metadata.browser.ts index 527a7dc1d..46ce09c96 100644 --- a/packages/commands/src/serve-metadata.browser.ts +++ b/packages/commands/src/serve-metadata.browser.ts @@ -4,7 +4,6 @@ import { ErrorWithStatus } from '@akala/core'; import { Container } from './model/container.js'; import { handlers } from './protocol-handler.js'; import { Metadata } from './index.browser.js'; -import $metadataCmd from './commands/$metadata.js'; export type ServeMetadata = Record @@ -52,8 +51,6 @@ export async function connectByPreference(options: ServeMetadata, s // eslint-disable-next-line no-constant-condition while (true); - container.register($metadataCmd); - if (settings?.metadata) registerCommands(settings.metadata.commands, processor, container); else diff --git a/packages/commands/src/serve-metadata.ts b/packages/commands/src/serve-metadata.ts index ab72a2a60..77e3cf43b 100644 --- a/packages/commands/src/serve-metadata.ts +++ b/packages/commands/src/serve-metadata.ts @@ -7,7 +7,6 @@ import { ErrorWithStatus } from '@akala/core'; import { Container } from './model/container.js'; import { ConnectionPreference } from './serve-metadata.browser.js'; import { handlers } from './protocol-handler.js'; -import $metadataCmd from './commands/$metadata.js'; export type ServeMetadata = Record @@ -47,8 +46,6 @@ export async function connectByPreference(options: ServeMetadata, s // eslint-disable-next-line no-constant-condition while (true); - container.register($metadataCmd); - if (settings?.metadata) registerCommands(settings.metadata.commands, processor, container); else