@clikvn/agent-widget-embedded 0.0.33-dev → 0.0.35-dev
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clikvn/agent-widget-embedded",
|
|
3
3
|
"description": "This is agent widget",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.35-dev",
|
|
5
5
|
"author": "Clik JSC",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"type": "module",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"deploy": "yarn build && yarn publish --access public"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@clikvn/agent-voice-embedded": "^0.0.
|
|
20
|
+
"@clikvn/agent-voice-embedded": "^0.0.9-release",
|
|
21
21
|
"@fortawesome/fontawesome-svg-core": "^6.6.0",
|
|
22
22
|
"@fortawesome/free-brands-svg-icons": "^6.6.0",
|
|
23
23
|
"@fortawesome/free-regular-svg-icons": "^6.6.0",
|
package/dist/index.html
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<!-- public/index.html -->
|
|
2
|
-
<!doctype html>
|
|
3
|
-
<html lang="en">
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
|
-
<title></title>
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
<clik-agent-widget></clik-agent-widget>
|
|
11
|
-
<script type="module">
|
|
12
|
-
import Agent from 'http://localhost:3000/web.js'; // Change to from './web.js' to 'https://localhost:5678/web.js'
|
|
13
|
-
Agent.initWidget({
|
|
14
|
-
apiHost: 'https://ci-api.clik.vn/chatbot',
|
|
15
|
-
agentId: 'e251984d-00e5-40c7-8aae-71aedb57be1d',
|
|
16
|
-
overrideConfig: {
|
|
17
|
-
chatId: '78f8cc49-deac-46c1-b075-5242003a9603',
|
|
18
|
-
overrideConfig: {
|
|
19
|
-
vars: {
|
|
20
|
-
POI_CODE: 'MLI_RFXCLFKPER7J',
|
|
21
|
-
LANGUAGE: 'VN',
|
|
22
|
-
CLIK_PROD_GRAPHQL_API: 'https://ci-api.clik.vn/graphql',
|
|
23
|
-
},
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
</script>
|
|
28
|
-
</body>
|
|
29
|
-
</html>
|