bitfab 0.58.0 → 0.58.2

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.
Files changed (31) hide show
  1. package/dist/{chunk-RLBJUZDC.js → chunk-5JYY2MMV.js} +24 -6
  2. package/dist/chunk-5JYY2MMV.js.map +1 -0
  3. package/dist/{chunk-D6WGJZWM.js → chunk-LZN66ADL.js} +3 -3
  4. package/dist/{chunk-D6WGJZWM.js.map → chunk-LZN66ADL.js.map} +1 -1
  5. package/dist/{chunk-SKOFROXF.js → chunk-PHYROCVC.js} +3 -3
  6. package/dist/{chunk-SKOFROXF.js.map → chunk-PHYROCVC.js.map} +1 -1
  7. package/dist/{chunk-3GFX56CU.js → chunk-Q4UM7ILD.js} +2 -2
  8. package/dist/{chunk-BU5DXLSB.js → chunk-TTVWUP6D.js} +3 -3
  9. package/dist/{http-QLUKFCM5.js → http-MBEZN2GX.js} +2 -2
  10. package/dist/{http-M46BKIVV.js → http-T3PDEXD6.js} +2 -2
  11. package/dist/index.cjs +21 -2
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.d.cts +30 -2
  14. package/dist/index.d.ts +30 -2
  15. package/dist/index.js +5 -3
  16. package/dist/node.cjs +21 -2
  17. package/dist/node.cjs.map +1 -1
  18. package/dist/node.d.cts +1 -1
  19. package/dist/node.d.ts +1 -1
  20. package/dist/node.js +5 -3
  21. package/dist/node.js.map +1 -1
  22. package/dist/{replay-BUVA7EM5.js → replay-KVUPPFKI.js} +3 -3
  23. package/dist/replayCli.js +2 -2
  24. package/dist/seedCli.js +2 -2
  25. package/package.json +1 -1
  26. package/dist/chunk-RLBJUZDC.js.map +0 -1
  27. /package/dist/{chunk-3GFX56CU.js.map → chunk-Q4UM7ILD.js.map} +0 -0
  28. /package/dist/{chunk-BU5DXLSB.js.map → chunk-TTVWUP6D.js.map} +0 -0
  29. /package/dist/{http-M46BKIVV.js.map → http-MBEZN2GX.js.map} +0 -0
  30. /package/dist/{http-QLUKFCM5.js.map → http-T3PDEXD6.js.map} +0 -0
  31. /package/dist/{replay-BUVA7EM5.js.map → replay-KVUPPFKI.js.map} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  replayContextReady,
7
7
  runWithReplayContext,
8
8
  warnOnce
9
- } from "./chunk-D6WGJZWM.js";
9
+ } from "./chunk-LZN66ADL.js";
10
10
  import {
11
11
  runWithCaptureSuppressed
12
12
  } from "./chunk-VCRFFCLY.js";
@@ -1263,4 +1263,4 @@ export {
1263
1263
  sleepForReplayPersistence,
1264
1264
  replay
1265
1265
  };
1266
- //# sourceMappingURL=chunk-3GFX56CU.js.map
1266
+ //# sourceMappingURL=chunk-Q4UM7ILD.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BitfabError
3
- } from "./chunk-SKOFROXF.js";
3
+ } from "./chunk-PHYROCVC.js";
4
4
 
5
5
  // src/codeChange.ts
6
6
  var NUL = String.fromCharCode(0);
@@ -234,7 +234,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
234
234
  sessionId: seedCase.sessionId
235
235
  })
236
236
  );
237
- const { flushTraces: flushTraces2 } = await import("./http-QLUKFCM5.js");
237
+ const { flushTraces: flushTraces2 } = await import("./http-MBEZN2GX.js");
238
238
  await flushTraces2(3e4);
239
239
  return { pipeline, traceFunctionKey, traceIds };
240
240
  }
@@ -782,4 +782,4 @@ export {
782
782
  runRegistryMain,
783
783
  runIfEntrypoint
784
784
  };
