@bitfab/sdk 0.38.2 → 0.38.3
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-CWXCVY75.js → chunk-RJPHMJWO.js} +10 -4
- package/dist/chunk-RJPHMJWO.js.map +1 -0
- package/dist/{chunk-SU7EAKOV.js → chunk-WX6AEFCP.js} +7 -2
- package/dist/{chunk-SU7EAKOV.js.map → chunk-WX6AEFCP.js.map} +1 -1
- package/dist/index.cjs +15 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -4
- package/dist/index.d.ts +40 -4
- package/dist/index.js +4 -2
- package/dist/node.cjs +15 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +4 -2
- package/dist/node.js.map +1 -1
- package/dist/{replay-A5UVFNZ3.js → replay-FAO7D7CG.js} +2 -2
- package/dist/replayCli.js +620 -0
- package/dist/replayCli.js.map +1 -0
- package/package.json +6 -2
- package/dist/chunk-CWXCVY75.js.map +0 -1
- /package/dist/{replay-A5UVFNZ3.js.map → replay-FAO7D7CG.js.map} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -42,7 +42,7 @@ var __version__, __packageName__;
|
|
|
42
42
|
var init_version_generated = __esm({
|
|
43
43
|
"src/version.generated.ts"() {
|
|
44
44
|
"use strict";
|
|
45
|
-
__version__ = "0.38.
|
|
45
|
+
__version__ = "0.38.3";
|
|
46
46
|
__packageName__ = "@bitfab/sdk";
|
|
47
47
|
}
|
|
48
48
|
});
|
|
@@ -2804,6 +2804,11 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
|
|
|
2804
2804
|
);
|
|
2805
2805
|
}
|
|
2806
2806
|
}
|
|
2807
|
+
if (options?.traceIds !== void 0 && options?.datasetId !== void 0) {
|
|
2808
|
+
throw new BitfabError(
|
|
2809
|
+
"traceIds and datasetId select different replay sources and cannot be used together."
|
|
2810
|
+
);
|
|
2811
|
+
}
|
|
2807
2812
|
if (options?.limit !== void 0 && options?.traceIds !== void 0) {
|
|
2808
2813
|
try {
|
|
2809
2814
|
console.warn(
|
|
@@ -3131,6 +3136,7 @@ __export(index_exports, {
|
|
|
3131
3136
|
ReplayError: () => ReplayError,
|
|
3132
3137
|
SUPPORTED_PROVIDERS: () => SUPPORTED_PROVIDERS,
|
|
3133
3138
|
__version__: () => __version__,
|
|
3139
|
+
defineReplayRegistry: () => defineReplayRegistry,
|
|
3134
3140
|
finalizers: () => finalizers,
|
|
3135
3141
|
flushTraces: () => flushTraces,
|
|
3136
3142
|
getCurrentReplayBranch: () => getCurrentReplayBranch,
|
|
@@ -7063,6 +7069,13 @@ var finalizers = {
|
|
|
7063
7069
|
// src/index.ts
|
|
7064
7070
|
init_http();
|
|
7065
7071
|
init_replay();
|
|
7072
|
+
|
|
7073
|
+
// src/replayRegistry.ts
|
|
7074
|
+
init_errors();
|
|
7075
|
+
init_replay();
|
|
7076
|
+
function defineReplayRegistry(registry) {
|
|
7077
|
+
return registry;
|
|
7078
|
+
}
|
|
7066
7079
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7067
7080
|
0 && (module.exports = {
|
|
7068
7081
|
BITFAB_PROGRESS_PREFIX,
|
|
@@ -7081,6 +7094,7 @@ init_replay();
|
|
|
7081
7094
|
ReplayError,
|
|
7082
7095
|
SUPPORTED_PROVIDERS,
|
|
7083
7096
|
__version__,
|
|
7097
|
+
defineReplayRegistry,
|
|
7084
7098
|
finalizers,
|
|
7085
7099
|
flushTraces,
|
|
7086
7100
|
getCurrentReplayBranch,
|