@bitfab/sdk 0.45.0 → 0.47.0
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-H4WJUUZH.js → chunk-G52ZQTWU.js} +2 -2
- package/dist/{chunk-GN6E2IBU.js → chunk-LP2CN7SZ.js} +13 -13
- package/dist/chunk-LP2CN7SZ.js.map +1 -0
- package/dist/{chunk-SILI6DDS.js → chunk-RQEYVHGV.js} +2 -2
- package/dist/{chunk-SILI6DDS.js.map → chunk-RQEYVHGV.js.map} +1 -1
- package/dist/{chunk-TCOD5O2B.js → chunk-YKHZGYAC.js} +2 -2
- package/dist/{chunk-TCOD5O2B.js.map → chunk-YKHZGYAC.js.map} +1 -1
- package/dist/{http-QGTV3X7R.js → http-224ASOWH.js} +2 -2
- package/dist/{http-E7RYN3BX.js → http-BUAOWCLI.js} +2 -2
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -9
- package/dist/index.d.ts +7 -9
- package/dist/index.js +3 -3
- package/dist/node.cjs +8 -8
- 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-PQSTJRPU.js → replay-OONSKTLR.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-GN6E2IBU.js.map +0 -1
- /package/dist/{chunk-H4WJUUZH.js.map → chunk-G52ZQTWU.js.map} +0 -0
- /package/dist/{http-E7RYN3BX.js.map → http-224ASOWH.js.map} +0 -0
- /package/dist/{http-QGTV3X7R.js.map → http-BUAOWCLI.js.map} +0 -0
- /package/dist/{replay-PQSTJRPU.js.map → replay-OONSKTLR.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
flushTraces,
|
|
7
7
|
parseRetryAfterMs,
|
|
8
8
|
serializePayloadBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RQEYVHGV.js";
|
|
10
10
|
export {
|
|
11
11
|
BitfabError,
|
|
12
12
|
HttpClient,
|
|
@@ -16,4 +16,4 @@ export {
|
|
|
16
16
|
parseRetryAfterMs,
|
|
17
17
|
serializePayloadBody
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=http-
|
|
19
|
+
//# sourceMappingURL=http-224ASOWH.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
flushTraces,
|
|
7
7
|
parseRetryAfterMs,
|
|
8
8
|
serializePayloadBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YKHZGYAC.js";
|
|
10
10
|
import "./chunk-H6LZRFMN.js";
|
|
11
11
|
export {
|
|
12
12
|
BitfabError,
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
parseRetryAfterMs,
|
|
18
18
|
serializePayloadBody
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=http-
|
|
20
|
+
//# sourceMappingURL=http-BUAOWCLI.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.
|
|
45
|
+
__version__ = "0.47.0";
|
|
46
46
|
__packageName__ = "@bitfab/sdk";
|
|
47
47
|
}
|
|
48
48
|
});
|
|
@@ -4571,20 +4571,20 @@ var LabelsClient = class {
|
|
|
4571
4571
|
constructor(httpClient) {
|
|
4572
4572
|
this.httpClient = httpClient;
|
|
4573
4573
|
}
|
|
4574
|
-
async save(
|
|
4574
|
+
async save(update, testRunId) {
|
|
4575
|
+
const [outcome] = await this.saveAll([update], testRunId);
|
|
4576
|
+
return outcome;
|
|
4577
|
+
}
|
|
4578
|
+
async saveAll(updates, testRunId) {
|
|
4575
4579
|
const response = await this.httpClient.request(
|
|
4576
4580
|
LABELS_PATH,
|
|
4577
4581
|
{
|
|
4578
|
-
labels:
|
|
4579
|
-
...
|
|
4582
|
+
labels: updates,
|
|
4583
|
+
...testRunId === void 0 ? {} : { testRunId }
|
|
4580
4584
|
}
|
|
4581
4585
|
);
|
|
4582
4586
|
return response.labels;
|
|
4583
4587
|
}
|
|
4584
|
-
async saveOne(update, testRunId) {
|
|
4585
|
-
const [outcome] = await this.save({ labels: [update], testRunId });
|
|
4586
|
-
return outcome;
|
|
4587
|
-
}
|
|
4588
4588
|
};
|
|
4589
4589
|
|
|
4590
4590
|
// src/langgraph.ts
|