braintrust 3.23.0 → 3.24.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 +6 -0
- package/dev/dist/index.d.ts +6 -0
- package/dev/dist/index.js +902 -588
- package/dev/dist/index.mjs +320 -6
- package/dist/apply-auto-instrumentation.js +211 -189
- package/dist/apply-auto-instrumentation.mjs +23 -1
- package/dist/auto-instrumentations/bundler/esbuild.cjs +40 -0
- package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
- package/dist/auto-instrumentations/bundler/next.cjs +40 -0
- package/dist/auto-instrumentations/bundler/next.mjs +3 -3
- package/dist/auto-instrumentations/bundler/rollup.cjs +40 -0
- package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +40 -0
- package/dist/auto-instrumentations/bundler/vite.d.mts +1 -1
- package/dist/auto-instrumentations/bundler/vite.d.ts +1 -1
- package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +40 -0
- package/dist/auto-instrumentations/bundler/webpack.cjs +40 -0
- package/dist/auto-instrumentations/bundler/webpack.mjs +3 -3
- package/dist/auto-instrumentations/{chunk-KIMLYPRW.mjs → chunk-BURMPO7L.mjs} +1 -1
- package/dist/auto-instrumentations/{chunk-YXLNSAMJ.mjs → chunk-F43DNLPD.mjs} +40 -0
- package/dist/auto-instrumentations/{chunk-EXY7QCJD.mjs → chunk-GSZHTAQW.mjs} +1 -1
- package/dist/auto-instrumentations/hook.mjs +150 -1
- package/dist/auto-instrumentations/index.cjs +40 -0
- package/dist/auto-instrumentations/index.mjs +1 -1
- package/dist/browser.d.mts +131 -9
- package/dist/browser.d.ts +131 -9
- package/dist/browser.js +703 -67
- package/dist/browser.mjs +703 -67
- package/dist/{chunk-CDIKAHDZ.js → chunk-7AUY2XWX.js} +21 -1
- package/dist/{chunk-36IPYKMG.mjs → chunk-7F6GCRHH.mjs} +20 -0
- package/dist/{chunk-FZWPFCVE.js → chunk-SU6EHKJV.js} +1085 -801
- package/dist/{chunk-IXL4PMY4.mjs → chunk-XE5FS7QY.mjs} +291 -7
- package/dist/cli.js +328 -10
- package/dist/edge-light.js +703 -67
- package/dist/edge-light.mjs +703 -67
- package/dist/index.d.mts +131 -9
- package/dist/index.d.ts +131 -9
- package/dist/index.js +891 -532
- package/dist/index.mjs +423 -64
- package/dist/instrumentation/index.d.mts +130 -9
- package/dist/instrumentation/index.d.ts +130 -9
- package/dist/instrumentation/index.js +601 -67
- package/dist/instrumentation/index.mjs +601 -67
- package/dist/vitest-evals-reporter.js +17 -16
- package/dist/vitest-evals-reporter.mjs +3 -2
- package/dist/workerd.js +703 -67
- package/dist/workerd.mjs +703 -67
- package/package.json +3 -3
- package/util/dist/index.js +4 -0
- package/util/dist/index.mjs +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "braintrust",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.24.0",
|
|
4
4
|
"description": "SDK for integrating Braintrust",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"typedoc": "^0.25.13",
|
|
207
207
|
"typedoc-plugin-markdown": "^3.17.1",
|
|
208
208
|
"typescript": "5.4.4",
|
|
209
|
-
"vite": "^
|
|
209
|
+
"vite": "^8.1.5",
|
|
210
210
|
"vite-tsconfig-paths": "^4.3.2",
|
|
211
211
|
"vitest": "4.1.5",
|
|
212
212
|
"webpack": "^5.106.2",
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"cors": "^2.8.5",
|
|
227
227
|
"dc-browser": "^1.0.4",
|
|
228
228
|
"dotenv": "^16.4.5",
|
|
229
|
-
"esbuild": "0.28.
|
|
229
|
+
"esbuild": "0.28.1",
|
|
230
230
|
"esquery": "^1.7.0",
|
|
231
231
|
"eventsource-parser": "^1.1.2",
|
|
232
232
|
"express": "^5.2.1",
|
package/util/dist/index.js
CHANGED
|
@@ -510,6 +510,7 @@ var SpanComponentsV3 = class _SpanComponentsV3 {
|
|
|
510
510
|
constructor(data) {
|
|
511
511
|
this.data = data;
|
|
512
512
|
}
|
|
513
|
+
|
|
513
514
|
toStr() {
|
|
514
515
|
const jsonObj = {
|
|
515
516
|
compute_object_metadata_args: this.data.compute_object_metadata_args || void 0,
|
|
@@ -1067,6 +1068,7 @@ var SpanComponentsV4 = class _SpanComponentsV4 {
|
|
|
1067
1068
|
constructor(data) {
|
|
1068
1069
|
this.data = data;
|
|
1069
1070
|
}
|
|
1071
|
+
|
|
1070
1072
|
toStr() {
|
|
1071
1073
|
const jsonObj = {
|
|
1072
1074
|
compute_object_metadata_args: this.data.compute_object_metadata_args || void 0,
|
|
@@ -1303,6 +1305,8 @@ var ExtraFieldsError = class extends Error {
|
|
|
1303
1305
|
this.key = key;
|
|
1304
1306
|
this.path = path;
|
|
1305
1307
|
}
|
|
1308
|
+
|
|
1309
|
+
|
|
1306
1310
|
};
|
|
1307
1311
|
function parseNoStrip(schema, input) {
|
|
1308
1312
|
const output = schema.parse(input);
|
package/util/dist/index.mjs
CHANGED
|
@@ -510,6 +510,7 @@ var SpanComponentsV3 = class _SpanComponentsV3 {
|
|
|
510
510
|
constructor(data) {
|
|
511
511
|
this.data = data;
|
|
512
512
|
}
|
|
513
|
+
data;
|
|
513
514
|
toStr() {
|
|
514
515
|
const jsonObj = {
|
|
515
516
|
compute_object_metadata_args: this.data.compute_object_metadata_args || void 0,
|
|
@@ -1067,6 +1068,7 @@ var SpanComponentsV4 = class _SpanComponentsV4 {
|
|
|
1067
1068
|
constructor(data) {
|
|
1068
1069
|
this.data = data;
|
|
1069
1070
|
}
|
|
1071
|
+
data;
|
|
1070
1072
|
toStr() {
|
|
1071
1073
|
const jsonObj = {
|
|
1072
1074
|
compute_object_metadata_args: this.data.compute_object_metadata_args || void 0,
|
|
@@ -1303,6 +1305,8 @@ var ExtraFieldsError = class extends Error {
|
|
|
1303
1305
|
this.key = key;
|
|
1304
1306
|
this.path = path;
|
|
1305
1307
|
}
|
|
1308
|
+
key;
|
|
1309
|
+
path;
|
|
1306
1310
|
};
|
|
1307
1311
|
function parseNoStrip(schema, input) {
|
|
1308
1312
|
const output = schema.parse(input);
|