Skip to content

Commit 5f57f29

Browse files
committed
chore: Minor updates and fixes
1 parent e112f81 commit 5f57f29

File tree

5 files changed

+15
-13
lines changed

5 files changed

+15
-13
lines changed

docs/api/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ Emitted when a user uploads a file.
747747
#### Data
748748
| Name | Type | Description |
749749
|-----------|------------|-----------------------------------------|
750-
| files | `FileList` | The list of files uploaded by the user. |
750+
| files | `Array<File>` | The list of files uploaded by the user. |
751751

752752
#### Code Example
753753
```jsx

docs/api/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ The `useFlow` hook allows you to get a flow, restart a flow and track if a flow
243243
| ------------------- | ---------- | --------- | -------------------------------------------------------- |
244244
| hasFlowStarted | `boolean` | - | Indicates if the chatbot flow has started. |
245245
| getFlow | `function` | - | Retrieves the chatbot flow. |
246-
| restartFlow | `function` | - | Restarts the chatbot flow. |
246+
| restartFlow | `async function` | - | Restarts the chatbot flow. |
247247

248248
#### Code Example
249249
```jsx

docs/api/params.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The following table provides details about the parameters available for attribut
2828
| showToast | `async function` | All Attributes | Shows a toast that is dismissed after a duration or on user click. |
2929
| dismissToast | `async function` | All Attributes | Dismisses a toast by toast id. |
3030
| toggleChatWindow | `async function` | All Attributes | Opens or closes the chat component. |
31-
| files | `FileList` | Only `file` Attribute | Represents the files uploaded by the user. |
31+
| files | `Array<File>` | Only `file` Attribute | Represents the files uploaded by the user. |
3232

3333
:::caution Caution
3434

@@ -322,7 +322,7 @@ start: {
322322
List of files uploaded by the user (only present in the [**file attribute**](/docs/api/attributes#file)).
323323

324324
#### Type
325-
`FileList`
325+
`Array<File>`
326326

327327
#### Parameters
328328
- None

package-lock.json

Lines changed: 9 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
"@mdx-js/react": "^3.0.1",
2525
"@rcb-plugins/html-renderer": "^0.1.0",
2626
"@rcb-plugins/input-validator": "^0.2.0",
27-
"@rcb-plugins/llm-connector": "^0.1.1",
27+
"@rcb-plugins/llm-connector": "^0.2.0",
2828
"@rcb-plugins/markdown-renderer": "^0.1.1",
2929
"clsx": "^1.2.1",
3030
"openai": "^4.47.1",
3131
"prism-react-renderer": "^2.3.1",
3232
"react": "^18.2.0",
33-
"react-chatbotify": "^2.0.0-beta.34",
33+
"react-chatbotify": "^2.0.0-beta.36",
3434
"react-dom": "^18.2.0",
3535
"react-github-btn": "^1.4.0"
3636
},

0 commit comments

Comments
 (0)