@2uinc/frontend-component-xpert-chatbot 1.2.1-alpha.1 → 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.
Files changed (2) hide show
  1. package/README.md +9 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -103,11 +103,19 @@ A CDN deployment occurs after the NPM deployment for clients that don't have Rea
103
103
  <head>
104
104
  <link rel="stylesheet href="https://chatbot-frontend.prod.ai.2u.com/@latest/index.css.js" />
105
105
 
106
+ <script type="importmap">
107
+ {
108
+ "imports": {
109
+ "react": "https://cdn.jsdelivr.net/npm/react@17.0.2/+esm",
110
+ "react-dom": "https://cdn.jsdelivr.net/npm/react-dom@17.0.2/+esm"
111
+ }
112
+ }
113
+ </script>
106
114
  </head>
107
115
  <body>
108
116
  <div id="xpert-chatbot-container"></div>
109
117
  ...
110
- <script defer src="https://chatbot-frontend.prod.ai.2u.com/@latest/index.min.js"></script>
118
+ <script type="module" defer src="https://chatbot-frontend.prod.ai.2u.com/@latest/index.min.js"></script>
111
119
  </body>
112
120
  ```
113
121
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2uinc/frontend-component-xpert-chatbot",
3
- "version": "1.2.1-alpha.1",
3
+ "version": "1.2.1",
4
4
  "homepage": "/app/plugins/xpert-chatbot/frontend/build/",
5
5
  "repository": {
6
6
  "type": "git",