@esvndev/es-react-template-chat 0.0.37 → 0.0.38

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.mjs CHANGED
@@ -5,7 +5,7 @@ import '@styles/base/pages/app-chat.scss';
5
5
  import '@styles/base/pages/app-chat-list.scss';
6
6
  import 'react-dom';
7
7
  import { useAppDispatch, useAppSelector } from '@src/redux/configureStore';
8
- import { createSlice, createAsyncThunk } from '@reduxjs/toolkit';
8
+ import * as ____toolkit from '@reduxjs/toolkit';
9
9
 
10
10
  var isBlazorPlatform = false;
11
11
  /**
@@ -26273,7 +26273,7 @@ const initialState = {
26273
26273
  typingUsers: {}
26274
26274
  };
26275
26275
  const get_history = (params) => {
26276
- return createAsyncThunk(CHAT.ACTION_TYPES.GET_HISTORY, async (params, thunkAPI) => {
26276
+ return ____toolkit.createAsyncThunk(CHAT.ACTION_TYPES.GET_HISTORY, async (params, thunkAPI) => {
26277
26277
  try {
26278
26278
  const queryString = new URLSearchParams(params).toString();
26279
26279
  const response = await fetch(`${CHAT.URL_API.GET_HISTORY_API}?${queryString}`, {
@@ -26470,7 +26470,7 @@ const get_history = (params) => {
26470
26470
  // return thunkAPI.rejectWithValue({ error: error.response?.data || error.data })
26471
26471
  // }
26472
26472
  // })
26473
- const appChatSlice = createSlice({
26473
+ const appChatSlice = ____toolkit.createSlice({
26474
26474
  name: 'appChat',
26475
26475
  initialState,
26476
26476
  reducers: {