bitfab 0.33.6 → 0.33.7

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.d.cts CHANGED
@@ -1983,7 +1983,7 @@ declare class BitfabFunction {
1983
1983
  /**
1984
1984
  * SDK version from package.json (injected at build time)
1985
1985
  */
1986
- declare const __version__ = "0.33.6";
1986
+ declare const __version__ = "0.33.7";
1987
1987
 
1988
1988
  /**
1989
1989
  * Constants for the Bitfab SDK.
package/dist/index.d.ts CHANGED
@@ -1983,7 +1983,7 @@ declare class BitfabFunction {
1983
1983
  /**
1984
1984
  * SDK version from package.json (injected at build time)
1985
1985
  */
1986
- declare const __version__ = "0.33.6";
1986
+ declare const __version__ = "0.33.7";
1987
1987
 
1988
1988
  /**
1989
1989
  * Constants for the Bitfab SDK.
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  getCurrentReplayBranch,
24
24
  getCurrentSpan,
25
25
  getCurrentTrace
26
- } from "./chunk-JANSX65W.js";
26
+ } from "./chunk-DZJ5K75J.js";
27
27
  import {
28
28
  BITFAB_PROGRESS_PREFIX,
29
29
  BitfabError,
package/dist/node.cjs CHANGED
@@ -1031,7 +1031,7 @@ registerAsyncLocalStorageClass(
1031
1031
  );
1032
1032
 
1033
1033
  // src/version.generated.ts
1034
- var __version__ = "0.33.6";
1034
+ var __version__ = "0.33.7";
1035
1035
 
1036
1036
  // src/constants.ts
1037
1037
  var DEFAULT_SERVICE_URL = "https://bitfab.ai";
@@ -2779,7 +2779,9 @@ var BitfabLangGraphCallbackHandler = class {
2779
2779
  if (extraContexts && Object.keys(extraContexts).length > 0) {
2780
2780
  spanInfo.contexts.push(extraContexts);
2781
2781
  }
2782
- this.sendSpan(spanInfo);
2782
+ if (spanInfo.hidden !== true) {
2783
+ this.sendSpan(spanInfo);
2784
+ }
2783
2785
  if (runId === spanInfo.rootRunId) {
2784
2786
  const invocation = this.invocations.get(runId);
2785
2787
  this.sendTraceCompletion(spanInfo, invocation?.activeContext ?? null);
@@ -2803,9 +2805,6 @@ var BitfabLangGraphCallbackHandler = class {
2803
2805
  if (spanInfo.contexts.length > 0) {
2804
2806
  spanData.contexts = spanInfo.contexts;
2805
2807
  }
2806
- if (spanInfo.hidden) {
2807
- spanData.hidden = true;
2808
- }
2809
2808
  const rawSpan = {
2810
2809
  id: spanInfo.spanId,
2811
2810
  trace_id: spanInfo.traceId,