bitfab 0.62.2 → 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.
@@ -6,7 +6,7 @@ import {
6
6
  replayContextReady,
7
7
  runWithReplayContext,
8
8
  unrefTimer
9
- } from "./chunk-Q53HNU3K.js";
9
+ } from "./chunk-DRRJRCVG.js";
10
10
  import {
11
11
  runWithCaptureSuppressed,
12
12
  warnOnce
@@ -1865,4 +1865,4 @@ export {
1865
1865
  sleepForReplayPersistence,
1866
1866
  replay
1867
1867
  };
1868
- //# sourceMappingURL=chunk-RIYIEUW4.js.map
1868
+ //# sourceMappingURL=chunk-T6O3MFM4.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BitfabError
3
- } from "./chunk-CCR7VOXC.js";
3
+ } from "./chunk-E2QXILJI.js";
4
4
 
5
5
  // src/codeChange.ts
6
6
  var NUL = String.fromCharCode(0);
@@ -275,7 +275,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
275
275
  sessionId: seedCase.sessionId
276
276
  })
277
277
  );
278
- const { flushTraces: flushTraces2 } = await import("./http-EVGEAKX2.js");
278
+ const { flushTraces: flushTraces2 } = await import("./http-GHK5JKGG.js");
279
279
  await flushTraces2(3e4);
280
280
  return { pipeline, traceFunctionKey, traceIds };
281
281
  }
@@ -902,4 +902,4 @@ export {
902
902
  runRegistryMain,
903
903
  runIfEntrypoint
904
904
  };
905
- //# sourceMappingURL=chunk-54YGZ2J6.js.map
905
+ //# sourceMappingURL=chunk-YKLSCOBE.js.map
@@ -7,7 +7,7 @@ import {
7
7
  flushTraces,
8
8
  parseRetryAfterMs,
9
9
  serializePayloadBody
10
- } from "./chunk-CCR7VOXC.js";
10
+ } from "./chunk-E2QXILJI.js";
11
11
  export {
12
12
  BitfabError,
13
13
  HttpClient,
@@ -18,4 +18,4 @@ export {
18
18
  parseRetryAfterMs,
19
19
  serializePayloadBody
20
20
  };
21
- //# sourceMappingURL=http-EVGEAKX2.js.map
21
+ //# sourceMappingURL=http-GHK5JKGG.js.map
@@ -7,7 +7,7 @@ import {
7
7
  flushTraces,
8
8
  parseRetryAfterMs,
9
9
  serializePayloadBody
10
- } from "./chunk-Q53HNU3K.js";
10
+ } from "./chunk-DRRJRCVG.js";
11
11
  import "./chunk-BAOIRE5T.js";
12
12
  export {
13
13
  BitfabError,
@@ -19,4 +19,4 @@ export {
19
19
  parseRetryAfterMs,
20
20
  serializePayloadBody
21
21
  };
22
- //# sourceMappingURL=http-BMF67MZ2.js.map
22
+ //# sourceMappingURL=http-SWK5U3S4.js.map
package/dist/index.cjs CHANGED
@@ -51,7 +51,7 @@ var __version__, __packageName__;
51
51
  var init_version_generated = __esm({
52
52
  "src/version.generated.ts"() {
53
53
  "use strict";
54
- __version__ = "0.62.2";
54
+ __version__ = "0.62.3";
55
55
  __packageName__ = "bitfab";
56
56
  }
57
57
  });
@@ -6775,6 +6775,14 @@ var GradersClient = class {
6775
6775
  );
6776
6776
  return response.labels;
6777
6777
  }
6778
+ async saveLabel(update) {
6779
+ const [outcome] = await this.saveLabelAll([update]);
6780
+ return outcome;
6781
+ }
6782
+ async saveLabelAll(updates) {
6783
+ const response = await this.httpClient.request(GRADER_LABELS_PATH, { labels: updates });
6784
+ return response.labels;
6785
+ }
6778
6786
  };
6779
6787
 
6780
6788
  // src/client.ts