Skip to content

Commit 9d78b47

Browse files
committed
chore: Bump package dependencies
1 parent cd0f80c commit 9d78b47

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

package-lock.json

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"openai": "^4.47.1",
2727
"prism-react-renderer": "^2.3.1",
2828
"react": "^18.2.0",
29-
"react-chatbotify": "^2.0.0-beta.13",
29+
"react-chatbotify": "^2.0.0-beta.14",
3030
"react-dom": "^18.2.0",
3131
"react-github-btn": "^1.4.0"
3232
},

src/theme/ReactLiveScope/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let getDefaultStyles = null;
1313
let useAudio = null;
1414
let useNotifications = null;
1515
let useFlow = null;
16-
let useToast = null;
16+
let useToasts = null;
1717

1818
if (ExecutionEnvironment.canUseDOM) {
1919
ChatBot = require("react-chatbotify").default;
@@ -25,7 +25,7 @@ if (ExecutionEnvironment.canUseDOM) {
2525
useAudio,
2626
useNotifications,
2727
useFlow,
28-
useToast
28+
useToasts
2929
} = require("react-chatbotify");
3030
ChatBotProvider = hooks.ChatBotProvider;
3131
Button = hooks.Button;
@@ -34,7 +34,7 @@ if (ExecutionEnvironment.canUseDOM) {
3434
useAudio = hooks.useAudio;
3535
useNotifications = hooks.useNotifications;
3636
useFlow = hooks.useFlow;
37-
useToast = hooks.useToast;
37+
useToasts = hooks.useToasts;
3838
}
3939

4040
const ReactLiveScope = {
@@ -47,7 +47,7 @@ const ReactLiveScope = {
4747
useAudio,
4848
useNotifications,
4949
useFlow,
50-
useToast,
50+
useToasts,
5151
GoogleGenerativeAI,
5252
OpenAI
5353
};

0 commit comments

Comments
 (0)