@contenify/chatbot 4.0.1 → 4.0.3
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 +232 -69
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2874,7 +2874,12 @@ ${optionsList}` }) : m
|
|
|
2874
2874
|
|
|
2875
2875
|
// src/index.tsx
|
|
2876
2876
|
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
2877
|
-
function ContenifyChatBot({
|
|
2877
|
+
function ContenifyChatBot({
|
|
2878
|
+
apiUrl = process.env.NEXT_PUBLIC_CONTENIFY_API_URL,
|
|
2879
|
+
apiKey = process.env.NEXT_PUBLIC_API_KEY,
|
|
2880
|
+
domain = process.env.NEXT_PUBLIC_CONTENIFY_DOMAIN,
|
|
2881
|
+
onPost
|
|
2882
|
+
}) {
|
|
2878
2883
|
useEffect7(() => {
|
|
2879
2884
|
setConfig({ apiUrl, apiKey, domain });
|
|
2880
2885
|
}, [apiUrl, apiKey, domain]);
|