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/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.22.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.22.0";
1213
+ declare const __version__ = "0.23.0";
1214
1214
 
1215
1215
  /**
1216
1216
  * Constants for the Bitfab SDK.
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  flushTraces,
23
23
  getCurrentSpan,
24
24
  getCurrentTrace
25
- } from "./chunk-4SLFC266.js";
25
+ } from "./chunk-QOPP5TSO.js";
26
26
  import {
27
27
  BitfabError
28
28
  } from "./chunk-EQI6ZJC3.js";
package/dist/node.cjs CHANGED
@@ -514,7 +514,7 @@ registerAsyncLocalStorageClass(
514
514
  );
515
515
 
516
516
  // src/version.generated.ts
517
- var __version__ = "0.22.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();