@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/{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
|
@@ -505,7 +505,7 @@ registerAsyncLocalStorageClass(
|
|
|
505
505
|
);
|
|
506
506
|
|
|
507
507
|
// src/version.generated.ts
|
|
508
|
-
var __version__ = "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();
|