@mypatientspace/chatbot-widget 1.0.2 → 1.0.4

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/README.md CHANGED
@@ -25,12 +25,12 @@ A standalone chatbot widget that third-party websites can embed via a single `<s
25
25
 
26
26
  **unpkg:**
27
27
  ```html
28
- <script src="https://unpkg.com/@mypatientspace/chatbot-widget@1.0.0/dist/mypatientspace-widget.umd.js"></script>
28
+ <script src="https://unpkg.com/@mypatientspace/chatbot-widget@latest/dist/mypatientspace-widget.umd.js"></script>
29
29
  ```
30
30
 
31
31
  **jsDelivr:**
32
32
  ```html
33
- <script src="https://cdn.jsdelivr.net/npm/@mypatientspace/chatbot-widget@1.0.0/dist/mypatientspace-widget.umd.js"></script>
33
+ <script src="https://cdn.jsdelivr.net/npm/@mypatientspace/chatbot-widget@latest/dist/mypatientspace-widget.umd.js"></script>
34
34
  ```
35
35
 
36
36
  ### Via npm
@@ -58,7 +58,7 @@ yarn preview
58
58
 
59
59
  ### Minimal Setup (uses all defaults)
60
60
  ```html
61
- <script src="https://unpkg.com/@mypatientspace/chatbot-widget@1.0.0/dist/mypatientspace-widget.umd.js"></script>
61
+ <script src="https://unpkg.com/@mypatientspace/chatbot-widget@latest/dist/mypatientspace-widget.umd.js"></script>
62
62
  <script>
63
63
  ChatbotWidget.init({
64
64
  apiEndpoint: 'https://your-api.com/chat'
@@ -68,7 +68,7 @@ yarn preview
68
68
 
69
69
  ### Full Customization
70
70
  ```html
71
- <script src="https://unpkg.com/@mypatientspace/chatbot-widget@1.0.0/dist/mypatientspace-widget.umd.js"></script>
71
+ <script src="https://unpkg.com/@mypatientspace/chatbot-widget@latest/dist/mypatientspace-widget.umd.js"></script>
72
72
  <script>
73
73
  ChatbotWidget.init({
74
74
  apiEndpoint: 'https://your-api.com/chat',
@@ -129,7 +129,7 @@ class ChatActivity : AppCompatActivity() {
129
129
  <meta name="viewport" content="width=device-width, initial-scale=1">
130
130
  </head>
131
131
  <body style="margin:0;padding:0;">
132
- <script src="https://unpkg.com/@mypatientspace/chatbot-widget@1.0.0/dist/mypatientspace-widget.umd.js"></script>
132
+ <script src="https://unpkg.com/@mypatientspace/chatbot-widget@latest/dist/mypatientspace-widget.umd.js"></script>
133
133
  <script>
134
134
  ChatbotWidget.init({
135
135
  apiEndpoint: 'https://your-api.com/chat'
@@ -173,7 +173,7 @@ class ChatViewController: UIViewController {
173
173
  <style>body { margin: 0; padding: 0; }</style>
174
174
  </head>
175
175
  <body>
176
- <script src="https://unpkg.com/@mypatientspace/chatbot-widget@1.0.0/dist/mypatientspace-widget.umd.js"></script>
176
+ <script src="https://unpkg.com/@mypatientspace/chatbot-widget@latest/dist/mypatientspace-widget.umd.js"></script>
177
177
  <script>
178
178
  ChatbotWidget.init({
179
179
  apiEndpoint: 'https://your-api.com/chat'
@@ -201,7 +201,7 @@ const ChatScreen = () => {
201
201
  <meta name="viewport" content="width=device-width, initial-scale=1">
202
202
  </head>
203
203
  <body style="margin:0;padding:0;">
204
- <script src="https://unpkg.com/@mypatientspace/chatbot-widget@1.0.0/dist/mypatientspace-widget.umd.js"></script>
204
+ <script src="https://unpkg.com/@mypatientspace/chatbot-widget@latest/dist/mypatientspace-widget.umd.js"></script>
205
205
  <script>
206
206
  ChatbotWidget.init({
207
207
  apiEndpoint: 'https://your-api.com/chat'