@devframes/plugin-messages 0.8.2 → 0.9.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { DEFAULT_PORT, MESSAGES_UPDATED_EVENT, PLUGIN_ID } from "./constants.mjs";
2
2
  import { DevframeMessageEntry, DevframeMessageEntryFrom, DevframeMessageEntryInput, DevframeMessageLevel, DevframeMessagesListDelta } from "@devframes/hub/types";
3
- import { DevframeDefinition } from "devframe/types";
3
+ import { DevframeDefinition } from "devframe";
4
4
  //#region src/index.d.ts
5
5
  interface MessagesDevframeOptions {
6
6
  /** Override the devframe id (and default CLI command / mount path). */
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { n as messagesDevframe, t as createMessagesDevframe } from "./src-Boo9MWw2.mjs";
1
+ import { n as messagesDevframe, t as createMessagesDevframe } from "./src-CgymJ59a.mjs";
2
2
  import { DEFAULT_PORT, MESSAGES_UPDATED_EVENT, PLUGIN_ID } from "./constants.mjs";
3
3
  export { DEFAULT_PORT, MESSAGES_UPDATED_EVENT, PLUGIN_ID, createMessagesDevframe, messagesDevframe as default };
@@ -1,5 +1,5 @@
1
1
  import { serverFunctions } from "../rpc/index.mjs";
2
- import { DevframeNodeContext } from "devframe/types";
2
+ import { DevframeNodeContext } from "devframe";
3
3
  //#region src/node/index.d.ts
4
4
  /**
5
5
  * Register the message-feed RPC functions on a devframe node context.
@@ -1,3 +1,3 @@
1
- import { t as setupMessages } from "../node-BHIX2b-f.mjs";
1
+ import { t as setupMessages } from "../node-Ct3b2Zck.mjs";
2
2
  import { t as serverFunctions } from "../rpc-BRlKSu4p.mjs";
3
3
  export { serverFunctions, setupMessages };
@@ -20,7 +20,7 @@ const diagnostics = defineDiagnostics({
20
20
  reporters: [reporter],
21
21
  codes: { DP_MESSAGES_0001: {
22
22
  why: (p) => `"${p.id}" is mounted on a context without a hub messages host (\`ctx.messages\`) — its RPC surface stays registered but no-ops, so the panel will show an empty feed.`,
23
- fix: "Mount this devframe through a hub host (`@devframes/hub`'s `createHubContext` + `mountDevframe`) to get a live message feed."
23
+ fix: "Mount this devframe through a hub host (`@devframes/hub`'s `initHub`, or `createHubContext` + `ctx.install`) to get a live message feed."
24
24
  } }
25
25
  });
26
26
  //#endregion