braintrust 3.10.0 → 3.12.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/README.md +8 -8
- package/dev/dist/index.d.mts +51 -3
- package/dev/dist/index.d.ts +51 -3
- package/dev/dist/index.js +13138 -8915
- package/dev/dist/index.mjs +13015 -8792
- package/dist/apply-auto-instrumentation.browser.d.mts +2 -0
- package/dist/apply-auto-instrumentation.browser.d.ts +2 -0
- package/dist/apply-auto-instrumentation.browser.js +18 -0
- package/dist/apply-auto-instrumentation.browser.mjs +0 -0
- package/dist/apply-auto-instrumentation.d.mts +2 -0
- package/dist/apply-auto-instrumentation.d.ts +2 -0
- package/dist/apply-auto-instrumentation.js +2534 -0
- package/dist/apply-auto-instrumentation.mjs +2534 -0
- package/dist/auto-instrumentations/bundler/esbuild.cjs +1775 -737
- package/dist/auto-instrumentations/bundler/esbuild.d.mts +9 -5
- package/dist/auto-instrumentations/bundler/esbuild.d.ts +9 -5
- package/dist/auto-instrumentations/bundler/esbuild.mjs +10 -2
- package/dist/auto-instrumentations/bundler/next.cjs +3268 -0
- package/dist/auto-instrumentations/bundler/next.d.mts +3 -0
- package/dist/auto-instrumentations/bundler/next.d.ts +3 -0
- package/dist/auto-instrumentations/bundler/next.mjs +189 -0
- package/dist/auto-instrumentations/bundler/rollup.cjs +1775 -737
- package/dist/auto-instrumentations/bundler/rollup.d.mts +9 -5
- package/dist/auto-instrumentations/bundler/rollup.d.ts +9 -5
- package/dist/auto-instrumentations/bundler/rollup.mjs +10 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +1775 -737
- package/dist/auto-instrumentations/bundler/vite.d.mts +9 -5
- package/dist/auto-instrumentations/bundler/vite.d.ts +9 -5
- package/dist/auto-instrumentations/bundler/vite.mjs +10 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +1713 -690
- package/dist/auto-instrumentations/bundler/webpack-loader.d.ts +3 -3
- package/dist/auto-instrumentations/bundler/webpack.cjs +1775 -737
- package/dist/auto-instrumentations/bundler/webpack.d.mts +9 -5
- package/dist/auto-instrumentations/bundler/webpack.d.ts +9 -5
- package/dist/auto-instrumentations/bundler/webpack.mjs +6 -6
- package/dist/auto-instrumentations/{chunk-GZNXBBPU.mjs → chunk-2DPA74KK.mjs} +856 -5
- package/dist/auto-instrumentations/chunk-73BZUKVI.mjs +300 -0
- package/dist/auto-instrumentations/chunk-AFXRW7I7.mjs +18 -0
- package/dist/auto-instrumentations/{chunk-ITP7RAUY.mjs → chunk-MWZXZQUO.mjs} +23 -1
- package/dist/auto-instrumentations/hook.mjs +1912 -1125
- package/dist/auto-instrumentations/index.cjs +615 -4
- package/dist/auto-instrumentations/index.d.mts +18 -1
- package/dist/auto-instrumentations/index.d.ts +18 -1
- package/dist/auto-instrumentations/index.mjs +12 -247
- package/dist/auto-instrumentations/loader/cjs-patch.cjs +26 -1
- package/dist/auto-instrumentations/loader/cjs-patch.mjs +28 -1
- package/dist/auto-instrumentations/loader/esm-hook.mjs +35 -3
- package/dist/auto-instrumentations/plugin-D7nDswtC.d.mts +44 -0
- package/dist/auto-instrumentations/plugin-D7nDswtC.d.ts +44 -0
- package/dist/browser.d.mts +577 -287
- package/dist/browser.d.ts +577 -287
- package/dist/browser.js +10221 -5524
- package/dist/browser.mjs +10221 -5524
- package/dist/chunk-BW4DF4CY.js +816 -0
- package/dist/chunk-MSLBGITU.mjs +816 -0
- package/dist/cli.js +13143 -8892
- package/dist/edge-light.d.mts +1 -1
- package/dist/edge-light.d.ts +1 -1
- package/dist/edge-light.js +10221 -5524
- package/dist/edge-light.mjs +10221 -5524
- package/dist/index.d.mts +590 -300
- package/dist/index.d.ts +590 -300
- package/dist/index.js +9309 -5371
- package/dist/index.mjs +10340 -6402
- package/dist/instrumentation/index.d.mts +7863 -39
- package/dist/instrumentation/index.d.ts +7863 -39
- package/dist/instrumentation/index.js +10263 -6034
- package/dist/instrumentation/index.mjs +10262 -6034
- package/dist/workerd.d.mts +1 -1
- package/dist/workerd.d.ts +1 -1
- package/dist/workerd.js +10221 -5524
- package/dist/workerd.mjs +10221 -5524
- package/package.json +33 -19
- package/util/dist/index.js +6 -0
- package/util/dist/index.mjs +6 -0
- package/dist/auto-instrumentations/chunk-XWEQQOQH.mjs +0 -106
- package/dist/auto-instrumentations/plugin-Df3qKIl2.d.mts +0 -22
- package/dist/auto-instrumentations/plugin-Df3qKIl2.d.ts +0 -22
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { B as BundlerPluginOptions } from '../plugin-
|
|
1
|
+
import { WebpackPluginInstance } from 'unplugin';
|
|
2
|
+
import { L as LegacyBundlerPluginOptions, B as BundlerPluginOptions } from '../plugin-D7nDswtC.mjs';
|
|
3
3
|
import '@apm-js-collab/code-transformer';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
declare function braintrustWebpackPlugin(options?: BundlerPluginOptions): WebpackPluginInstance;
|
|
6
|
+
type WebpackPluginOptions = LegacyBundlerPluginOptions;
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Use {@link braintrustWebpackPlugin} instead.
|
|
9
|
+
*/
|
|
10
|
+
declare const webpackPlugin: (options: LegacyBundlerPluginOptions) => WebpackPluginInstance;
|
|
7
11
|
|
|
8
|
-
export { type WebpackPluginOptions, webpackPlugin };
|
|
12
|
+
export { type WebpackPluginOptions, braintrustWebpackPlugin, webpackPlugin };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { B as BundlerPluginOptions } from '../plugin-
|
|
1
|
+
import { WebpackPluginInstance } from 'unplugin';
|
|
2
|
+
import { L as LegacyBundlerPluginOptions, B as BundlerPluginOptions } from '../plugin-D7nDswtC.js';
|
|
3
3
|
import '@apm-js-collab/code-transformer';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
declare function braintrustWebpackPlugin(options?: BundlerPluginOptions): WebpackPluginInstance;
|
|
6
|
+
type WebpackPluginOptions = LegacyBundlerPluginOptions;
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Use {@link braintrustWebpackPlugin} instead.
|
|
9
|
+
*/
|
|
10
|
+
declare const webpackPlugin: (options: LegacyBundlerPluginOptions) => WebpackPluginInstance;
|
|
7
11
|
|
|
8
|
-
export { type WebpackPluginOptions, webpackPlugin };
|
|
12
|
+
export { type WebpackPluginOptions, braintrustWebpackPlugin, webpackPlugin };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var webpackPlugin = unplugin.webpack;
|
|
2
|
+
braintrustWebpackPlugin,
|
|
3
|
+
webpackPlugin
|
|
4
|
+
} from "../chunk-AFXRW7I7.mjs";
|
|
5
|
+
import "../chunk-73BZUKVI.mjs";
|
|
6
|
+
import "../chunk-2DPA74KK.mjs";
|
|
8
7
|
export {
|
|
8
|
+
braintrustWebpackPlugin,
|
|
9
9
|
webpackPlugin
|
|
10
10
|
};
|