@bitfab/sdk 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
@@ -13,7 +13,7 @@ import {
13
13
  flushTraces,
14
14
  getCurrentSpan,
15
15
  getCurrentTrace
16
- } from "./chunk-4SLFC266.js";
16
+ } from "./chunk-QOPP5TSO.js";
17
17
  import {
18
18
  BitfabError
19
19
  } from "./chunk-EQI6ZJC3.js";
package/dist/node.cjs CHANGED
@@ -505,7 +505,7 @@ registerAsyncLocalStorageClass(
505
505
  );
506
506
 
507
507
  // src/version.generated.ts
508
- var __version__ = "0.22.0";
508
+ var __version__ = "0.23.0";
509
509
 
510
510
  // src/constants.ts
511
511
  var DEFAULT_SERVICE_URL = "https://bitfab.ai";
@@ -1956,8 +1956,9 @@ function extractLangGraphMetadata(metadata) {
1956
1956
  var BitfabLangGraphCallbackHandler = class {
1957
1957
  constructor(config) {
1958
1958
  this.name = "BitfabLangGraphCallbackHandler";
1959
- this.ignoreRetriever = true;
1960
1959
  this.ignoreRetry = true;
1960
+ // Retriever callbacks ARE captured (retriever queries -> function spans).
1961
+ this.ignoreRetriever = false;
1961
1962
  this.ignoreCustomEvent = true;
1962
1963
  this.runToSpan = /* @__PURE__ */ new Map();
1963
1964
  this.invocations = /* @__PURE__ */ new Map();