@trops/dash-core 0.1.877 → 0.1.878

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.
@@ -847,57 +847,49 @@ var themeFromUrlEvents$1 = {
847
847
  * IPC communication between main and renderer processes.
848
848
  */
849
849
 
850
- var webSocketEvents$1;
851
- var hasRequiredWebSocketEvents;
852
-
853
- function requireWebSocketEvents () {
854
- if (hasRequiredWebSocketEvents) return webSocketEvents$1;
855
- hasRequiredWebSocketEvents = 1;
856
- const WS_CONNECT = "ws-connect";
857
- const WS_CONNECT_COMPLETE = "ws-connect-complete";
858
- const WS_CONNECT_ERROR = "ws-connect-error";
859
-
860
- const WS_DISCONNECT = "ws-disconnect";
861
- const WS_DISCONNECT_COMPLETE = "ws-disconnect-complete";
862
- const WS_DISCONNECT_ERROR = "ws-disconnect-error";
863
-
864
- const WS_SEND = "ws-send";
865
- const WS_SEND_COMPLETE = "ws-send-complete";
866
- const WS_SEND_ERROR = "ws-send-error";
867
-
868
- const WS_STATUS = "ws-status";
869
- const WS_STATUS_COMPLETE = "ws-status-complete";
870
- const WS_STATUS_ERROR = "ws-status-error";
871
-
872
- const WS_MESSAGE = "ws-message";
873
-
874
- const WS_STATUS_CHANGE = "ws-status-change";
875
-
876
- const WS_GET_ALL = "ws-get-all";
877
- const WS_GET_ALL_COMPLETE = "ws-get-all-complete";
878
- const WS_GET_ALL_ERROR = "ws-get-all-error";
879
-
880
- webSocketEvents$1 = {
881
- WS_CONNECT,
882
- WS_CONNECT_COMPLETE,
883
- WS_CONNECT_ERROR,
884
- WS_DISCONNECT,
885
- WS_DISCONNECT_COMPLETE,
886
- WS_DISCONNECT_ERROR,
887
- WS_SEND,
888
- WS_SEND_COMPLETE,
889
- WS_SEND_ERROR,
890
- WS_STATUS,
891
- WS_STATUS_COMPLETE,
892
- WS_STATUS_ERROR,
893
- WS_MESSAGE,
894
- WS_STATUS_CHANGE,
895
- WS_GET_ALL,
896
- WS_GET_ALL_COMPLETE,
897
- WS_GET_ALL_ERROR,
898
- };
899
- return webSocketEvents$1;
900
- }
850
+ const WS_CONNECT$1 = "ws-connect";
851
+ const WS_CONNECT_COMPLETE = "ws-connect-complete";
852
+ const WS_CONNECT_ERROR = "ws-connect-error";
853
+
854
+ const WS_DISCONNECT$1 = "ws-disconnect";
855
+ const WS_DISCONNECT_COMPLETE = "ws-disconnect-complete";
856
+ const WS_DISCONNECT_ERROR = "ws-disconnect-error";
857
+
858
+ const WS_SEND$1 = "ws-send";
859
+ const WS_SEND_COMPLETE = "ws-send-complete";
860
+ const WS_SEND_ERROR = "ws-send-error";
861
+
862
+ const WS_STATUS$1 = "ws-status";
863
+ const WS_STATUS_COMPLETE = "ws-status-complete";
864
+ const WS_STATUS_ERROR = "ws-status-error";
865
+
866
+ const WS_MESSAGE$1 = "ws-message";
867
+
868
+ const WS_STATUS_CHANGE$1 = "ws-status-change";
869
+
870
+ const WS_GET_ALL$1 = "ws-get-all";
871
+ const WS_GET_ALL_COMPLETE = "ws-get-all-complete";
872
+ const WS_GET_ALL_ERROR = "ws-get-all-error";
873
+
874
+ var webSocketEvents$1 = {
875
+ WS_CONNECT: WS_CONNECT$1,
876
+ WS_CONNECT_COMPLETE,
877
+ WS_CONNECT_ERROR,
878
+ WS_DISCONNECT: WS_DISCONNECT$1,
879
+ WS_DISCONNECT_COMPLETE,
880
+ WS_DISCONNECT_ERROR,
881
+ WS_SEND: WS_SEND$1,
882
+ WS_SEND_COMPLETE,
883
+ WS_SEND_ERROR,
884
+ WS_STATUS: WS_STATUS$1,
885
+ WS_STATUS_COMPLETE,
886
+ WS_STATUS_ERROR,
887
+ WS_MESSAGE: WS_MESSAGE$1,
888
+ WS_STATUS_CHANGE: WS_STATUS_CHANGE$1,
889
+ WS_GET_ALL: WS_GET_ALL$1,
890
+ WS_GET_ALL_COMPLETE,
891
+ WS_GET_ALL_ERROR,
892
+ };
901
893
 
902
894
  /**
903
895
  * Event Constants File - MCP Dash Server Events
@@ -1238,7 +1230,7 @@ const sessionEvents = sessionEvents$1;
1238
1230
  const notificationEvents = notificationEvents$1;
1239
1231
  const schedulerEvents = schedulerEvents$1;
1240
1232
  const themeFromUrlEvents = themeFromUrlEvents$1;
1241
- const webSocketEvents = requireWebSocketEvents();
1233
+ const webSocketEvents = webSocketEvents$1;
1242
1234
  const mcpDashServerEvents = mcpDashServerEvents$1;
1243
1235
  const publisherKeyEvents = publisherKeyEvents$1;
1244
1236
  const onboardingEvents = onboardingEvents$1;
@@ -103731,7 +103723,7 @@ function interpolate(template, credentials) {
103731
103723
  * @param {object} extra - Additional fields (error, retryCount, retryIn, etc.)
103732
103724
  */
103733
103725
  function broadcastStatusChange(providerName, status, extra = {}) {
103734
- const { WS_STATUS_CHANGE } = requireWebSocketEvents();
103726
+ const { WS_STATUS_CHANGE } = webSocketEvents$1;
103735
103727
  const { BrowserWindow } = require$$0$2;
103736
103728
 
103737
103729
  const payload = { provider: providerName, status, ...extra };
@@ -103749,7 +103741,7 @@ function broadcastStatusChange(providerName, status, extra = {}) {
103749
103741
  * @param {*} data - The message data
103750
103742
  */
103751
103743
  function broadcastMessage(providerName, data) {
103752
- const { WS_MESSAGE } = requireWebSocketEvents();
103744
+ const { WS_MESSAGE } = webSocketEvents$1;
103753
103745
  const { BrowserWindow } = require$$0$2;
103754
103746
 
103755
103747
  const payload = {