@sawport/react-sdk 1.0.3 → 1.0.4-alpha

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.js CHANGED
@@ -100437,7 +100437,7 @@ const useSocket = (options) => {
100437
100437
  const user2 = useUserStore(useShallow((state) => state.user));
100438
100438
  const returnSocket = cjsExports.useSocket(useSawportConfig().baseURL, {
100439
100439
  enabled: !!(user2 == null ? void 0 : user2.id),
100440
- query: {
100440
+ auth: {
100441
100441
  user: JSON.stringify({
100442
100442
  id: (_a = user2 == null ? void 0 : user2.user) == null ? void 0 : _a.id,
100443
100443
  first_name: user2 == null ? void 0 : user2.first_name,
@@ -102108,7 +102108,7 @@ const Offline = memo(
102108
102108
  url: url3
102109
102109
  }
102110
102110
  ),
102111
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mt-3 mb-0", children: [
102111
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mt-auto mb-0", children: [
102112
102112
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
102113
102113
  Button,
102114
102114
  {