@bitfab/sdk 0.38.0 → 0.38.1

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.
@@ -314,7 +314,8 @@ function encodeRequestBody(body) {
314
314
  }
315
315
 
316
316
  // src/version.generated.ts
317
- var __version__ = "0.38.0";
317
+ var __version__ = "0.38.1";
318
+ var __packageName__ = "@bitfab/sdk";
318
319
 
319
320
  // src/constants.ts
320
321
  var DEFAULT_SERVICE_URL = "https://bitfab.ai";
@@ -1831,7 +1832,12 @@ var HttpClient = class {
1831
1832
  * the OTLP carrier has no path to carry it.
1832
1833
  */
1833
1834
  sendInternalTrace(functionId, payload) {
1834
- const body = { ...payload, functionId, sdkVersion: __version__ };
1835
+ const body = {
1836
+ ...payload,
1837
+ functionId,
1838
+ sdkPackage: __packageName__,
1839
+ sdkVersion: __version__
1840
+ };
1835
1841
  this.getTraceTransport()?.submit(
1836
1842
  "internal_trace",
1837
1843
  body,
@@ -1860,7 +1866,11 @@ var HttpClient = class {
1860
1866
  sendExternalTrace(payload) {
1861
1867
  this.getTraceTransport()?.submit(
1862
1868
  "external_trace",
1863
- { ...payload, sdkVersion: __version__ },
1869
+ {
1870
+ ...payload,
1871
+ sdkPackage: __packageName__,
1872
+ sdkVersion: __version__
1873
+ },
1864
1874
  this.recordedMeta(
1865
1875
  "external_trace",
1866
1876
  payload,
@@ -2953,4 +2963,4 @@ export {
2953
2963
  sleepForReplayPersistence,
2954
2964
  replay
2955
2965
  };
2956
- //# sourceMappingURL=chunk-SSNTMROV.js.map
2966
+ //# sourceMappingURL=chunk-MGA7ROIK.js.map