@devframes/plugin-messages 0.7.14 → 0.7.16

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.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { n as messagesDevframe, t as createMessagesDevframe } from "./src-Dd99KFVw.mjs";
1
+ import { n as messagesDevframe, t as createMessagesDevframe } from "./src-CzEbanky.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,3 +1,3 @@
1
- import { t as setupMessages } from "../node-J2DPfame.mjs";
1
+ import { t as setupMessages } from "../node-BHIX2b-f.mjs";
2
2
  import { t as serverFunctions } from "../rpc-BRlKSu4p.mjs";
3
3
  export { serverFunctions, setupMessages };
@@ -1,6 +1,6 @@
1
1
  import { PLUGIN_ID } from "./constants.mjs";
2
2
  import { n as getMessagesHost, t as serverFunctions } from "./rpc-BRlKSu4p.mjs";
3
- import { openHelpers } from "devframe/recipes/open-helpers";
3
+ import { commonRpcFunctions } from "devframe/recipes/common-rpc-functions";
4
4
  import { colors } from "devframe/utils/colors";
5
5
  import { defineDiagnostics } from "nostics";
6
6
  import { ansiFormatter } from "nostics/formatters/ansi";
@@ -37,7 +37,7 @@ const diagnostics = defineDiagnostics({
37
37
  function setupMessages(ctx) {
38
38
  if (!getMessagesHost(ctx)) diagnostics.DP_MESSAGES_0001({ id: PLUGIN_ID });
39
39
  for (const fn of serverFunctions) ctx.rpc.register(fn);
40
- for (const fn of openHelpers) if (!ctx.rpc.definitions.has(fn.name)) ctx.rpc.register(fn);
40
+ for (const fn of commonRpcFunctions) if (!ctx.rpc.definitions.has(fn.name)) ctx.rpc.register(fn);
41
41
  }
42
42
  //#endregion
43
43
  export { setupMessages as t };