@bitfab/sdk 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
@@ -14,7 +14,7 @@ import {
14
14
  getCurrentReplayBranch,
15
15
  getCurrentSpan,
16
16
  getCurrentTrace
17
- } from "./chunk-JANSX65W.js";
17
+ } from "./chunk-DZJ5K75J.js";
18
18
  import {
19
19
  BITFAB_PROGRESS_PREFIX,
20
20
  BitfabError,
package/dist/node.cjs CHANGED
@@ -1022,7 +1022,7 @@ registerAsyncLocalStorageClass(
1022
1022
  );
1023
1023
 
1024
1024
  // src/version.generated.ts
1025
- var __version__ = "0.33.6";
1025
+ var __version__ = "0.33.7";
1026
1026
 
1027
1027
  // src/constants.ts
1028
1028
  var DEFAULT_SERVICE_URL = "https://bitfab.ai";
@@ -2770,7 +2770,9 @@ var BitfabLangGraphCallbackHandler = class {
2770
2770
  if (extraContexts && Object.keys(extraContexts).length > 0) {
2771
2771
  spanInfo.contexts.push(extraContexts);
2772
2772
  }
2773
- this.sendSpan(spanInfo);
2773
+ if (spanInfo.hidden !== true) {
2774
+ this.sendSpan(spanInfo);
2775
+ }
2774
2776
  if (runId === spanInfo.rootRunId) {
2775
2777
  const invocation = this.invocations.get(runId);
2776
2778
  this.sendTraceCompletion(spanInfo, invocation?.activeContext ?? null);
@@ -2794,9 +2796,6 @@ var BitfabLangGraphCallbackHandler = class {
2794
2796
  if (spanInfo.contexts.length > 0) {
2795
2797
  spanData.contexts = spanInfo.contexts;
2796
2798
  }
2797
- if (spanInfo.hidden) {
2798
- spanData.hidden = true;
2799
- }
2800
2799
  const rawSpan = {
2801
2800
  id: spanInfo.spanId,
2802
2801
  trace_id: spanInfo.traceId,