@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/{chunk-JANSX65W.js → chunk-DZJ5K75J.js} +5 -6
- package/dist/chunk-DZJ5K75J.js.map +1 -0
- package/dist/index.cjs +4 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/node.cjs +4 -5
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-JANSX65W.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1008,7 +1008,7 @@ __export(index_exports, {
|
|
|
1008
1008
|
module.exports = __toCommonJS(index_exports);
|
|
1009
1009
|
|
|
1010
1010
|
// src/version.generated.ts
|
|
1011
|
-
var __version__ = "0.33.
|
|
1011
|
+
var __version__ = "0.33.7";
|
|
1012
1012
|
|
|
1013
1013
|
// src/constants.ts
|
|
1014
1014
|
var DEFAULT_SERVICE_URL = "https://bitfab.ai";
|
|
@@ -2756,7 +2756,9 @@ var BitfabLangGraphCallbackHandler = class {
|
|
|
2756
2756
|
if (extraContexts && Object.keys(extraContexts).length > 0) {
|
|
2757
2757
|
spanInfo.contexts.push(extraContexts);
|
|
2758
2758
|
}
|
|
2759
|
-
|
|
2759
|
+
if (spanInfo.hidden !== true) {
|
|
2760
|
+
this.sendSpan(spanInfo);
|
|
2761
|
+
}
|
|
2760
2762
|
if (runId === spanInfo.rootRunId) {
|
|
2761
2763
|
const invocation = this.invocations.get(runId);
|
|
2762
2764
|
this.sendTraceCompletion(spanInfo, invocation?.activeContext ?? null);
|
|
@@ -2780,9 +2782,6 @@ var BitfabLangGraphCallbackHandler = class {
|
|
|
2780
2782
|
if (spanInfo.contexts.length > 0) {
|
|
2781
2783
|
spanData.contexts = spanInfo.contexts;
|
|
2782
2784
|
}
|
|
2783
|
-
if (spanInfo.hidden) {
|
|
2784
|
-
spanData.hidden = true;
|
|
2785
|
-
}
|
|
2786
2785
|
const rawSpan = {
|
|
2787
2786
|
id: spanInfo.spanId,
|
|
2788
2787
|
trace_id: spanInfo.traceId,
|