diff --git a/src/plugins/devCompanion.dev/index.tsx b/src/plugins/devCompanion.dev/index.tsx index 988f340dc..11ab2d4ae 100644 --- a/src/plugins/devCompanion.dev/index.tsx +++ b/src/plugins/devCompanion.dev/index.tsx @@ -61,7 +61,7 @@ export default definePlugin({ }, start() { - // if were running the reporter, we need to initws in the reporter file to avoid a race condition + // if we're running the reporter, we need to initws in the reporter file to avoid a race condition if (!IS_COMPANION_TEST) initWs(); }, diff --git a/src/plugins/devCompanion.dev/initWs.tsx b/src/plugins/devCompanion.dev/initWs.tsx index 3fee2e150..89a2aaaab 100644 --- a/src/plugins/devCompanion.dev/initWs.tsx +++ b/src/plugins/devCompanion.dev/initWs.tsx @@ -125,6 +125,15 @@ export function initWs(isManual = false) { toggleEnabled(pluginName, reply); break; } + case "rawId": { + const { id } = data; + replyData({ + ok: true, + data: extractModule(id), + type: "ret" + }); + break; + } case "diff": { try { const { extractType, idOrSearch } = data;