@cmnd-ai/chatbot-react 1.2.0 → 1.2.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.
@@ -8,7 +8,8 @@ import UIToolComponent from "../ui-tools/index.js";
8
8
  import remarkGfm from "remark-gfm";
9
9
  import ReactMarkdown from "react-markdown";
10
10
  import SyntaxHighlighter from "react-syntax-highlighter";
11
- import { oneDark } from "react-syntax-highlighter/dist/esm/styles/prism";
11
+ //@ts-ignore
12
+ import oneDark from "react-syntax-highlighter/dist/cjs/styles/prism/one-dark.js";
12
13
  const getChatAvatar = (role) => {
13
14
  switch (role) {
14
15
  case MessageRole.USER:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmnd-ai/chatbot-react",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "main": "dist/index.js",
5
5
  "description": "",
6
6
  "type": "module",