@apify/utilities 2.34.0 → 2.34.1

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/cjs/index.cjs CHANGED
@@ -1693,7 +1693,7 @@ var _RetryableError = class _RetryableError extends Error {
1693
1693
  };
1694
1694
  __name(_RetryableError, "RetryableError");
1695
1695
  var RetryableError = _RetryableError;
1696
- async function retryWithExpBackoff(params = {}) {
1696
+ async function retryWithExpBackoff(params) {
1697
1697
  const { func, expBackoffMillis, expBackoffMaxRepeats } = params;
1698
1698
  if (typeof func !== "function") {
1699
1699
  throw new Error('Parameter "func" should be a function.');