|
@@ -3,7 +3,6 @@ import axios from "axios";
|
|
|
import io from "socket.io-client";
|
|
|
import JSON5 from "json5";
|
|
|
import env from "$/env.json";
|
|
|
-import reflexEnvironment from "$/reflex.json";
|
|
|
import Cookies from "universal-cookie";
|
|
|
import { useEffect, useRef, useState } from "react";
|
|
|
import Router, { useRouter } from "next/router";
|
|
@@ -408,7 +407,6 @@ export const connect = async (
|
|
|
socket.current = io(endpoint.href, {
|
|
|
path: endpoint["pathname"],
|
|
|
transports: transports,
|
|
|
- protocols: env.TEST_MODE ? undefined : [reflexEnvironment.version],
|
|
|
autoUnref: false,
|
|
|
});
|
|
|
// Ensure undefined fields in events are sent as null instead of removed
|