bitfab 0.64.9 → 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-7J3XIMC3.js → chunk-53EQU3W4.js} +3 -3
- package/dist/{chunk-L3LFRGPX.js → chunk-GW5KDJ37.js} +2 -2
- package/dist/{chunk-EJVBVUH4.js → chunk-HCF2V7E3.js} +6 -6
- package/dist/chunk-HCF2V7E3.js.map +1 -0
- package/dist/{chunk-NFMXJT4W.js → chunk-QJHUBF53.js} +6 -2
- package/dist/chunk-QJHUBF53.js.map +1 -0
- package/dist/{chunk-CPRLBQ2W.js → chunk-UB73AAPY.js} +6 -2
- package/dist/chunk-UB73AAPY.js.map +1 -0
- package/dist/{http-47AVLP6D.js → http-DBNONNKV.js} +2 -2
- package/dist/{http-UOFHA334.js → http-RJ4DUQ7X.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-WLGXE5GZ.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-CPRLBQ2W.js.map +0 -1
- package/dist/chunk-EJVBVUH4.js.map +0 -1
- package/dist/chunk-NFMXJT4W.js.map +0 -1
- /package/dist/{chunk-7J3XIMC3.js.map → chunk-53EQU3W4.js.map} +0 -0
- /package/dist/{chunk-L3LFRGPX.js.map → chunk-GW5KDJ37.js.map} +0 -0
- /package/dist/{http-47AVLP6D.js.map → http-DBNONNKV.js.map} +0 -0
- /package/dist/{http-UOFHA334.js.map → http-RJ4DUQ7X.js.map} +0 -0
- /package/dist/{replay-WLGXE5GZ.js.map → replay-3AIPQERK.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1478,6 +1478,7 @@ type ExperimentTally = {
|
|
|
1478
1478
|
};
|
|
1479
1479
|
type ExperimentTotals = {
|
|
1480
1480
|
total: number;
|
|
1481
|
+
traces: number;
|
|
1481
1482
|
succeeded: number;
|
|
1482
1483
|
failed: number;
|
|
1483
1484
|
pending: number;
|
|
@@ -3994,7 +3995,7 @@ interface CommitRef {
|
|
|
3994
3995
|
/**
|
|
3995
3996
|
* SDK version from package.json (injected at build time)
|
|
3996
3997
|
*/
|
|
3997
|
-
declare const __version__ = "0.64.
|
|
3998
|
+
declare const __version__ = "0.64.11";
|
|
3998
3999
|
|
|
3999
4000
|
/**
|
|
4000
4001
|
* Constants for the Bitfab SDK.
|
package/dist/index.d.ts
CHANGED
|
@@ -1478,6 +1478,7 @@ type ExperimentTally = {
|
|
|
1478
1478
|
};
|
|
1479
1479
|
type ExperimentTotals = {
|
|
1480
1480
|
total: number;
|
|
1481
|
+
traces: number;
|
|
1481
1482
|
succeeded: number;
|
|
1482
1483
|
failed: number;
|
|
1483
1484
|
pending: number;
|
|
@@ -3994,7 +3995,7 @@ interface CommitRef {
|
|
|
3994
3995
|
/**
|
|
3995
3996
|
* SDK version from package.json (injected at build time)
|
|
3996
3997
|
*/
|
|
3997
|
-
declare const __version__ = "0.64.
|
|
3998
|
+
declare const __version__ = "0.64.11";
|
|
3998
3999
|
|
|
3999
4000
|
/**
|
|
4000
4001
|
* Constants for the Bitfab SDK.
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
getCurrentTrace,
|
|
37
37
|
reseedFromRegistry,
|
|
38
38
|
seedFromRegistry
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-HCF2V7E3.js";
|
|
40
40
|
import "./chunk-YWXQM6J3.js";
|
|
41
41
|
import {
|
|
42
42
|
BITFAB_PROGRESS_PREFIX,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
ReplayError,
|
|
46
46
|
reportReplayProgress,
|
|
47
47
|
serializeReplayResult
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-GW5KDJ37.js";
|
|
49
49
|
import {
|
|
50
50
|
BitfabError,
|
|
51
51
|
DEFAULT_SERVICE_URL,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
MixedTracingError,
|
|
54
54
|
__version__,
|
|
55
55
|
flushTraces
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-UB73AAPY.js";
|
|
57
57
|
import "./chunk-MT36GJMW.js";
|
|
58
58
|
export {
|
|
59
59
|
AssertionCategoriesClient,
|
package/dist/node.cjs
CHANGED
|
@@ -97,7 +97,7 @@ var __version__, __packageName__;
|
|
|
97
97
|
var init_version_generated = __esm({
|
|
98
98
|
"src/version.generated.ts"() {
|
|
99
99
|
"use strict";
|
|
100
|
-
__version__ = "0.64.
|
|
100
|
+
__version__ = "0.64.11";
|
|
101
101
|
__packageName__ = "bitfab";
|
|
102
102
|
}
|
|
103
103
|
});
|
|
@@ -1072,7 +1072,7 @@ function recordedError(payload) {
|
|
|
1072
1072
|
const error = spanDataOf(payload)?.error;
|
|
1073
1073
|
return error !== void 0 && error !== null;
|
|
1074
1074
|
}
|
|
1075
|
-
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;
|
|
1075
|
+
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;
|
|
1076
1076
|
var init_simulationPlan = __esm({
|
|
1077
1077
|
"src/simulationPlan.ts"() {
|
|
1078
1078
|
"use strict";
|
|
@@ -1086,6 +1086,7 @@ var init_simulationPlan = __esm({
|
|
|
1086
1086
|
SIMULATION_PLAN_READ_TIMEOUT_MS = 5e3;
|
|
1087
1087
|
SIMULATION_PLAN_MAX_HELD = 1e3;
|
|
1088
1088
|
DISABLE_SIMULATION_PLAN_ENV = "BITFAB_DISABLE_SIM_PLAN";
|
|
1089
|
+
NO_API_KEY_FOR_SIMULATION_PLAN = "no API key is set";
|
|
1089
1090
|
ROOT_TRACE_FUNCTION_KEY_FIELD = "rootTraceFunctionKey";
|
|
1090
1091
|
DECLARED_NODE_FIELD = "declaredNode";
|
|
1091
1092
|
CONTENT_OFF_KEY = "content_off_by_simulation_plan";
|
|
@@ -2732,6 +2733,9 @@ var init_http = __esm({
|
|
|
2732
2733
|
return this.request("/api/sdk/functions/lookup", { name });
|
|
2733
2734
|
}
|
|
2734
2735
|
async getSimulationPlan() {
|
|
2736
|
+
if (!this.hasApiKey()) {
|
|
2737
|
+
throw new BitfabError(NO_API_KEY_FOR_SIMULATION_PLAN);
|
|
2738
|
+
}
|
|
2735
2739
|
return this.get(
|
|
2736
2740
|
"/api/sdk/sim-plan",
|
|
2737
2741
|
SIMULATION_PLAN_READ_TIMEOUT_MS
|