@ai-matrx/messaging 0.10.0 → 0.10.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/react.cjs CHANGED
@@ -1909,15 +1909,27 @@ function MessagingRuntime(props) {
1909
1909
  const transport = props.transport;
1910
1910
  const agents = props.agents;
1911
1911
  const maxTranscriptMessages = props.maxTranscriptMessages;
1912
+ const sourceApp = props.sourceApp;
1913
+ const sourceFeature = props.sourceFeature;
1912
1914
  const ai = (0, import_react.useMemo)(() => {
1913
1915
  if (transport === void 0 || agents === void 0 || !ready) return null;
1914
1916
  return createMessagingAi({
1915
1917
  transport,
1916
1918
  organizationId,
1917
1919
  agents,
1918
- ...maxTranscriptMessages !== void 0 ? { maxTranscriptMessages } : {}
1920
+ ...maxTranscriptMessages !== void 0 ? { maxTranscriptMessages } : {},
1921
+ ...sourceApp !== void 0 ? { sourceApp } : {},
1922
+ ...sourceFeature !== void 0 ? { sourceFeature } : {}
1919
1923
  });
1920
- }, [transport, agents, ready, organizationId, maxTranscriptMessages]);
1924
+ }, [
1925
+ transport,
1926
+ agents,
1927
+ ready,
1928
+ organizationId,
1929
+ maxTranscriptMessages,
1930
+ sourceApp,
1931
+ sourceFeature
1932
+ ]);
1921
1933
  const renderers = props.actionRenderers;
1922
1934
  const rendererMap = (0, import_react.useMemo)(() => {
1923
1935
  const map = /* @__PURE__ */ new Map();