bitfab 0.22.0 → 0.23.0
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-4SLFC266.js → chunk-QOPP5TSO.js} +4 -3
- package/dist/chunk-QOPP5TSO.js.map +1 -0
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/node.cjs +3 -2
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-4SLFC266.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -278,8 +278,8 @@ interface ActiveSpanContext$1 {
|
|
|
278
278
|
*/
|
|
279
279
|
declare class BitfabLangGraphCallbackHandler {
|
|
280
280
|
name: string;
|
|
281
|
-
ignoreRetriever: boolean;
|
|
282
281
|
ignoreRetry: boolean;
|
|
282
|
+
ignoreRetriever: boolean;
|
|
283
283
|
ignoreCustomEvent: boolean;
|
|
284
284
|
private readonly httpClient;
|
|
285
285
|
private readonly traceFunctionKey;
|
|
@@ -1210,7 +1210,7 @@ declare class BitfabFunction {
|
|
|
1210
1210
|
/**
|
|
1211
1211
|
* SDK version from package.json (injected at build time)
|
|
1212
1212
|
*/
|
|
1213
|
-
declare const __version__ = "0.
|
|
1213
|
+
declare const __version__ = "0.23.0";
|
|
1214
1214
|
|
|
1215
1215
|
/**
|
|
1216
1216
|
* Constants for the Bitfab SDK.
|
package/dist/index.d.ts
CHANGED
|
@@ -278,8 +278,8 @@ interface ActiveSpanContext$1 {
|
|
|
278
278
|
*/
|
|
279
279
|
declare class BitfabLangGraphCallbackHandler {
|
|
280
280
|
name: string;
|
|
281
|
-
ignoreRetriever: boolean;
|
|
282
281
|
ignoreRetry: boolean;
|
|
282
|
+
ignoreRetriever: boolean;
|
|
283
283
|
ignoreCustomEvent: boolean;
|
|
284
284
|
private readonly httpClient;
|
|
285
285
|
private readonly traceFunctionKey;
|
|
@@ -1210,7 +1210,7 @@ declare class BitfabFunction {
|
|
|
1210
1210
|
/**
|
|
1211
1211
|
* SDK version from package.json (injected at build time)
|
|
1212
1212
|
*/
|
|
1213
|
-
declare const __version__ = "0.
|
|
1213
|
+
declare const __version__ = "0.23.0";
|
|
1214
1214
|
|
|
1215
1215
|
/**
|
|
1216
1216
|
* Constants for the Bitfab SDK.
|
package/dist/index.js
CHANGED
package/dist/node.cjs
CHANGED
|
@@ -514,7 +514,7 @@ registerAsyncLocalStorageClass(
|
|
|
514
514
|
);
|
|
515
515
|
|
|
516
516
|
// src/version.generated.ts
|
|
517
|
-
var __version__ = "0.
|
|
517
|
+
var __version__ = "0.23.0";
|
|
518
518
|
|
|
519
519
|
// src/constants.ts
|
|
520
520
|
var DEFAULT_SERVICE_URL = "https://bitfab.ai";
|
|
@@ -1965,8 +1965,9 @@ function extractLangGraphMetadata(metadata) {
|
|
|
1965
1965
|
var BitfabLangGraphCallbackHandler = class {
|
|
1966
1966
|
constructor(config) {
|
|
1967
1967
|
this.name = "BitfabLangGraphCallbackHandler";
|
|
1968
|
-
this.ignoreRetriever = true;
|
|
1969
1968
|
this.ignoreRetry = true;
|
|
1969
|
+
// Retriever callbacks ARE captured (retriever queries -> function spans).
|
|
1970
|
+
this.ignoreRetriever = false;
|
|
1970
1971
|
this.ignoreCustomEvent = true;
|
|
1971
1972
|
this.runToSpan = /* @__PURE__ */ new Map();
|
|
1972
1973
|
this.invocations = /* @__PURE__ */ new Map();
|