@sentry/junior 0.48.0 → 0.50.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 CHANGED
@@ -25,7 +25,7 @@ export default app;
25
25
 
26
26
  Run `junior init my-bot` to scaffold a complete project including `vercel.json` for Vercel deployment.
27
27
 
28
- Use `juniorNitro({ pluginPackages: [...] })` in `nitro.config.ts` to declare which plugin packages to bundle and load at runtime.
28
+ Use `juniorNitro({ plugins: { packages: [...] } })` in `nitro.config.ts` to declare which plugin packages to bundle and load at runtime.
29
29
 
30
30
  ## Full docs
31
31
 
package/dist/app.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { Hono } from 'hono';
2
+ import { P as PluginConfig } from './types-X_iCClPb.js';
2
3
 
3
4
  /** Callback to schedule background work that must finish before the function exits. */
4
5
  type WaitUntilFn = (task: Promise<unknown> | (() => Promise<unknown>)) => void;
@@ -6,7 +7,8 @@ type WaitUntilFn = (task: Promise<unknown> | (() => Promise<unknown>)) => void;
6
7
  interface JuniorAppOptions {
7
8
  /** Install-wide provider defaults (`provider.key` format). Channel overrides take precedence. */
8
9
  configDefaults?: Record<string, unknown>;
9
- pluginPackages?: string[];
10
+ /** Plugin packages and manifest overrides loaded by this app instance. */
11
+ plugins?: PluginConfig;
10
12
  waitUntil?: WaitUntilFn;
11
13
  }
12
14
  /** Create a Hono app with all Junior routes. */