bitfab 0.33.5 → 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-LRWH3H5T.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-LRWH3H5T.js.map +0 -1
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.
|
|
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.
|
|
1986
|
+
declare const __version__ = "0.33.7";
|
|
1987
1987
|
|
|
1988
1988
|
/**
|
|
1989
1989
|
* Constants for the Bitfab SDK.
|
package/dist/index.js
CHANGED
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.
|
|
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
|
-
|
|
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,
|