@bitfab/sdk 0.58.1 → 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-FJRILDSJ.js → chunk-FRAFDYLK.js} +3 -3
  2. package/dist/{chunk-SVTMTBTK.js → chunk-JMMFN4RO.js} +2 -2
  3. package/dist/{chunk-SVTMTBTK.js.map → chunk-JMMFN4RO.js.map} +1 -1
  4. package/dist/{chunk-HWRU7JIH.js → chunk-LS4AHYFJ.js} +24 -6
  5. package/dist/chunk-LS4AHYFJ.js.map +1 -0
  6. package/dist/{chunk-KTDGHM36.js → chunk-PR3I5UTO.js} +2 -2
  7. package/dist/{chunk-KTDGHM36.js.map → chunk-PR3I5UTO.js.map} +1 -1
  8. package/dist/{chunk-UFN6S5N4.js → chunk-QK6CVPVR.js} +2 -2
  9. package/dist/{http-TYON36K5.js → http-IEFEMFSD.js} +2 -2
  10. package/dist/{http-WVARIJG2.js → http-W3ZKRIWW.js} +2 -2
  11. package/dist/index.cjs +20 -1
  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 +20 -1
  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-WMDA3YG2.js → replay-NFSPHMXY.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-HWRU7JIH.js.map +0 -1
  27. /package/dist/{chunk-FJRILDSJ.js.map → chunk-FRAFDYLK.js.map} +0 -0
  28. /package/dist/{chunk-UFN6S5N4.js.map → chunk-QK6CVPVR.js.map} +0 -0
  29. /package/dist/{http-TYON36K5.js.map → http-IEFEMFSD.js.map} +0 -0
  30. /package/dist/{http-WVARIJG2.js.map → http-W3ZKRIWW.js.map} +0 -0
  31. /package/dist/{replay-WMDA3YG2.js.map → replay-NFSPHMXY.js.map} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  replayContextReady,
7
7
  runWithReplayContext,
8
8
  warnOnce
9
- } from "./chunk-KTDGHM36.js";
9
+ } from "./chunk-PR3I5UTO.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-UFN6S5N4.js.map
1266
+ //# sourceMappingURL=chunk-QK6CVPVR.js.map
@@ -6,7 +6,7 @@ import {
6
6
  flushTraces,
7
7
  parseRetryAfterMs,
8
8
  serializePayloadBody
9
- } from "./chunk-KTDGHM36.js";
9
+ } from "./chunk-PR3I5UTO.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-TYON36K5.js.map
20
+ //# sourceMappingURL=http-IEFEMFSD.js.map
@@ -6,7 +6,7 @@ import {
6
6
  flushTraces,
7
7
  parseRetryAfterMs,
8
8
  serializePayloadBody
9
- } from "./chunk-SVTMTBTK.js";
9
+ } from "./chunk-JMMFN4RO.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-WVARIJG2.js.map
19
+ //# sourceMappingURL=http-W3ZKRIWW.js.map
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.58.1";
45
+ __version__ = "0.58.2";
46
46
  __packageName__ = "@bitfab/sdk";
47
47
  }
48
48
  });
@@ -4406,6 +4406,7 @@ __export(index_exports, {
4406
4406
  LabelsClient: () => LabelsClient,
4407
4407
  MixedTracingError: () => MixedTracingError,
4408
4408
  NO_MOCK_OVERRIDE: () => NO_MOCK_OVERRIDE,
4409
+ OrganizationMembersClient: () => OrganizationMembersClient,
4409
4410
  ReplayError: () => ReplayError,
4410
4411
  SUPPORTED_PROVIDERS: () => SUPPORTED_PROVIDERS,
4411
4412
  TracesClient: () => TracesClient,
@@ -7109,6 +7110,22 @@ function openAiAgentsParentSpanId(bitfabTraceId, enclosingSpanIds) {
7109
7110
  return void 0;
7110
7111
  }
7111
7112
 
7113
+ // src/organizationMembers.ts
7114
+ var MEMBERS_PATH = "/api/sdk/organizationMembers";
7115
+ var OrganizationMembersClient = class {
7116
+ constructor(httpClient) {
7117
+ this.httpClient = httpClient;
7118
+ }
7119
+ /**
7120
+ * List the organization's members, ordered by name. Read it to find the
7121
+ * address to pass as an assertion's `assigneeEmail`.
7122
+ */
7123
+ async list() {
7124
+ const response = await this.httpClient.get(MEMBERS_PATH);
7125
+ return response.members;
7126
+ }
7127
+ };
7128
+
7112
7129
  // src/client.ts
7113
7130
  init_randomUuid();
7114
7131
  init_replay();
@@ -8774,6 +8791,7 @@ var Bitfab = class {
8774
8791
  }
8775
8792
  this.datasets = new DatasetsClient(this.httpClient);
8776
8793
  this.assertionCategories = new AssertionCategoriesClient(this.httpClient);
8794
+ this.organizationMembers = new OrganizationMembersClient(this.httpClient);
8777
8795
  this.traces = new TracesClient(this.httpClient);
8778
8796
  this.labels = new LabelsClient(this.httpClient);
8779
8797
  this.graders = new GradersClient(this.httpClient);
@@ -11014,6 +11032,7 @@ function resolveTraceFunctionKey(registration) {
11014
11032
  LabelsClient,
11015
11033
  MixedTracingError,
11016
11034
  NO_MOCK_OVERRIDE,
11035
+ OrganizationMembersClient,
11017
11036
  ReplayError,
11018
11037
  SUPPORTED_PROVIDERS,
11019
11038
  TracesClient,