bitfab 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.
- package/dist/{chunk-LCGQUVKR.js → chunk-APYOBPGZ.js} +3 -3
- package/dist/{chunk-SSNTMROV.js → chunk-DUEN22MC.js} +14 -4
- package/dist/chunk-DUEN22MC.js.map +1 -0
- package/dist/index.cjs +14 -4
- 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 +2 -2
- package/dist/node.cjs +14 -4
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +2 -2
- package/dist/{replay-XWBIMYEE.js → replay-VMHBVAKA.js} +2 -2
- package/package.json +2 -1
- package/dist/chunk-SSNTMROV.js.map +0 -1
- /package/dist/{chunk-LCGQUVKR.js.map → chunk-APYOBPGZ.js.map} +0 -0
- /package/dist/{replay-XWBIMYEE.js.map → replay-VMHBVAKA.js.map} +0 -0
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
toJsonSafe,
|
|
17
17
|
toJsonSafeReport,
|
|
18
18
|
warnOnce
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DUEN22MC.js";
|
|
20
20
|
|
|
21
21
|
// src/processorPayload.ts
|
|
22
22
|
var SERIALIZATION_DEGRADED_STEP = "serialization_degraded";
|
|
@@ -3395,7 +3395,7 @@ var Bitfab = class {
|
|
|
3395
3395
|
`Function is wrapped with trace function key '${wrappedKey}' but replay was called with '${traceFunctionKey}'. Pass matching keys, or pass the unwrapped function to replay it under the explicit key.`
|
|
3396
3396
|
);
|
|
3397
3397
|
}
|
|
3398
|
-
const { replay: doReplay } = await import("./replay-
|
|
3398
|
+
const { replay: doReplay } = await import("./replay-VMHBVAKA.js");
|
|
3399
3399
|
return doReplay(
|
|
3400
3400
|
this.httpClient,
|
|
3401
3401
|
this.serviceUrl,
|
|
@@ -3633,4 +3633,4 @@ export {
|
|
|
3633
3633
|
BitfabFunction,
|
|
3634
3634
|
finalizers
|
|
3635
3635
|
};
|
|
3636
|
-
//# sourceMappingURL=chunk-
|
|
3636
|
+
//# sourceMappingURL=chunk-APYOBPGZ.js.map
|
|
@@ -314,7 +314,8 @@ function encodeRequestBody(body) {
|
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
// src/version.generated.ts
|
|
317
|
-
var __version__ = "0.38.
|
|
317
|
+
var __version__ = "0.38.1";
|
|
318
|
+
var __packageName__ = "bitfab";
|
|
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 = {
|
|
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
|
-
{
|
|
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-
|
|
2966
|
+
//# sourceMappingURL=chunk-DUEN22MC.js.map
|