beeper-inbox-react 0.1.7 → 0.2.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 +4 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -125,10 +125,12 @@ Your backend should mint a token with the **server** API key and return either
|
|
|
125
125
|
|
|
126
126
|
### Beeper web app (`apps/web`)
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
The Beeper dashboard mints sessions for its own inbox at `POST /api/internal/inbox-session`
|
|
129
|
+
(named so it is not confused with the `/api/beeper/widget-session` route you build in your app).
|
|
130
|
+
It serves only the dashboard's own project. Configure server env:
|
|
129
131
|
|
|
130
132
|
- `BEEPER_SERVER_KEY` — project API key with `widget:session:create` or `ingest:write`
|
|
131
|
-
- `BEEPER_PROJECT_ID`
|
|
133
|
+
- `BEEPER_PROJECT_ID` (or `VITE_BEEPER_PROJECT_ID`) — the project it mints for; the request body is ignored
|
|
132
134
|
- `CONVEX_SITE_URL` or `VITE_CONVEX_SITE_URL` — only needed by the server-side session proxy in this repo
|
|
133
135
|
|
|
134
136
|
### `BeeperInboxBell`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beeper-inbox-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"react": "^19.2.3",
|
|
33
33
|
"react-dom": "^19.2.3",
|
|
34
34
|
"typescript": "^5",
|
|
35
|
-
"
|
|
36
|
-
"beeper
|
|
35
|
+
"beeper-sdk": "0.2.0",
|
|
36
|
+
"@beeper/config": "0.0.0"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "tsc -p tsconfig.build.json",
|