bitfab 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/index.cjs CHANGED
@@ -51,7 +51,7 @@ var __version__, __packageName__;
51
51
  var init_version_generated = __esm({
52
52
  "src/version.generated.ts"() {
53
53
  "use strict";
54
- __version__ = "0.38.2";
54
+ __version__ = "0.38.3";
55
55
  __packageName__ = "bitfab";
56
56
  }
57
57
  });
@@ -2813,6 +2813,11 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
2813
2813
  );
2814
2814
  }
2815
2815
  }
2816
+ if (options?.traceIds !== void 0 && options?.datasetId !== void 0) {
2817
+ throw new BitfabError(
2818
+ "traceIds and datasetId select different replay sources and cannot be used together."
2819
+ );
2820
+ }
2816
2821
  if (options?.limit !== void 0 && options?.traceIds !== void 0) {
2817
2822
  try {
2818
2823
  console.warn(
@@ -3140,6 +3145,7 @@ __export(index_exports, {
3140
3145
  ReplayError: () => ReplayError,
3141
3146
  SUPPORTED_PROVIDERS: () => SUPPORTED_PROVIDERS,
3142
3147
  __version__: () => __version__,
3148
+ defineReplayRegistry: () => defineReplayRegistry,
3143
3149
  finalizers: () => finalizers,
3144
3150
  flushTraces: () => flushTraces,
3145
3151
  getCurrentReplayBranch: () => getCurrentReplayBranch,
@@ -7072,6 +7078,13 @@ var finalizers = {
7072
7078
  // src/index.ts
7073
7079
  init_http();
7074
7080
  init_replay();
7081
+
7082
+ // src/replayRegistry.ts
7083
+ init_errors();
7084
+ init_replay();
7085
+ function defineReplayRegistry(registry) {
7086
+ return registry;
7087
+ }
7075
7088
  // Annotate the CommonJS export names for ESM import in node:
7076
7089
  0 && (module.exports = {
7077
7090
  BITFAB_PROGRESS_PREFIX,
@@ -7090,6 +7103,7 @@ init_replay();
7090
7103
  ReplayError,
7091
7104
  SUPPORTED_PROVIDERS,
7092
7105
  __version__,
7106
+ defineReplayRegistry,
7093
7107
  finalizers,
7094
7108
  flushTraces,
7095
7109
  getCurrentReplayBranch,