@bitfab/sdk 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
@@ -14,12 +14,12 @@ import {
14
14
  flushTraces,
15
15
  getCurrentSpan,
16
16
  getCurrentTrace
17
- } from "./chunk-3YNAPGPA.js";
17
+ } from "./chunk-NZFPJRD3.js";
18
18
  import {
19
19
  BITFAB_PROGRESS_PREFIX,
20
20
  BitfabError,
21
21
  reportReplayProgress
22
- } from "./chunk-FTXZWRTG.js";
22
+ } from "./chunk-3PCOUZZP.js";
23
23
  export {
24
24
  BITFAB_PROGRESS_PREFIX,
25
25
  Bitfab,
package/dist/node.cjs CHANGED
@@ -358,7 +358,7 @@ function buildMockTree(rootNode) {
358
358
  function walk(node) {
359
359
  const key = node.traceFunctionKey;
360
360
  if (key) {
361
- const name = node.spanName;
361
+ const name = node.spanName || key;
362
362
  const counterKey = `${key}:${name}`;
363
363
  const index = counters.get(counterKey) ?? 0;
364
364
  counters.set(counterKey, index + 1);
@@ -658,7 +658,7 @@ registerAsyncLocalStorageClass(
658
658
  );
659
659
 
660
660
  // src/version.generated.ts
661
- var __version__ = "0.28.1";
661
+ var __version__ = "0.28.2";
662
662
 
663
663
  // src/constants.ts
664
664
  var DEFAULT_SERVICE_URL = "https://bitfab.ai";