fyrebot-widget 1.3.0 → 1.3.2
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 +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ function App() {
|
|
|
41
41
|
{/* Your app content */}
|
|
42
42
|
|
|
43
43
|
<ChatbotWidget
|
|
44
|
-
apiUrl="https://api.
|
|
44
|
+
apiUrl="https://api.fyreway.com/api"
|
|
45
45
|
apiKey="your-api-key-from-dashboard"
|
|
46
46
|
/>
|
|
47
47
|
</div>
|
|
@@ -51,7 +51,7 @@ function App() {
|
|
|
51
51
|
|
|
52
52
|
### Get Your API Key
|
|
53
53
|
|
|
54
|
-
1. Sign up at [fyrebot.com](https://fyrebot.com)
|
|
54
|
+
1. Sign up at [fyrebot.fyreway.com](https://fyrebot.fyreway.com)
|
|
55
55
|
2. Go to your dashboard
|
|
56
56
|
3. Copy your API key
|
|
57
57
|
4. Use it in the widget configuration
|
|
@@ -65,7 +65,7 @@ function App() {
|
|
|
65
65
|
return (
|
|
66
66
|
<ChatbotWidget
|
|
67
67
|
// Required
|
|
68
|
-
apiUrl="https://api.
|
|
68
|
+
apiUrl="https://api.fyreway.com/api"
|
|
69
69
|
apiKey="your-api-key-from-dashboard"
|
|
70
70
|
|
|
71
71
|
// Customization
|
|
@@ -223,7 +223,7 @@ Full TypeScript definitions included:
|
|
|
223
223
|
import { ChatbotWidget, ChatbotConfig, ChatMessage } from 'fyrebot-widget';
|
|
224
224
|
|
|
225
225
|
const config: ChatbotConfig = {
|
|
226
|
-
apiUrl: 'https://api.
|
|
226
|
+
apiUrl: 'https://api.fyreway.com/api',
|
|
227
227
|
apiKey: 'your-key',
|
|
228
228
|
title: 'Assistant',
|
|
229
229
|
onMessageReceived: (message: ChatMessage) => {
|
|
@@ -286,7 +286,7 @@ function App() {
|
|
|
286
286
|
<>
|
|
287
287
|
<button onClick={handleReset}>Reset Chat</button>
|
|
288
288
|
<ChatbotWidget
|
|
289
|
-
apiUrl="https://api.
|
|
289
|
+
apiUrl="https://api.fyreway.com/api"
|
|
290
290
|
apiKey="your-key"
|
|
291
291
|
/>
|
|
292
292
|
</>
|
package/package.json
CHANGED