bitfab 0.28.1 → 0.28.2

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
@@ -1603,7 +1603,7 @@ declare class BitfabFunction {
1603
1603
  /**
1604
1604
  * SDK version from package.json (injected at build time)
1605
1605
  */
1606
- declare const __version__ = "0.28.1";
1606
+ declare const __version__ = "0.28.2";
1607
1607
 
1608
1608
  /**
1609
1609
  * Constants for the Bitfab SDK.
package/dist/index.d.ts CHANGED
@@ -1603,7 +1603,7 @@ declare class BitfabFunction {
1603
1603
  /**
1604
1604
  * SDK version from package.json (injected at build time)
1605
1605
  */
1606
- declare const __version__ = "0.28.1";
1606
+ declare const __version__ = "0.28.2";
1607
1607
 
1608
1608
  /**
1609
1609
  * Constants for the Bitfab SDK.
package/dist/index.js CHANGED
@@ -23,12 +23,12 @@ import {
23
23
  flushTraces,
24
24
  getCurrentSpan,
25
25
  getCurrentTrace
26
- } from "./chunk-3YNAPGPA.js";
26
+ } from "./chunk-NZFPJRD3.js";
27
27
  import {
28
28
  BITFAB_PROGRESS_PREFIX,
29
29
  BitfabError,
30
30
  reportReplayProgress
31
- } from "./chunk-FTXZWRTG.js";
31
+ } from "./chunk-3PCOUZZP.js";
32
32
  export {
33
33
  BITFAB_PROGRESS_PREFIX,
34
34
  Bitfab,
package/dist/node.cjs CHANGED
@@ -367,7 +367,7 @@ function buildMockTree(rootNode) {
367
367
  function walk(node) {
368
368
  const key = node.traceFunctionKey;
369
369
  if (key) {
370
- const name = node.spanName;
370
+ const name = node.spanName || key;
371
371
  const counterKey = `${key}:${name}`;
372
372
  const index = counters.get(counterKey) ?? 0;
373
373
  counters.set(counterKey, index + 1);
@@ -667,7 +667,7 @@ registerAsyncLocalStorageClass(
667
667
  );
668
668
 
669
669
  // src/version.generated.ts
670
- var __version__ = "0.28.1";
670
+ var __version__ = "0.28.2";
671
671
 
672
672
  // src/constants.ts
673
673
  var DEFAULT_SERVICE_URL = "https://bitfab.ai";