@fluwa-tool/sdk 1.0.48 → 1.0.49
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.
|
@@ -205,7 +205,7 @@ class XMLHttpRequestInterceptor {
|
|
|
205
205
|
}
|
|
206
206
|
// 2. Disparar evento readystatechange
|
|
207
207
|
try {
|
|
208
|
-
const event =
|
|
208
|
+
const event = { type: 'readystatechange', target: xhr };
|
|
209
209
|
self.logger.debug(`📤 [XMLHttpRequestInterceptor] Disparando evento readystatechange em readyState=4`);
|
|
210
210
|
xhr.dispatchEvent(event);
|
|
211
211
|
}
|