bitfab 0.57.3 → 0.57.5
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-B7G7QH2S.js → chunk-255I4PN4.js} +2 -2
- package/dist/{chunk-B7G7QH2S.js.map → chunk-255I4PN4.js.map} +1 -1
- package/dist/{chunk-46O35VA7.js → chunk-I5EG523G.js} +3 -3
- package/dist/{chunk-JLKB3VT3.js → chunk-VPZ2LTU6.js} +2 -2
- package/dist/{chunk-2EFN2SVP.js → chunk-WYNN6NY2.js} +2 -2
- package/dist/{chunk-2EFN2SVP.js.map → chunk-WYNN6NY2.js.map} +1 -1
- package/dist/{chunk-3MN4DLJH.js → chunk-YO3HKQX6.js} +21 -6
- package/dist/{chunk-3MN4DLJH.js.map → chunk-YO3HKQX6.js.map} +1 -1
- package/dist/{http-JVWNLQ4C.js → http-CHXMOVLK.js} +2 -2
- package/dist/{http-UMQCF7G7.js → http-FQ76VRFF.js} +2 -2
- package/dist/index.cjs +17 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -2
- package/dist/index.d.ts +25 -2
- package/dist/index.js +5 -3
- package/dist/node.cjs +17 -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 +5 -3
- package/dist/node.js.map +1 -1
- package/dist/{replay-OZCQPRSL.js → replay-CHM7OQ25.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-46O35VA7.js.map → chunk-I5EG523G.js.map} +0 -0
- /package/dist/{chunk-JLKB3VT3.js.map → chunk-VPZ2LTU6.js.map} +0 -0
- /package/dist/{http-JVWNLQ4C.js.map → http-CHXMOVLK.js.map} +0 -0
- /package/dist/{http-UMQCF7G7.js.map → http-FQ76VRFF.js.map} +0 -0
- /package/dist/{replay-OZCQPRSL.js.map → replay-CHM7OQ25.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
flushTraces,
|
|
7
7
|
parseRetryAfterMs,
|
|
8
8
|
serializePayloadBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-255I4PN4.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-
|
|
20
|
+
//# sourceMappingURL=http-CHXMOVLK.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
flushTraces,
|
|
7
7
|
parseRetryAfterMs,
|
|
8
8
|
serializePayloadBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WYNN6NY2.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-
|
|
19
|
+
//# sourceMappingURL=http-FQ76VRFF.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.57.
|
|
54
|
+
__version__ = "0.57.5";
|
|
55
55
|
__packageName__ = "bitfab";
|
|
56
56
|
}
|
|
57
57
|
});
|
|
@@ -4391,6 +4391,7 @@ __export(index_exports, {
|
|
|
4391
4391
|
NO_MOCK_OVERRIDE: () => NO_MOCK_OVERRIDE,
|
|
4392
4392
|
ReplayError: () => ReplayError,
|
|
4393
4393
|
SUPPORTED_PROVIDERS: () => SUPPORTED_PROVIDERS,
|
|
4394
|
+
TraceAssertionsClient: () => TraceAssertionsClient,
|
|
4394
4395
|
TracesClient: () => TracesClient,
|
|
4395
4396
|
__version__: () => __version__,
|
|
4396
4397
|
defineReplayRegistry: () => defineReplayRegistry,
|
|
@@ -7749,9 +7750,23 @@ var SEARCH_PATH = "/api/sdk/traces/search";
|
|
|
7749
7750
|
function traceAssertionsPath(traceId, suffix = "") {
|
|
7750
7751
|
return `/api/sdk/traces/${encodeURIComponent(traceId)}/assertions${suffix}`;
|
|
7751
7752
|
}
|
|
7753
|
+
function assertionEvidencePath(assertionId) {
|
|
7754
|
+
return `/api/sdk/traces/assertions/${encodeURIComponent(assertionId)}/evidence`;
|
|
7755
|
+
}
|
|
7756
|
+
var TraceAssertionsClient = class {
|
|
7757
|
+
constructor(httpClient) {
|
|
7758
|
+
this.httpClient = httpClient;
|
|
7759
|
+
}
|
|
7760
|
+
/** Suggest evidence for an assertion, enriched with its span context. */
|
|
7761
|
+
async getAssertionEvidence(assertionId) {
|
|
7762
|
+
const response = await this.httpClient.get(assertionEvidencePath(assertionId));
|
|
7763
|
+
return response.evidence;
|
|
7764
|
+
}
|
|
7765
|
+
};
|
|
7752
7766
|
var TracesClient = class {
|
|
7753
7767
|
constructor(httpClient) {
|
|
7754
7768
|
this.httpClient = httpClient;
|
|
7769
|
+
this.assertions = new TraceAssertionsClient(httpClient);
|
|
7755
7770
|
}
|
|
7756
7771
|
async search(params) {
|
|
7757
7772
|
return this.httpClient.request(SEARCH_PATH, params);
|
|
@@ -11005,6 +11020,7 @@ function resolveTraceFunctionKey(registration) {
|
|
|
11005
11020
|
NO_MOCK_OVERRIDE,
|
|
11006
11021
|
ReplayError,
|
|
11007
11022
|
SUPPORTED_PROVIDERS,
|
|
11023
|
+
TraceAssertionsClient,
|
|
11008
11024
|
TracesClient,
|
|
11009
11025
|
__version__,
|
|
11010
11026
|
defineReplayRegistry,
|