@trigger.dev/core 0.0.0-v3-prerelease-20240708162325 → 0.0.0-v3-prerelease-20240708183321

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.
@@ -400,7 +400,7 @@ function getEnvVar(name) {
400
400
  __name(getEnvVar, "getEnvVar");
401
401
 
402
402
  // package.json
403
- var version = "0.0.0-v3-prerelease-20240708162325";
403
+ var version = "0.0.0-v3-prerelease-20240708183321";
404
404
 
405
405
  // src/v3/otel/tracingSDK.ts
406
406
  var _a;
@@ -1717,7 +1717,11 @@ async function _doZodFetch(schema, url, requestInit, options) {
1717
1717
  requestInit: $requestInit,
1718
1718
  options
1719
1719
  }, async (span) => {
1720
- return await _doZodFetchWithRetries(schema, url, $requestInit, options);
1720
+ const result = await _doZodFetchWithRetries(schema, url, $requestInit, options);
1721
+ if (options?.onResponseBody && span) {
1722
+ options.onResponseBody(result.data, span);
1723
+ }
1724
+ return result;
1721
1725
  });
1722
1726
  }
1723
1727
  __name(_doZodFetch, "_doZodFetch");