bitfab 0.62.1 → 0.62.3
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-5JMVH2V4.js → chunk-BPOAXWVS.js} +14 -6
- package/dist/chunk-BPOAXWVS.js.map +1 -0
- package/dist/{chunk-CNGWMZ4B.js → chunk-DRRJRCVG.js} +2 -2
- package/dist/{chunk-CNGWMZ4B.js.map → chunk-DRRJRCVG.js.map} +1 -1
- package/dist/{chunk-TCWLKTWY.js → chunk-E2QXILJI.js} +2 -2
- package/dist/{chunk-TCWLKTWY.js.map → chunk-E2QXILJI.js.map} +1 -1
- package/dist/{chunk-6R5CAYBA.js → chunk-T6O3MFM4.js} +2 -2
- package/dist/{chunk-ZVP2UTGB.js → chunk-YKLSCOBE.js} +9 -3
- package/dist/{chunk-ZVP2UTGB.js.map → chunk-YKLSCOBE.js.map} +1 -1
- package/dist/{http-V7BFJTGX.js → http-GHK5JKGG.js} +2 -2
- package/dist/{http-4Q64Q6YS.js → http-SWK5U3S4.js} +2 -2
- package/dist/index.cjs +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -2
- package/dist/index.d.ts +19 -2
- package/dist/index.js +3 -3
- package/dist/node.cjs +9 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-SE722WH5.js → replay-BN4FM6MX.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-5JMVH2V4.js.map +0 -1
- /package/dist/{chunk-6R5CAYBA.js.map → chunk-T6O3MFM4.js.map} +0 -0
- /package/dist/{http-4Q64Q6YS.js.map → http-GHK5JKGG.js.map} +0 -0
- /package/dist/{http-V7BFJTGX.js.map → http-SWK5U3S4.js.map} +0 -0
- /package/dist/{replay-SE722WH5.js.map → replay-BN4FM6MX.js.map} +0 -0
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
serializeValue,
|
|
18
18
|
toJsonSafe,
|
|
19
19
|
toJsonSafeReport
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-T6O3MFM4.js";
|
|
21
21
|
import {
|
|
22
22
|
BitfabError,
|
|
23
23
|
CONTENT_OFF_KEY,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
readEnv,
|
|
37
37
|
recordCallerTraceMetadata,
|
|
38
38
|
retireTraceMetadata
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-DRRJRCVG.js";
|
|
40
40
|
import {
|
|
41
41
|
__privateAdd,
|
|
42
42
|
__privateGet,
|
|
@@ -1473,6 +1473,14 @@ var GradersClient = class {
|
|
|
1473
1473
|
);
|
|
1474
1474
|
return response.labels;
|
|
1475
1475
|
}
|
|
1476
|
+
async saveLabel(update) {
|
|
1477
|
+
const [outcome] = await this.saveLabelAll([update]);
|
|
1478
|
+
return outcome;
|
|
1479
|
+
}
|
|
1480
|
+
async saveLabelAll(updates) {
|
|
1481
|
+
const response = await this.httpClient.request(GRADER_LABELS_PATH, { labels: updates });
|
|
1482
|
+
return response.labels;
|
|
1483
|
+
}
|
|
1476
1484
|
};
|
|
1477
1485
|
|
|
1478
1486
|
// src/labels.ts
|
|
@@ -6166,7 +6174,7 @@ var Bitfab = class {
|
|
|
6166
6174
|
await runWithSeedContext({ traceId }, async () => target(...args));
|
|
6167
6175
|
} finally {
|
|
6168
6176
|
try {
|
|
6169
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
6177
|
+
const { flushTraces: flushTraces2 } = await import("./http-SWK5U3S4.js");
|
|
6170
6178
|
await flushTraces2(3e4);
|
|
6171
6179
|
} finally {
|
|
6172
6180
|
unrecorded = activeTraceStates.delete(traceId);
|
|
@@ -6225,7 +6233,7 @@ var Bitfab = class {
|
|
|
6225
6233
|
`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.`
|
|
6226
6234
|
);
|
|
6227
6235
|
}
|
|
6228
|
-
const { replay: doReplay } = await import("./replay-
|
|
6236
|
+
const { replay: doReplay } = await import("./replay-BN4FM6MX.js");
|
|
6229
6237
|
return doReplay(
|
|
6230
6238
|
this.httpClient,
|
|
6231
6239
|
this.serviceUrl,
|
|
@@ -6545,7 +6553,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
|
|
|
6545
6553
|
sessionId: seedCase.sessionId
|
|
6546
6554
|
})
|
|
6547
6555
|
);
|
|
6548
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
6556
|
+
const { flushTraces: flushTraces2 } = await import("./http-SWK5U3S4.js");
|
|
6549
6557
|
await flushTraces2(3e4);
|
|
6550
6558
|
return { pipeline, traceFunctionKey, traceIds };
|
|
6551
6559
|
}
|
|
@@ -6589,4 +6597,4 @@ export {
|
|
|
6589
6597
|
reseedFromRegistry,
|
|
6590
6598
|
seedFromRegistry
|
|
6591
6599
|
};
|
|
6592
|
-
//# sourceMappingURL=chunk-
|
|
6600
|
+
//# sourceMappingURL=chunk-BPOAXWVS.js.map
|