@sampleapp.ai/sdk 1.0.19 → 1.0.20

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.js CHANGED
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import ReactDOM from "react-dom/client";
1
+ import * as React from "react"; // Change this line
2
+ import * as ReactDOM from "react-dom/client"; // Change this line
3
3
  import { ChatButton } from "./components/ChatButton";
4
4
  import { ModalSearchAndChat } from "./components/ModalSearchAndChat";
5
5
  // Export React components for direct JSX usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sampleapp.ai/sdk",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "type": "module",
5
5
  "description": "TypeScript SDK for your components",
6
6
  "main": "./dist/index.umd.js",
@@ -1,15 +0,0 @@
1
- import { SDKSettings } from "./types";
2
- declare function initModalSearchAndChat(settings: SDKSettings, container?: HTMLElement): {
3
- unmount: () => void;
4
- show: () => void;
5
- hide: () => void;
6
- };
7
- declare function initChatButton(settings: SDKSettings, container?: HTMLElement): {
8
- unmount: () => void;
9
- };
10
- export { initModalSearchAndChat as ModalSearchAndChat, initChatButton as ChatButton, };
11
- declare const _default: {
12
- ModalSearchAndChat: typeof initModalSearchAndChat;
13
- ChatButton: typeof initChatButton;
14
- };
15
- export default _default;