next-fetch-panel 0.4.1 → 0.4.3
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/README.md +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -249,7 +249,9 @@ if (typeof window === "undefined") {
|
|
|
249
249
|
export default http;
|
|
250
250
|
```
|
|
251
251
|
|
|
252
|
-
No axios configuration change is required — `adapter: 'fetch'` is **not** needed. The interceptors work with any axios adapter
|
|
252
|
+
No axios configuration change is required — `adapter: 'fetch'` is **not** needed. The interceptors work with any axios adapter.
|
|
253
|
+
|
|
254
|
+
If your project makes server-side requests **only through axios** (no native `fetch()` in Server Components or Route Handlers), you can skip `instrumentation.ts` entirely — the interceptors are sufficient. If you use both, set up `instrumentation.ts` as well so native `fetch()` calls are also captured.
|
|
253
255
|
|
|
254
256
|
---
|
|
255
257
|
|