@sparkstudio/realtime-ui 1.0.11 → 1.0.16
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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -597,7 +597,7 @@ function isSuccessMessage(msg) {
|
|
|
597
597
|
}
|
|
598
598
|
function HomeContent() {
|
|
599
599
|
const { user } = (0, import_authentication_ui.useUser)();
|
|
600
|
-
const wsUrl = (0, import_react2.useMemo)(() => "
|
|
600
|
+
const wsUrl = (0, import_react2.useMemo)(() => "wss://zix6or94e5.execute-api.us-east-2.amazonaws.com/Prod", []);
|
|
601
601
|
const { engine, status } = useRealtime(wsUrl);
|
|
602
602
|
const [messages, setMessages] = (0, import_react2.useState)([]);
|
|
603
603
|
(0, import_react2.useEffect)(() => {
|
package/dist/index.js
CHANGED
|
@@ -559,7 +559,7 @@ function isSuccessMessage(msg) {
|
|
|
559
559
|
}
|
|
560
560
|
function HomeContent() {
|
|
561
561
|
const { user } = useUser();
|
|
562
|
-
const wsUrl = useMemo2(() => "
|
|
562
|
+
const wsUrl = useMemo2(() => "wss://zix6or94e5.execute-api.us-east-2.amazonaws.com/Prod", []);
|
|
563
563
|
const { engine, status } = useRealtime(wsUrl);
|
|
564
564
|
const [messages, setMessages] = useState2([]);
|
|
565
565
|
useEffect2(() => {
|