braintrust 3.9.0 → 3.10.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 +107 -1
- package/dev/dist/index.d.ts +107 -1
- package/dev/dist/index.js +2126 -443
- package/dev/dist/index.mjs +1814 -131
- package/dist/auto-instrumentations/bundler/esbuild.cjs +166 -0
- package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
- package/dist/auto-instrumentations/bundler/rollup.cjs +166 -0
- package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +166 -0
- package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +163 -0
- package/dist/auto-instrumentations/bundler/webpack.cjs +166 -0
- package/dist/auto-instrumentations/bundler/webpack.mjs +2 -2
- package/dist/auto-instrumentations/{chunk-KIMMUFAK.mjs → chunk-GZNXBBPU.mjs} +164 -1
- package/dist/auto-instrumentations/{chunk-G7F6HZGE.mjs → chunk-XWEQQOQH.mjs} +8 -1
- package/dist/auto-instrumentations/hook.mjs +255 -8
- package/dist/auto-instrumentations/index.cjs +256 -7
- package/dist/auto-instrumentations/index.d.mts +5 -1
- package/dist/auto-instrumentations/index.d.ts +5 -1
- package/dist/auto-instrumentations/index.mjs +96 -8
- package/dist/browser.d.mts +141 -7
- package/dist/browser.d.ts +141 -7
- package/dist/browser.js +2035 -140
- package/dist/browser.mjs +2035 -140
- package/dist/cli.js +1822 -139
- package/dist/edge-light.d.mts +1 -1
- package/dist/edge-light.d.ts +1 -1
- package/dist/edge-light.js +2035 -140
- package/dist/edge-light.mjs +2035 -140
- package/dist/index.d.mts +141 -7
- package/dist/index.d.ts +141 -7
- package/dist/index.js +2397 -502
- package/dist/index.mjs +2035 -140
- package/dist/instrumentation/index.d.mts +7 -0
- package/dist/instrumentation/index.d.ts +7 -0
- package/dist/instrumentation/index.js +1662 -167
- package/dist/instrumentation/index.mjs +1662 -167
- package/dist/workerd.d.mts +1 -1
- package/dist/workerd.d.ts +1 -1
- package/dist/workerd.js +2035 -140
- package/dist/workerd.mjs +2035 -140
- package/package.json +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "braintrust",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.0",
|
|
4
4
|
"description": "SDK for integrating Braintrust",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -79,13 +79,13 @@
|
|
|
79
79
|
"types": "./dist/auto-instrumentations/bundler/vite.d.ts",
|
|
80
80
|
"import": "./dist/auto-instrumentations/bundler/vite.mjs",
|
|
81
81
|
"module": "./dist/auto-instrumentations/bundler/vite.mjs",
|
|
82
|
-
"require": "./dist/auto-instrumentations/bundler/vite.
|
|
82
|
+
"require": "./dist/auto-instrumentations/bundler/vite.cjs"
|
|
83
83
|
},
|
|
84
84
|
"./webpack": {
|
|
85
85
|
"types": "./dist/auto-instrumentations/bundler/webpack.d.ts",
|
|
86
86
|
"import": "./dist/auto-instrumentations/bundler/webpack.mjs",
|
|
87
87
|
"module": "./dist/auto-instrumentations/bundler/webpack.mjs",
|
|
88
|
-
"require": "./dist/auto-instrumentations/bundler/webpack.
|
|
88
|
+
"require": "./dist/auto-instrumentations/bundler/webpack.cjs"
|
|
89
89
|
},
|
|
90
90
|
"./webpack-loader": {
|
|
91
91
|
"types": "./dist/auto-instrumentations/bundler/webpack-loader.d.ts",
|
|
@@ -95,13 +95,13 @@
|
|
|
95
95
|
"types": "./dist/auto-instrumentations/bundler/esbuild.d.ts",
|
|
96
96
|
"import": "./dist/auto-instrumentations/bundler/esbuild.mjs",
|
|
97
97
|
"module": "./dist/auto-instrumentations/bundler/esbuild.mjs",
|
|
98
|
-
"require": "./dist/auto-instrumentations/bundler/esbuild.
|
|
98
|
+
"require": "./dist/auto-instrumentations/bundler/esbuild.cjs"
|
|
99
99
|
},
|
|
100
100
|
"./rollup": {
|
|
101
101
|
"types": "./dist/auto-instrumentations/bundler/rollup.d.ts",
|
|
102
102
|
"import": "./dist/auto-instrumentations/bundler/rollup.mjs",
|
|
103
103
|
"module": "./dist/auto-instrumentations/bundler/rollup.mjs",
|
|
104
|
-
"require": "./dist/auto-instrumentations/bundler/rollup.
|
|
104
|
+
"require": "./dist/auto-instrumentations/bundler/rollup.cjs"
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
"files": [
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"build": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" tsup",
|
|
114
114
|
"check:typings": "tsc --noEmit",
|
|
115
115
|
"watch": "tsup --watch",
|
|
116
|
-
"clean": "rm -r dist/* && rm -r dev/dist/*",
|
|
116
|
+
"clean": "rm -r dist/* && rm -r dev/dist/* && rm -r util/dist/*",
|
|
117
117
|
"docs": "typedoc --options typedoc.json src/node/index.ts",
|
|
118
118
|
"test": "vitest run --exclude \"src/wrappers/**/*.test.ts\" --exclude \"src/otel/**/*.test.ts\" --exclude \"smoke/**/*.test.ts\" --exclude \"src/zod/**/*.test.ts\" --exclude \"tests/api-compatibility/**\"",
|
|
119
119
|
"test:core": "pnpm prune && pnpm test",
|