@codex-app-sdk/backend 0.20.0 → 0.21.0

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/dist/index.js CHANGED
@@ -8160,7 +8160,7 @@ var Is = 12e4, Ls = class {
8160
8160
  this.pendingByThread.set(f, p);
8161
8161
  let m = null, h = !1, g = () => p.reject(Hs());
8162
8162
  t.signal?.addEventListener("abort", g);
8163
- let _ = setTimeout(() => {
8163
+ let _ = t.timeoutMs === null ? void 0 : setTimeout(() => {
8164
8164
  p.reject(/* @__PURE__ */ Error("Codex ephemeral generation timed out"));
8165
8165
  }, t.timeoutMs ?? Is);
8166
8166
  try {