@sampleapp.ai/sdk 1.0.27 → 1.0.28

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.
@@ -3,7 +3,6 @@ import ReactDOM from "react-dom/client";
3
3
  import { ChatBar as MinimalChatBar, } from "./components/chat-bar";
4
4
  function initChatBarStandalone(props, containerSelector) {
5
5
  try {
6
- console.log("SampleApp Standalone: Initializing ChatBar...", props);
7
6
  // Add missing height property if not provided
8
7
  const propsWithDefaults = Object.assign({}, props);
9
8
  let hostContainer;
@@ -50,11 +49,9 @@ function initChatBarStandalone(props, containerSelector) {
50
49
  shadow.appendChild(styleSheet);
51
50
  shadow.appendChild(appContainer);
52
51
  hostContainer.appendChild(shadowHost);
53
- console.log("SampleApp Standalone: Shadow DOM created, rendering React...");
54
52
  const root = ReactDOM.createRoot(appContainer);
55
53
  const component = React.createElement(MinimalChatBar, propsWithDefaults);
56
54
  root.render(component);
57
- console.log("SampleApp Standalone: ChatBar rendered successfully!");
58
55
  return {
59
56
  unmount: () => {
60
57
  root.unmount();
@@ -79,7 +76,6 @@ const SampleAppStandalone = {
79
76
  };
80
77
  if (typeof window !== "undefined") {
81
78
  window.SampleAppStandalone = SampleAppStandalone;
82
- console.log("SampleApp Standalone SDK loaded successfully! Version:", SampleAppStandalone.version);
83
79
  }
84
80
  export default SampleAppStandalone;
85
81
  export { initChatBarStandalone as ChatBar };