@dashadmin/dash-axios-hook 1.3.45 → 1.3.47

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.
@@ -186,6 +186,8 @@ const useAxios = (options) => {
186
186
  return a;
187
187
  };
188
188
  const createAxiosInstance = (options) => {
189
+ console.log("Creating Axios instance with options:", options);
190
+ console.log("Base URL:", DASHAdminSystemConstants.system.ADMIN_API_URL);
189
191
  return initAxios(__spreadValues({
190
192
  baseURL: DASHAdminSystemConstants.system.ADMIN_API_URL
191
193
  }, options && __spreadValues({}, options)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashadmin/dash-axios-hook",
3
- "version": "1.3.45",
3
+ "version": "1.3.47",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "devDependencies": {
@@ -223,6 +223,8 @@ const useAxios = (options?: Partial<AxiosRequestConfig<any>>) => {
223
223
 
224
224
  // Non-hook version (for use in classes and regular functions)
225
225
  export const createAxiosInstance = (options?: Partial<AxiosRequestConfig<any>>) => {
226
+ console.log('Creating Axios instance with options:', options);
227
+ console.log('Base URL:', DASHAdminSystemConstants.system.ADMIN_API_URL);
226
228
  return initAxios({
227
229
  baseURL: DASHAdminSystemConstants.system.ADMIN_API_URL,
228
230
  ...(options) && {...options}