@arex95/vue-core 3.0.0 → 3.0.1
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
|
@@ -1994,9 +1994,8 @@ const configAxios = (config) => {
|
|
|
1994
1994
|
timeout: config.timeout,
|
|
1995
1995
|
withCredentials: config.withCredentials
|
|
1996
1996
|
});
|
|
1997
|
-
// Configure auth fetcher factory to avoid circular dependency
|
|
1998
|
-
|
|
1999
|
-
const { createAxiosFetcher } = require("@/fetchers/axios");
|
|
1997
|
+
// Configure auth fetcher factory lazily to avoid circular dependency
|
|
1998
|
+
// The factory function is only called when getDefaultAuthFetcher() is invoked
|
|
2000
1999
|
setDefaultAuthFetcherFactory(() => {
|
|
2001
2000
|
return createAxiosFetcher(axiosServiceInstance.getAxiosInstance());
|
|
2002
2001
|
});
|
|
@@ -2026,9 +2025,8 @@ const getConfiguredAxiosInstance = () => {
|
|
|
2026
2025
|
withCredentials: false
|
|
2027
2026
|
});
|
|
2028
2027
|
}
|
|
2029
|
-
// Configure auth fetcher factory to avoid circular dependency
|
|
2030
|
-
|
|
2031
|
-
const { createAxiosFetcher } = require("@/fetchers/axios");
|
|
2028
|
+
// Configure auth fetcher factory lazily to avoid circular dependency
|
|
2029
|
+
// The factory function is only called when getDefaultAuthFetcher() is invoked
|
|
2032
2030
|
setDefaultAuthFetcherFactory(() => {
|
|
2033
2031
|
return createAxiosFetcher(axiosServiceInstance.getAxiosInstance());
|
|
2034
2032
|
});
|