bitfab 0.64.16 → 0.64.18
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 +286 -24
- package/dist/{chunk-FCP5O32A.js → chunk-4AZHPORE.js} +11 -6
- package/dist/chunk-4AZHPORE.js.map +1 -0
- package/dist/chunk-FYRM6KRA.js +1905 -0
- package/dist/chunk-FYRM6KRA.js.map +1 -0
- package/dist/{chunk-QNKQCXBN.js → chunk-HYIDCLES.js} +2 -2
- package/dist/{chunk-ZBLESJIO.js → chunk-J76P75JP.js} +2 -2
- package/dist/{chunk-ZBLESJIO.js.map → chunk-J76P75JP.js.map} +1 -1
- package/dist/{chunk-P25SQKJ6.js → chunk-MFYWZFV6.js} +16 -2
- package/dist/{chunk-P25SQKJ6.js.map → chunk-MFYWZFV6.js.map} +1 -1
- package/dist/{chunk-XQVASY6X.js → chunk-N23USNUX.js} +204 -89
- package/dist/chunk-N23USNUX.js.map +1 -0
- package/dist/{http-UOFKNAXL.js → http-J7BSIXZV.js} +2 -2
- package/dist/{http-DJ43OYFJ.js → http-V3DB4PXL.js} +2 -2
- package/dist/index.cjs +6 -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 +6 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-IH6LQ5SC.js → replay-TF4ATVXC.js} +3 -3
- package/dist/replay-W6AODQF3.js +28 -0
- package/dist/replay-W6AODQF3.js.map +1 -0
- package/dist/replayCli.js +3 -2
- package/dist/replayCli.js.map +1 -1
- package/dist/seedCli.js +3 -2
- package/dist/seedCli.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-FCP5O32A.js.map +0 -1
- package/dist/chunk-XQVASY6X.js.map +0 -1
- /package/dist/{chunk-QNKQCXBN.js.map → chunk-HYIDCLES.js.map} +0 -0
- /package/dist/{http-DJ43OYFJ.js.map → http-J7BSIXZV.js.map} +0 -0
- /package/dist/{http-UOFKNAXL.js.map → http-V3DB4PXL.js.map} +0 -0
- /package/dist/{replay-IH6LQ5SC.js.map → replay-TF4ATVXC.js.map} +0 -0
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
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-4AZHPORE.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-HYIDCLES.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-J76P75JP.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.18";
|
|
101
101
|
__packageName__ = "bitfab";
|
|
102
102
|
}
|
|
103
103
|
});
|
|
@@ -9925,6 +9925,7 @@ function readEnv2(name) {
|
|
|
9925
9925
|
return void 0;
|
|
9926
9926
|
}
|
|
9927
9927
|
var CAPTURE_ENABLED_ENV = "BITFAB_CAPTURE_ENABLED";
|
|
9928
|
+
var REPLAY_API_KEY_ENV = "BITFAB_REPLAY_BITFAB_API_KEY";
|
|
9928
9929
|
var TRUE_ENV_VALUES = /* @__PURE__ */ new Set(["1", "true", "yes"]);
|
|
9929
9930
|
var FALSE_ENV_VALUES = /* @__PURE__ */ new Set(["0", "false", "no"]);
|
|
9930
9931
|
function readBooleanEnv(name) {
|
|
@@ -10439,6 +10440,10 @@ var Bitfab = class {
|
|
|
10439
10440
|
* early resolve that found nothing never poisons a later one.
|
|
10440
10441
|
*/
|
|
10441
10442
|
findApiKey(callsKeyFunction) {
|
|
10443
|
+
const replayKey = readEnv2(REPLAY_API_KEY_ENV);
|
|
10444
|
+
if (replayKey && replayKey.trim() !== "") {
|
|
10445
|
+
return replayKey;
|
|
10446
|
+
}
|
|
10442
10447
|
if (this.resolvedApiKey !== void 0) {
|
|
10443
10448
|
return this.resolvedApiKey;
|
|
10444
10449
|
}
|