bitfab 0.64.10 → 0.64.11
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-BP5HTMT2.js → chunk-53EQU3W4.js} +3 -3
- package/dist/{chunk-OJLA3ZGO.js → chunk-GW5KDJ37.js} +2 -2
- package/dist/{chunk-3G5TGJVI.js → chunk-HCF2V7E3.js} +6 -6
- package/dist/{chunk-53N2D4P6.js → chunk-QJHUBF53.js} +6 -2
- package/dist/chunk-QJHUBF53.js.map +1 -0
- package/dist/{chunk-Z5VGFZEI.js → chunk-UB73AAPY.js} +6 -2
- package/dist/chunk-UB73AAPY.js.map +1 -0
- package/dist/{http-CPFMKG3D.js → http-DBNONNKV.js} +2 -2
- package/dist/{http-HN5UCYKN.js → http-RJ4DUQ7X.js} +2 -2
- package/dist/index.cjs +6 -2
- 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 +6 -2
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-Q4BUGL3T.js → replay-3AIPQERK.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-53N2D4P6.js.map +0 -1
- package/dist/chunk-Z5VGFZEI.js.map +0 -1
- /package/dist/{chunk-BP5HTMT2.js.map → chunk-53EQU3W4.js.map} +0 -0
- /package/dist/{chunk-OJLA3ZGO.js.map → chunk-GW5KDJ37.js.map} +0 -0
- /package/dist/{chunk-3G5TGJVI.js.map → chunk-HCF2V7E3.js.map} +0 -0
- /package/dist/{http-CPFMKG3D.js.map → http-DBNONNKV.js.map} +0 -0
- /package/dist/{http-HN5UCYKN.js.map → http-RJ4DUQ7X.js.map} +0 -0
- /package/dist/{replay-Q4BUGL3T.js.map → replay-3AIPQERK.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
BitfabError,
|
|
3
3
|
warnOnce,
|
|
4
4
|
writeOnce
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QJHUBF53.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-RJ4DUQ7X.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-53EQU3W4.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
replayContextReady,
|
|
9
9
|
runWithReplayContext,
|
|
10
10
|
unrefTimer
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UB73AAPY.js";
|
|
12
12
|
import {
|
|
13
13
|
runWithCaptureSuppressed,
|
|
14
14
|
warnOnce,
|
|
@@ -2031,4 +2031,4 @@ export {
|
|
|
2031
2031
|
warnJudgeAssertionsDeprecated,
|
|
2032
2032
|
replay
|
|
2033
2033
|
};
|
|
2034
|
-
//# sourceMappingURL=chunk-
|
|
2034
|
+
//# sourceMappingURL=chunk-GW5KDJ37.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
serializeValue,
|
|
18
18
|
toJsonSafe,
|
|
19
19
|
toJsonSafeReport
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GW5KDJ37.js";
|
|
21
21
|
import {
|
|
22
22
|
BitfabError,
|
|
23
23
|
CONTENT_OFF_KEY,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
readEnv,
|
|
37
37
|
recordCallerTraceMetadata,
|
|
38
38
|
retireTraceMetadata
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-UB73AAPY.js";
|
|
40
40
|
import {
|
|
41
41
|
__privateAdd,
|
|
42
42
|
__privateGet,
|
|
@@ -6277,7 +6277,7 @@ var Bitfab = class {
|
|
|
6277
6277
|
await runWithSeedContext({ traceId }, async () => target(...args));
|
|
6278
6278
|
} finally {
|
|
6279
6279
|
try {
|
|
6280
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
6280
|
+
const { flushTraces: flushTraces2 } = await import("./http-DBNONNKV.js");
|
|
6281
6281
|
await flushTraces2(3e4);
|
|
6282
6282
|
} finally {
|
|
6283
6283
|
unrecorded = activeTraceStates.delete(traceId);
|
|
@@ -6336,7 +6336,7 @@ var Bitfab = class {
|
|
|
6336
6336
|
`Function is wrapped with trace function key '${wrappedKey}' but replay was called with '${traceFunctionKey}'. Pass matching keys, or pass the unwrapped function to replay it under the explicit key.`
|
|
6337
6337
|
);
|
|
6338
6338
|
}
|
|
6339
|
-
const { replay: doReplay } = await import("./replay-
|
|
6339
|
+
const { replay: doReplay } = await import("./replay-3AIPQERK.js");
|
|
6340
6340
|
return doReplay(
|
|
6341
6341
|
this.httpClient,
|
|
6342
6342
|
this.serviceUrl,
|
|
@@ -6682,7 +6682,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
|
|
|
6682
6682
|
sessionId: seedCase.sessionId
|
|
6683
6683
|
})
|
|
6684
6684
|
);
|
|
6685
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
6685
|
+
const { flushTraces: flushTraces2 } = await import("./http-DBNONNKV.js");
|
|
6686
6686
|
await flushTraces2(3e4);
|
|
6687
6687
|
return { pipeline, traceFunctionKey, traceIds };
|
|
6688
6688
|
}
|
|
@@ -6727,4 +6727,4 @@ export {
|
|
|
6727
6727
|
reseedFromRegistry,
|
|
6728
6728
|
seedFromRegistry
|
|
6729
6729
|
};
|
|
6730
|
-
//# sourceMappingURL=chunk-
|
|
6730
|
+
//# sourceMappingURL=chunk-HCF2V7E3.js.map
|
|
@@ -181,7 +181,7 @@ function encodeRequestBody(body) {
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
// src/version.generated.ts
|
|
184
|
-
var __version__ = "0.64.
|
|
184
|
+
var __version__ = "0.64.11";
|
|
185
185
|
var __packageName__ = "bitfab";
|
|
186
186
|
|
|
187
187
|
// src/errors.ts
|
|
@@ -731,6 +731,7 @@ var FRAMEWORK_INSTRUMENTATION_SET = new Set(
|
|
|
731
731
|
|
|
732
732
|
// src/simulationPlan.ts
|
|
733
733
|
var SIMULATION_PLAN_READ_TIMEOUT_MS = 5e3;
|
|
734
|
+
var NO_API_KEY_FOR_SIMULATION_PLAN = "no API key is set";
|
|
734
735
|
var ROOT_TRACE_FUNCTION_KEY_FIELD = "rootTraceFunctionKey";
|
|
735
736
|
var DECLARED_NODE_FIELD = "declaredNode";
|
|
736
737
|
function planWaitSliceMs(timeoutMs) {
|
|
@@ -2007,6 +2008,9 @@ var HttpClient = class {
|
|
|
2007
2008
|
return this.request("/api/sdk/functions/lookup", { name });
|
|
2008
2009
|
}
|
|
2009
2010
|
async getSimulationPlan() {
|
|
2011
|
+
if (!this.hasApiKey()) {
|
|
2012
|
+
throw new BitfabError(NO_API_KEY_FOR_SIMULATION_PLAN);
|
|
2013
|
+
}
|
|
2010
2014
|
return this.get(
|
|
2011
2015
|
"/api/sdk/sim-plan",
|
|
2012
2016
|
SIMULATION_PLAN_READ_TIMEOUT_MS
|
|
@@ -2503,4 +2507,4 @@ export {
|
|
|
2503
2507
|
HttpClient,
|
|
2504
2508
|
experimentIdWireFields
|
|
2505
2509
|
};
|
|
2506
|
-
//# sourceMappingURL=chunk-
|
|
2510
|
+
//# sourceMappingURL=chunk-QJHUBF53.js.map
|