@bitfab/sdk 0.64.10 → 0.64.12
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-NZ4YMQIR.js → chunk-5QG5ZNU6.js} +6 -6
- package/dist/chunk-5QG5ZNU6.js.map +1 -0
- package/dist/{chunk-W5QELTYT.js → chunk-6D6TGYH4.js} +6 -2
- package/dist/chunk-6D6TGYH4.js.map +1 -0
- package/dist/{chunk-B746E3LG.js → chunk-JAD7I5FM.js} +6 -2
- package/dist/chunk-JAD7I5FM.js.map +1 -0
- package/dist/{chunk-NTHYSRAJ.js → chunk-N5S3P2Y5.js} +2 -2
- package/dist/{chunk-JCNEARQR.js → chunk-NEX6Z66E.js} +3 -3
- package/dist/{http-M2EMVMGK.js → http-STSTJGRH.js} +2 -2
- package/dist/{http-XKHX6TWT.js → http-UMVAAJ63.js} +2 -2
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -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-EL43CBHK.js → replay-T7372IR3.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-B746E3LG.js.map +0 -1
- package/dist/chunk-NZ4YMQIR.js.map +0 -1
- package/dist/chunk-W5QELTYT.js.map +0 -1
- /package/dist/{chunk-NTHYSRAJ.js.map → chunk-N5S3P2Y5.js.map} +0 -0
- /package/dist/{chunk-JCNEARQR.js.map → chunk-NEX6Z66E.js.map} +0 -0
- /package/dist/{http-M2EMVMGK.js.map → http-STSTJGRH.js.map} +0 -0
- /package/dist/{http-XKHX6TWT.js.map → http-UMVAAJ63.js.map} +0 -0
- /package/dist/{replay-EL43CBHK.js.map → replay-T7372IR3.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1486,6 +1486,7 @@ type ExperimentTotals = {
|
|
|
1486
1486
|
errored: number;
|
|
1487
1487
|
withErrors: number;
|
|
1488
1488
|
ungradable: number;
|
|
1489
|
+
judging: number;
|
|
1489
1490
|
skipped: number;
|
|
1490
1491
|
};
|
|
1491
1492
|
type ExperimentCategoryTally = {
|
|
@@ -3995,7 +3996,7 @@ interface CommitRef {
|
|
|
3995
3996
|
/**
|
|
3996
3997
|
* SDK version from package.json (injected at build time)
|
|
3997
3998
|
*/
|
|
3998
|
-
declare const __version__ = "0.64.
|
|
3999
|
+
declare const __version__ = "0.64.12";
|
|
3999
4000
|
|
|
4000
4001
|
/**
|
|
4001
4002
|
* Constants for the Bitfab SDK.
|
package/dist/index.d.ts
CHANGED
|
@@ -1486,6 +1486,7 @@ type ExperimentTotals = {
|
|
|
1486
1486
|
errored: number;
|
|
1487
1487
|
withErrors: number;
|
|
1488
1488
|
ungradable: number;
|
|
1489
|
+
judging: number;
|
|
1489
1490
|
skipped: number;
|
|
1490
1491
|
};
|
|
1491
1492
|
type ExperimentCategoryTally = {
|
|
@@ -3995,7 +3996,7 @@ interface CommitRef {
|
|
|
3995
3996
|
/**
|
|
3996
3997
|
* SDK version from package.json (injected at build time)
|
|
3997
3998
|
*/
|
|
3998
|
-
declare const __version__ = "0.64.
|
|
3999
|
+
declare const __version__ = "0.64.12";
|
|
3999
4000
|
|
|
4000
4001
|
/**
|
|
4001
4002
|
* Constants for the Bitfab SDK.
|
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
getCurrentTrace,
|
|
28
28
|
reseedFromRegistry,
|
|
29
29
|
seedFromRegistry
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-5QG5ZNU6.js";
|
|
31
31
|
import "./chunk-YWXQM6J3.js";
|
|
32
32
|
import {
|
|
33
33
|
BITFAB_PROGRESS_PREFIX,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
ReplayError,
|
|
37
37
|
reportReplayProgress,
|
|
38
38
|
serializeReplayResult
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-N5S3P2Y5.js";
|
|
40
40
|
import {
|
|
41
41
|
BitfabError,
|
|
42
42
|
DEFAULT_SERVICE_URL,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
MixedTracingError,
|
|
45
45
|
__version__,
|
|
46
46
|
flushTraces
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-JAD7I5FM.js";
|
|
48
48
|
import "./chunk-MT36GJMW.js";
|
|
49
49
|
export {
|
|
50
50
|
AssertionCategoriesClient,
|
package/dist/node.cjs
CHANGED
|
@@ -88,7 +88,7 @@ var __version__, __packageName__;
|
|
|
88
88
|
var init_version_generated = __esm({
|
|
89
89
|
"src/version.generated.ts"() {
|
|
90
90
|
"use strict";
|
|
91
|
-
__version__ = "0.64.
|
|
91
|
+
__version__ = "0.64.12";
|
|
92
92
|
__packageName__ = "@bitfab/sdk";
|
|
93
93
|
}
|
|
94
94
|
});
|
|
@@ -1063,7 +1063,7 @@ function recordedError(payload) {
|
|
|
1063
1063
|
const error = spanDataOf(payload)?.error;
|
|
1064
1064
|
return error !== void 0 && error !== null;
|
|
1065
1065
|
}
|
|
1066
|
-
var SIMULATION_PLAN_REFRESH_MS, SIMULATION_PLAN_RETRY_MS, SIMULATION_PLAN_READ_TIMEOUT_MS, SIMULATION_PLAN_MAX_HELD, DISABLE_SIMULATION_PLAN_ENV, ROOT_TRACE_FUNCTION_KEY_FIELD, DECLARED_NODE_FIELD, CONTENT_OFF_KEY, CONTENT_KEYS, SimulationPlan;
|
|
1066
|
+
var SIMULATION_PLAN_REFRESH_MS, SIMULATION_PLAN_RETRY_MS, SIMULATION_PLAN_READ_TIMEOUT_MS, SIMULATION_PLAN_MAX_HELD, DISABLE_SIMULATION_PLAN_ENV, NO_API_KEY_FOR_SIMULATION_PLAN, ROOT_TRACE_FUNCTION_KEY_FIELD, DECLARED_NODE_FIELD, CONTENT_OFF_KEY, CONTENT_KEYS, SimulationPlan;
|
|
1067
1067
|
var init_simulationPlan = __esm({
|
|
1068
1068
|
"src/simulationPlan.ts"() {
|
|
1069
1069
|
"use strict";
|
|
@@ -1077,6 +1077,7 @@ var init_simulationPlan = __esm({
|
|
|
1077
1077
|
SIMULATION_PLAN_READ_TIMEOUT_MS = 5e3;
|
|
1078
1078
|
SIMULATION_PLAN_MAX_HELD = 1e3;
|
|
1079
1079
|
DISABLE_SIMULATION_PLAN_ENV = "BITFAB_DISABLE_SIM_PLAN";
|
|
1080
|
+
NO_API_KEY_FOR_SIMULATION_PLAN = "no API key is set";
|
|
1080
1081
|
ROOT_TRACE_FUNCTION_KEY_FIELD = "rootTraceFunctionKey";
|
|
1081
1082
|
DECLARED_NODE_FIELD = "declaredNode";
|
|
1082
1083
|
CONTENT_OFF_KEY = "content_off_by_simulation_plan";
|
|
@@ -2723,6 +2724,9 @@ var init_http = __esm({
|
|
|
2723
2724
|
return this.request("/api/sdk/functions/lookup", { name });
|
|
2724
2725
|
}
|
|
2725
2726
|
async getSimulationPlan() {
|
|
2727
|
+
if (!this.hasApiKey()) {
|
|
2728
|
+
throw new BitfabError(NO_API_KEY_FOR_SIMULATION_PLAN);
|
|
2729
|
+
}
|
|
2726
2730
|
return this.get(
|
|
2727
2731
|
"/api/sdk/sim-plan",
|
|
2728
2732
|
SIMULATION_PLAN_READ_TIMEOUT_MS
|