785
- //# sourceMappingURL=chunk-BU5DXLSB.js.map
785
+ //# sourceMappingURL=chunk-TTVWUP6D.js.map
@@ -6,7 +6,7 @@ import {
6
6
  flushTraces,
7
7
  parseRetryAfterMs,
8
8
  serializePayloadBody
9
- } from "./chunk-SKOFROXF.js";
9
+ } from "./chunk-PHYROCVC.js";
10
10
  export {
11
11
  BitfabError,
12
12
  HttpClient,
@@ -16,4 +16,4 @@ export {
16
16
  parseRetryAfterMs,
17
17
  serializePayloadBody
18
18
  };
19
- //# sourceMappingURL=http-QLUKFCM5.js.map
19
+ //# sourceMappingURL=http-MBEZN2GX.js.map
@@ -6,7 +6,7 @@ import {
6
6
  flushTraces,
7
7
  parseRetryAfterMs,
8
8
  serializePayloadBody
9
- } from "./chunk-D6WGJZWM.js";
9
+ } from "./chunk-LZN66ADL.js";
10
10
  import "./chunk-VCRFFCLY.js";
11
11
  export {
12
12
  BitfabError,
@@ -17,4 +17,4 @@ export {
17
17
  parseRetryAfterMs,
18
18
  serializePayloadBody
19
19
  };
20
- //# sourceMappingURL=http-M46BKIVV.js.map
20
+ //# sourceMappingURL=http-T3PDEXD6.js.map
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.58.0";
54
+ __version__ = "0.58.2";
55
55
  __packageName__ = "bitfab";
56
56
  }
57
57
  });
@@ -1721,7 +1721,7 @@ var init_otel = __esm({
1721
1721
  EXPORT_CONCURRENCY_ENV = "BITFAB_OTEL_EXPORT_CONCURRENCY";
1722
1722
  MAX_QUEUE_SIZE = 16384;
1723
1723
  DIRECT_MAX_EXPORT_BATCH_SIZE = 512;
1724
- DIRECT_MAX_REQUEST_BATCH_SIZE = 128;
1724
+ DIRECT_MAX_REQUEST_BATCH_SIZE = 256;
1725
1725
  DEFAULT_EXPORT_CONCURRENCY = 32;
1726
1726
  MAX_EXPORT_CONCURRENCY = 64;
1727
1727
  SCHEDULE_DELAY_MILLIS = 5e3;
@@ -4415,6 +4415,7 @@ __export(index_exports, {
4415
4415
  LabelsClient: () => LabelsClient,
4416
4416
  MixedTracingError: () => MixedTracingError,
4417
4417
  NO_MOCK_OVERRIDE: () => NO_MOCK_OVERRIDE,
4418
+ OrganizationMembersClient: () => OrganizationMembersClient,
4418
4419
  ReplayError: () => ReplayError,
4419
4420
  SUPPORTED_PROVIDERS: () => SUPPORTED_PROVIDERS,
4420
4421
  TracesClient: () => TracesClient,
@@ -7118,6 +7119,22 @@ function openAiAgentsParentSpanId(bitfabTraceId, enclosingSpanIds) {
7118
7119
  return void 0;
7119
7120
  }
7120
7121
 
7122
+ // src/organizationMembers.ts
7123
+ var MEMBERS_PATH = "/api/sdk/organizationMembers";
7124
+ var OrganizationMembersClient = class {
7125
+ constructor(httpClient) {
7126
+ this.httpClient = httpClient;
7127
+ }
7128
+ /**
7129
+ * List the organization's members, ordered by name. Read it to find the
7130
+ * address to pass as an assertion's `assigneeEmail`.
7131
+ */
7132
+ async list() {
7133
+ const response = await this.httpClient.get(MEMBERS_PATH);
7134
+ return response.members;
7135
+ }
7136
+ };
7137
+
7121
7138
  // src/client.ts
7122
7139
  init_randomUuid();
7123
7140
  init_replay();
@@ -8783,6 +8800,7 @@ var Bitfab = class {
8783
8800
  }
8784
8801
  this.datasets = new DatasetsClient(this.httpClient);
8785
8802
  this.assertionCategories = new AssertionCategoriesClient(this.httpClient);
8803
+ this.organizationMembers = new OrganizationMembersClient(this.httpClient);
8786
8804
  this.traces = new TracesClient(this.httpClient);
8787
8805
  this.labels = new LabelsClient(this.httpClient);
8788
8806
  this.graders = new GradersClient(this.httpClient);
@@ -11023,6 +11041,7 @@ function resolveTraceFunctionKey(registration) {
11023
11041
  LabelsClient,
11024
11042
  MixedTracingError,
11025
11043
  NO_MOCK_OVERRIDE,
11044
+ OrganizationMembersClient,
11026
11045
  ReplayError,
11027
11046
  SUPPORTED_PROVIDERS,
11028
11047
  TracesClient,