@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 = new ProgressEvent('readystatechange');
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluwa-tool/sdk",
3
- "version": "1.0.48",
3
+ "version": "1.0.49",
4
4
  "description": "Fluwa DevTools SDK for network interception and mocking",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",