@ngn-net/nestjs-telescope 0.2.5 → 0.2.6

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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@ngn-net/nestjs-telescope",
3
- "version": "0.2.5",
4
- "builtAt": "2026-06-08T12:21:55.387Z"
3
+ "version": "0.2.6",
4
+ "builtAt": "2026-06-08T12:28:43.444Z"
5
5
  }
@@ -67,6 +67,19 @@ let HttpClientWatcher = class HttpClientWatcher {
67
67
  this.patched = true;
68
68
  this.patch(http);
69
69
  this.patch(https);
70
+ // Also patch follow-redirects if used by HTTP clients like Axios
71
+ try {
72
+ const followRedirects = require('follow-redirects');
73
+ if (followRedirects) {
74
+ if (followRedirects.http)
75
+ this.patch(followRedirects.http);
76
+ if (followRedirects.https)
77
+ this.patch(followRedirects.https);
78
+ }
79
+ }
80
+ catch (e) {
81
+ // follow-redirects not available, skip
82
+ }
70
83
  }
71
84
  patch(module) {
72
85
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngn-net/nestjs-telescope",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },