cmcts-c-agent-embedding 1.1.6-cmcuni → 1.1.8-cmcuni

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmcts-c-agent-embedding",
3
- "version": "1.1.6-cmcuni",
3
+ "version": "1.1.8-cmcuni",
4
4
  "description": "Javascript library to display flowise chatbot on your website",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/public/index.html CHANGED
@@ -16,9 +16,9 @@
16
16
  </head>
17
17
 
18
18
  <body>
19
- <!-- <div id="root">
19
+ <div id="root">
20
20
  <flowise-fullchatbot></flowise-fullchatbot>
21
- </div> -->
21
+ </div>
22
22
  <script type="module">
23
23
  import Chatbot from './web.js';
24
24
 
@@ -44,11 +44,11 @@
44
44
  // salesbot=ghi123-jkl456,https://example.com
45
45
  //
46
46
  // Then use the environment variable name as chatflowid:
47
- Chatbot.init({
47
+ Chatbot.initFull({
48
48
  // chatflowid: '6a63bb88-88f7-4c4d-805e-9c027c85707b', // or 'support', 'salesbot', etc.
49
49
  // chatflowid: 'b573e66d-0e28-4798-8e4f-fbbaff8e236f', // or 'support', 'salesbot', etc.
50
50
  // chatflowid: '7ee803b4-e3f8-4f33-bf85-ef9ab9d6f693', // or 'support', 'salesbot', etc.
51
- chatflowid: '373bfccc-9796-48df-a63a-45dcf5855aeb', // or 'support', 'salesbot', etc.
51
+ chatflowid: '226da69f-74ed-4250-b754-a388e57b2877', // or 'support', 'salesbot', etc.
52
52
  apiHost: 'https://cmc-uni.cagent.cmcts.ai',
53
53
  // apiHost: 'https://c-agent.cmcts.studio.ai.vn',
54
54
  chatwootUrl: 'https://livechat.cagent.cmcts.ai',