@bitfab/sdk 0.64.21 → 0.64.23
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/cloudReplay.py +339 -93
- package/dist/{chunk-K2JJOHUJ.js → chunk-A5DSCY6A.js} +2 -2
- package/dist/{chunk-K2JJOHUJ.js.map → chunk-A5DSCY6A.js.map} +1 -1
- package/dist/{chunk-GOUY4654.js → chunk-FWC3KDJ4.js} +6 -6
- package/dist/chunk-FWC3KDJ4.js.map +1 -0
- package/dist/{chunk-KB22OETK.js → chunk-KHA4A746.js} +2 -2
- package/dist/{chunk-EPUDNPB4.js → chunk-WMMHAWXS.js} +11 -6
- package/dist/chunk-WMMHAWXS.js.map +1 -0
- package/dist/{chunk-2NO2LENJ.js → chunk-WS7CB5H3.js} +2 -2
- package/dist/{chunk-XNETXRNK.js → chunk-ZNDFNAQD.js} +2 -2
- package/dist/{chunk-XNETXRNK.js.map → chunk-ZNDFNAQD.js.map} +1 -1
- package/dist/{http-OS6BKRZL.js → http-M6AWJWPW.js} +2 -2
- package/dist/{http-R5ZXASMI.js → http-PKBJRGNK.js} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/node.cjs +1 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-T4S4WIN5.js → replay-JAYRFN3X.js} +3 -3
- package/dist/{replay-PTPAO3KN.js → replay-OCHSU4JN.js} +3 -3
- package/dist/replayCli.js +3 -3
- package/dist/seedCli.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-EPUDNPB4.js.map +0 -1
- package/dist/chunk-GOUY4654.js.map +0 -1
- /package/dist/{chunk-KB22OETK.js.map → chunk-KHA4A746.js.map} +0 -0
- /package/dist/{chunk-2NO2LENJ.js.map → chunk-WS7CB5H3.js.map} +0 -0
- /package/dist/{http-OS6BKRZL.js.map → http-M6AWJWPW.js.map} +0 -0
- /package/dist/{http-R5ZXASMI.js.map → http-PKBJRGNK.js.map} +0 -0
- /package/dist/{replay-PTPAO3KN.js.map → replay-JAYRFN3X.js.map} +0 -0
- /package/dist/{replay-T4S4WIN5.js.map → replay-OCHSU4JN.js.map} +0 -0
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
unrefTimer,
|
|
10
10
|
warnOnce,
|
|
11
11
|
writeOnce
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-A5DSCY6A.js";
|
|
13
13
|
|
|
14
14
|
// src/codeChange.ts
|
|
15
15
|
var MAX_FILES = 60;
|
|
@@ -1902,4 +1902,4 @@ export {
|
|
|
1902
1902
|
warnJudgeAssertionsDeprecated,
|
|
1903
1903
|
replay
|
|
1904
1904
|
};
|
|
1905
|
-
//# sourceMappingURL=chunk-
|
|
1905
|
+
//# sourceMappingURL=chunk-KHA4A746.js.map
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
serializeReplayResult,
|
|
7
7
|
warnJudgeAssertionsDeprecated,
|
|
8
8
|
withCliFlags
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KHA4A746.js";
|
|
10
10
|
import {
|
|
11
11
|
BitfabError,
|
|
12
12
|
asyncStorageReady,
|
|
13
13
|
createAsyncLocalStorage,
|
|
14
14
|
warnOnce
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-A5DSCY6A.js";
|
|
16
16
|
|
|
17
17
|
// src/autoTrace.ts
|
|
18
18
|
var autoTraceGlobal = globalThis;
|
|
@@ -204,6 +204,9 @@ function _resolvedApiKey(client) {
|
|
|
204
204
|
const keyed = client;
|
|
205
205
|
return keyed.findApiKey(true) ?? null;
|
|
206
206
|
}
|
|
207
|
+
function _serviceUrl(client) {
|
|
208
|
+
return client.serviceUrl;
|
|
209
|
+
}
|
|
207
210
|
|
|
208
211
|
// src/replayRegistry.ts
|
|
209
212
|
var REGISTRATION_FIELDS = /* @__PURE__ */ new Set([
|
|
@@ -453,7 +456,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
|
|
|
453
456
|
sessionId: seedCase.sessionId
|
|
454
457
|
})
|
|
455
458
|
);
|
|
456
|
-
const { flushTraces } = await import("./http-
|
|
459
|
+
const { flushTraces } = await import("./http-M6AWJWPW.js");
|
|
457
460
|
await flushTraces(3e4);
|
|
458
461
|
return { pipeline, traceFunctionKey, traceIds };
|
|
459
462
|
}
|
|
@@ -900,8 +903,10 @@ async function runReplayCli(registry, argv = typeof process === "undefined" ? []
|
|
|
900
903
|
argv.filter((arg) => arg !== PRINT_API_KEY_FLAG)
|
|
901
904
|
);
|
|
902
905
|
if (printApiKey) {
|
|
903
|
-
const
|
|
904
|
-
|
|
906
|
+
const client = registry[args.pipeline].client;
|
|
907
|
+
const apiKey = _resolvedApiKey(client);
|
|
908
|
+
const serviceUrl = _serviceUrl(client);
|
|
909
|
+
stdout(`${API_KEY_LINE_PREFIX}${JSON.stringify({ apiKey, serviceUrl })}`);
|
|
905
910
|
return null;
|
|
906
911
|
}
|
|
907
912
|
if (args.judgeAssertionsFlag) {
|
|
@@ -1162,4 +1167,4 @@ export {
|
|
|
1162
1167
|
runRegistryMain,
|
|
1163
1168
|
runIfEntrypoint
|
|
1164
1169
|
};
|
|
1165
|
-
//# sourceMappingURL=chunk-
|
|
1170
|
+
//# sourceMappingURL=chunk-WMMHAWXS.js.map
|