@sentry/junior 0.12.0 → 0.12.1
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/app.js +1 -0
- package/dist/cli/init.js +2 -1
- package/package.json +1 -1
package/dist/app.js
CHANGED
|
@@ -1859,6 +1859,7 @@ import {
|
|
|
1859
1859
|
getEnvApiKey,
|
|
1860
1860
|
getModels
|
|
1861
1861
|
} from "@mariozechner/pi-ai";
|
|
1862
|
+
import "@mariozechner/pi-ai/anthropic";
|
|
1862
1863
|
var GATEWAY_PROVIDER = "vercel-ai-gateway";
|
|
1863
1864
|
var GEN_AI_PROVIDER_NAME = GATEWAY_PROVIDER;
|
|
1864
1865
|
var GEN_AI_OPERATION_CHAT = "chat";
|
package/dist/cli/init.js
CHANGED
|
@@ -9,7 +9,8 @@ import path from "path";
|
|
|
9
9
|
function writeServerEntry(targetDir) {
|
|
10
10
|
fs.writeFileSync(
|
|
11
11
|
path.join(targetDir, "server.ts"),
|
|
12
|
-
|
|
12
|
+
`// Static import so Vercel's NFT traces hono (used internally by @sentry/junior).
|
|
13
|
+
import "hono";
|
|
13
14
|
import { initSentry } from "@sentry/junior/instrumentation";
|
|
14
15
|
initSentry();
|
|
15
16
|
|