@phpsandbox/sdk 0.0.44 → 0.0.45

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.
@@ -4987,7 +4987,8 @@ var PHPSandbox = (() => {
4987
4987
  * Capture the current beacon document, optionally clipped to a viewport or document rectangle.
4988
4988
  */
4989
4989
  async captureScreenshot(request = {}) {
4990
- const timeoutMs = (request.timeout || 3e4) + 5e3;
4990
+ const mediaTimeoutMs = request.mediaTimeoutMs ?? request.timeout ?? 3e4;
4991
+ const timeoutMs = request.transportTimeoutMs ?? mediaTimeoutMs + 5e3;
4991
4992
  return this.sendAndWaitFor("captureScreenshot", "screenshotResult", request, timeoutMs);
4992
4993
  }
4993
4994
  /**