@bitfab/sdk 0.62.2 → 0.62.4

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.
Files changed (32) hide show
  1. package/cloudReplay.py +1065 -0
  2. package/dist/{chunk-QKGU6NIO.js → chunk-5OCYY7L3.js} +2 -2
  3. package/dist/{chunk-QKGU6NIO.js.map → chunk-5OCYY7L3.js.map} +1 -1
  4. package/dist/{chunk-ZK5EMG4N.js → chunk-JJB7IIJ6.js} +14 -6
  5. package/dist/chunk-JJB7IIJ6.js.map +1 -0
  6. package/dist/{chunk-3X5GHT6A.js → chunk-ORLA7356.js} +2 -2
  7. package/dist/{chunk-3ROZF4U7.js → chunk-RWFSEGYV.js} +2 -2
  8. package/dist/{chunk-3ROZF4U7.js.map → chunk-RWFSEGYV.js.map} +1 -1
  9. package/dist/{chunk-SUUJEPBB.js → chunk-TUUW3GO7.js} +3 -3
  10. package/dist/{http-6UZAVHB3.js → http-76MIRRRJ.js} +2 -2
  11. package/dist/{http-77O2BMHW.js → http-GCA6TXVO.js} +2 -2
  12. package/dist/index.cjs +9 -1
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +19 -2
  15. package/dist/index.d.ts +19 -2
  16. package/dist/index.js +3 -3
  17. package/dist/node.cjs +9 -1
  18. package/dist/node.cjs.map +1 -1
  19. package/dist/node.d.cts +1 -1
  20. package/dist/node.d.ts +1 -1
  21. package/dist/node.js +3 -3
  22. package/dist/{replay-LZ3EMRND.js → replay-P5IXIFNC.js} +3 -3
  23. package/dist/replayCli.js +8 -23
  24. package/dist/replayCli.js.map +1 -1
  25. package/dist/seedCli.js +2 -2
  26. package/package.json +3 -2
  27. package/dist/chunk-ZK5EMG4N.js.map +0 -1
  28. /package/dist/{chunk-3X5GHT6A.js.map → chunk-ORLA7356.js.map} +0 -0
  29. /package/dist/{chunk-SUUJEPBB.js.map → chunk-TUUW3GO7.js.map} +0 -0
  30. /package/dist/{http-6UZAVHB3.js.map → http-76MIRRRJ.js.map} +0 -0
  31. /package/dist/{http-77O2BMHW.js.map → http-GCA6TXVO.js.map} +0 -0
  32. /package/dist/{replay-LZ3EMRND.js.map → replay-P5IXIFNC.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BitfabError
3
- } from "./chunk-3ROZF4U7.js";
3
+ } from "./chunk-RWFSEGYV.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-6UZAVHB3.js");
278
+ const { flushTraces: flushTraces2 } = await import("./http-76MIRRRJ.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-SUUJEPBB.js.map
905
+ //# sourceMappingURL=chunk-TUUW3GO7.js.map
@@ -7,7 +7,7 @@ import {
7
7
  flushTraces,
8
8
  parseRetryAfterMs,
9
9
  serializePayloadBody
10
- } from "./chunk-3ROZF4U7.js";
10
+ } from "./chunk-RWFSEGYV.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-6UZAVHB3.js.map
21
+ //# sourceMappingURL=http-76MIRRRJ.js.map
@@ -7,7 +7,7 @@ import {
7
7
  flushTraces,
8
8
  parseRetryAfterMs,
9
9
  serializePayloadBody
10
- } from "./chunk-QKGU6NIO.js";
10
+ } from "./chunk-5OCYY7L3.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-77O2BMHW.js.map
22
+ //# sourceMappingURL=http-GCA6TXVO.js.map
package/dist/index.cjs CHANGED
@@ -42,7 +42,7 @@ var __version__, __packageName__;
42
42
  var init_version_generated = __esm({
43
43
  "src/version.generated.ts"() {
44
44
  "use strict";
45
- __version__ = "0.62.2";
45
+ __version__ = "0.62.4";
46
46
  __packageName__ = "@bitfab/sdk";
47
47
  }
48
48
  });
@@ -6766,6 +6766,14 @@ var GradersClient = class {
6766
6766
  );
6767
6767
  return response.labels;
6768
6768
  }
6769
+ async saveLabel(update) {
6770
+ const [outcome] = await this.saveLabelAll([update]);
6771
+ return outcome;
6772
+ }
6773
+ async saveLabelAll(updates) {
6774
+ const response = await this.httpClient.request(GRADER_LABELS_PATH, { labels: updates });
6775
+ return response.labels;
6776
+ }
6769
6777
  };
6770
6778
 
6771
6779
  // src/client.ts