@sentry/junior-notion 0.10.3 → 0.11.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/README.md +7 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,14 +8,17 @@ Install it alongside `@sentry/junior`:
|
|
|
8
8
|
pnpm add @sentry/junior @sentry/junior-notion
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Then register the plugin package in `
|
|
11
|
+
Then register the plugin package in `createApp(...)`:
|
|
12
12
|
|
|
13
|
-
```
|
|
14
|
-
import {
|
|
13
|
+
```ts
|
|
14
|
+
import { createApp } from "@sentry/junior";
|
|
15
|
+
import { handle } from "hono/vercel";
|
|
15
16
|
|
|
16
|
-
|
|
17
|
+
const app = await createApp({
|
|
17
18
|
pluginPackages: ["@sentry/junior-notion"],
|
|
18
19
|
});
|
|
20
|
+
|
|
21
|
+
export default handle(app);
|
|
19
22
|
```
|
|
20
23
|
|
|
21
24
|
This package does not use `NOTION_TOKEN` or a shared workspace integration. Each user connects their own Notion account the first time Junior calls a Notion MCP tool. Junior sends the OAuth link privately and resumes the thread automatically after the user authorizes.
|