@bitfab/sdk 0.64.13 → 0.64.14
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-NEQA2IBO.js → chunk-2EWCNKQL.js} +3 -3
- package/dist/{chunk-YOM2DADY.js → chunk-A7NX4OKG.js} +8 -2
- package/dist/{chunk-YOM2DADY.js.map → chunk-A7NX4OKG.js.map} +1 -1
- package/dist/{chunk-42RXX24H.js → chunk-F5ZFL5W6.js} +12 -6
- package/dist/{chunk-42RXX24H.js.map → chunk-F5ZFL5W6.js.map} +1 -1
- package/dist/{chunk-JN3C4PIV.js → chunk-GURR5AWG.js} +8 -2
- package/dist/{chunk-JN3C4PIV.js.map → chunk-GURR5AWG.js.map} +1 -1
- package/dist/{chunk-QCPTN2U6.js → chunk-PXNFY22G.js} +2 -2
- package/dist/{http-4DPVYNI3.js → http-C44ETCJK.js} +2 -2
- package/dist/{http-IFJ4TUVR.js → http-QX6O4EDS.js} +2 -2
- package/dist/index.cjs +13 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -3
- package/dist/node.cjs +13 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-TAZXZYWL.js → replay-MFZF4SY7.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-NEQA2IBO.js.map → chunk-2EWCNKQL.js.map} +0 -0
- /package/dist/{chunk-QCPTN2U6.js.map → chunk-PXNFY22G.js.map} +0 -0
- /package/dist/{http-4DPVYNI3.js.map → http-C44ETCJK.js.map} +0 -0
- /package/dist/{http-IFJ4TUVR.js.map → http-QX6O4EDS.js.map} +0 -0
- /package/dist/{replay-TAZXZYWL.js.map → replay-MFZF4SY7.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
BitfabError,
|
|
3
3
|
warnOnce,
|
|
4
4
|
writeOnce
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GURR5AWG.js";
|
|
6
6
|
|
|
7
7
|
// src/codeChange.ts
|
|
8
8
|
var NUL = String.fromCharCode(0);
|
|
@@ -348,7 +348,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
|
|
|
348
348
|
sessionId: seedCase.sessionId
|
|
349
349
|
})
|
|
350
350
|
);
|
|
351
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
351
|
+
const { flushTraces: flushTraces2 } = await import("./http-C44ETCJK.js");
|
|
352
352
|
await flushTraces2(3e4);
|
|
353
353
|
return { pipeline, traceFunctionKey, traceIds };
|
|
354
354
|
}
|
|
@@ -1042,4 +1042,4 @@ export {
|
|
|
1042
1042
|
runRegistryMain,
|
|
1043
1043
|
runIfEntrypoint
|
|
1044
1044
|
};
|
|
1045
|
-
//# sourceMappingURL=chunk-
|
|
1045
|
+
//# sourceMappingURL=chunk-2EWCNKQL.js.map
|
|
@@ -189,7 +189,7 @@ function encodeRequestBody(body) {
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
// src/version.generated.ts
|
|
192
|
-
var __version__ = "0.64.
|
|
192
|
+
var __version__ = "0.64.14";
|
|
193
193
|
var __packageName__ = "@bitfab/sdk";
|
|
194
194
|
|
|
195
195
|
// src/constants.ts
|
|
@@ -2457,6 +2457,12 @@ var HttpClient = class {
|
|
|
2457
2457
|
const response = await this.get(endpoint);
|
|
2458
2458
|
return response.span;
|
|
2459
2459
|
}
|
|
2460
|
+
async getSpan(spanId) {
|
|
2461
|
+
const response = await this.get(
|
|
2462
|
+
`/api/sdk/spans/${encodeURIComponent(spanId)}`
|
|
2463
|
+
);
|
|
2464
|
+
return response.span;
|
|
2465
|
+
}
|
|
2460
2466
|
/**
|
|
2461
2467
|
* GET a JSON endpoint on the service with the client's API key. Throws a
|
|
2462
2468
|
* `BitfabError` carrying the status text for any non-2xx response.
|
|
@@ -2953,4 +2959,4 @@ export {
|
|
|
2953
2959
|
HttpClient,
|
|
2954
2960
|
experimentIdWireFields
|
|
2955
2961
|
};
|
|
2956
|
-
//# sourceMappingURL=chunk-
|
|
2962
|
+
//# sourceMappingURL=chunk-A7NX4OKG.js.map
|