braintrust 3.24.0 → 3.25.0
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/dev/dist/index.d.mts +5 -0
- package/dev/dist/index.d.ts +5 -0
- package/dev/dist/index.js +2614 -1567
- package/dev/dist/index.mjs +2037 -990
- package/dist/apply-auto-instrumentation.js +200 -199
- package/dist/apply-auto-instrumentation.mjs +8 -7
- package/dist/auto-instrumentations/bundler/esbuild.cjs +596 -462
- package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
- package/dist/auto-instrumentations/bundler/next.cjs +596 -462
- package/dist/auto-instrumentations/bundler/next.mjs +3 -3
- package/dist/auto-instrumentations/bundler/rollup.cjs +596 -462
- package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +596 -462
- package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +596 -462
- package/dist/auto-instrumentations/bundler/webpack.cjs +596 -462
- package/dist/auto-instrumentations/bundler/webpack.mjs +3 -3
- package/dist/auto-instrumentations/{chunk-BURMPO7L.mjs → chunk-7P6563SW.mjs} +1 -1
- package/dist/auto-instrumentations/{chunk-F43DNLPD.mjs → chunk-CZ24KNHT.mjs} +569 -442
- package/dist/auto-instrumentations/{chunk-GSZHTAQW.mjs → chunk-JPVCUKTY.mjs} +30 -21
- package/dist/auto-instrumentations/hook.mjs +648 -476
- package/dist/auto-instrumentations/index.cjs +568 -442
- package/dist/auto-instrumentations/index.mjs +1 -1
- package/dist/browser.d.mts +7 -0
- package/dist/browser.d.ts +7 -0
- package/dist/browser.js +2022 -971
- package/dist/browser.mjs +2022 -971
- package/dist/{chunk-XE5FS7QY.mjs → chunk-2SANLSWX.mjs} +1375 -597
- package/dist/{chunk-7F6GCRHH.mjs → chunk-ABR2QWDP.mjs} +702 -456
- package/dist/{chunk-SU6EHKJV.js → chunk-GSIDVFE6.js} +2176 -1398
- package/dist/{chunk-7AUY2XWX.js → chunk-P25IOOU4.js} +704 -458
- package/dist/cli.js +2005 -958
- package/dist/edge-light.js +2022 -971
- package/dist/edge-light.mjs +2022 -971
- package/dist/index.d.mts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +447 -402
- package/dist/index.mjs +72 -27
- package/dist/instrumentation/index.d.mts +5 -0
- package/dist/instrumentation/index.d.ts +5 -0
- package/dist/instrumentation/index.js +1990 -981
- package/dist/instrumentation/index.mjs +1990 -981
- package/dist/vitest-evals-reporter.js +16 -16
- package/dist/vitest-evals-reporter.mjs +2 -2
- package/dist/workerd.js +2022 -971
- package/dist/workerd.mjs +2022 -971
- package/package.json +2 -2
package/dist/browser.d.mts
CHANGED
|
@@ -18137,6 +18137,8 @@ interface Common {
|
|
|
18137
18137
|
newTracingChannel: <M = any>(nameOrChannels: string | IsoTracingChannelCollection<M>) => IsoTracingChannel<M>;
|
|
18138
18138
|
processOn: (event: string, handler: (code: any) => void) => void;
|
|
18139
18139
|
hash?: (data: string) => string;
|
|
18140
|
+
hmacSha256?: (key: string, data: string) => string;
|
|
18141
|
+
timingSafeEqual?: (left: string, right: string) => boolean;
|
|
18140
18142
|
basename: (filepath: string) => string;
|
|
18141
18143
|
writeln: (text: string) => void;
|
|
18142
18144
|
pathJoin?: (...args: string[]) => string;
|
|
@@ -20790,7 +20792,12 @@ declare class BraintrustState {
|
|
|
20790
20792
|
private _contextManager;
|
|
20791
20793
|
private _otelFlushCallback;
|
|
20792
20794
|
spanOriginEnvironment: SpanOriginEnvironment | undefined;
|
|
20795
|
+
private traceContextSigningSecret;
|
|
20793
20796
|
constructor(loginParams: LoginOptions);
|
|
20797
|
+
/** @internal */
|
|
20798
|
+
_internalSetTraceContextSigningSecret(secret: string | undefined): void;
|
|
20799
|
+
/** @internal */
|
|
20800
|
+
_internalGetTraceContextSigningSecret(): string | undefined;
|
|
20794
20801
|
resetLoginInfo(): void;
|
|
20795
20802
|
resetIdGenState(): void;
|
|
20796
20803
|
[RESET_CONTEXT_MANAGER_STATE](): void;
|
package/dist/browser.d.ts
CHANGED
|
@@ -18137,6 +18137,8 @@ interface Common {
|
|
|
18137
18137
|
newTracingChannel: <M = any>(nameOrChannels: string | IsoTracingChannelCollection<M>) => IsoTracingChannel<M>;
|
|
18138
18138
|
processOn: (event: string, handler: (code: any) => void) => void;
|
|
18139
18139
|
hash?: (data: string) => string;
|
|
18140
|
+
hmacSha256?: (key: string, data: string) => string;
|
|
18141
|
+
timingSafeEqual?: (left: string, right: string) => boolean;
|
|
18140
18142
|
basename: (filepath: string) => string;
|
|
18141
18143
|
writeln: (text: string) => void;
|
|
18142
18144
|
pathJoin?: (...args: string[]) => string;
|
|
@@ -20790,7 +20792,12 @@ declare class BraintrustState {
|
|
|
20790
20792
|
private _contextManager;
|
|
20791
20793
|
private _otelFlushCallback;
|
|
20792
20794
|
spanOriginEnvironment: SpanOriginEnvironment | undefined;
|
|
20795
|
+
private traceContextSigningSecret;
|
|
20793
20796
|
constructor(loginParams: LoginOptions);
|
|
20797
|
+
/** @internal */
|
|
20798
|
+
_internalSetTraceContextSigningSecret(secret: string | undefined): void;
|
|
20799
|
+
/** @internal */
|
|
20800
|
+
_internalGetTraceContextSigningSecret(): string | undefined;
|
|
20794
20801
|
resetLoginInfo(): void;
|
|
20795
20802
|
resetIdGenState(): void;
|
|
20796
20803
|
[RESET_CONTEXT_MANAGER_STATE](): void;
|