@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.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
|
@@ -1022,7 +1022,7 @@ registerAsyncLocalStorageClass(
|
|
|
1022
1022
|
);
|
|
1023
1023
|
|
|
1024
1024
|
// src/version.generated.ts
|
|
1025
|
-
var __version__ = "0.33.
|
|
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
|
-
|
|
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,
|