@hazem3500/palette 0.9.133 → 0.9.134
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 +1 -1
- package/dist/{chunk-3SNXBRAS.js → chunk-W2WCIVL2.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/node.mjs +1 -1
- package/dist/react.js +1 -1
- package/dist/server.js +1 -1
- package/dist/setup.js +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
- package/server/setup-client.txt +33 -30
- package/src/types.ts +1 -1
package/README.md
CHANGED
|
@@ -639,7 +639,7 @@ Pass these to `initPalette(config)` from `@hazem3500/palette` or `usePalette(con
|
|
|
639
639
|
| `sessionEndpoint` | `string` | `endpoint` | Canonical API identity for trusted gateways to the same service; never share across independent APIs. |
|
|
640
640
|
| `avatar` | `(user: { id, name }) => string \| undefined` | None | Photo URL for signed-in reviewers the server has none for, such as IAP sign-in. HTTPS only; guests keep their initial. |
|
|
641
641
|
| `snapshots` | `{ image?, html?, maxBytes?, redact?(element) }` | Off | Save an image and/or trimmed HTML of the commented element with each new thread. See [Comment snapshots](#comment-snapshots). |
|
|
642
|
-
| `share` | `{ label }` | Off | Let reviewers keep new comments out of a webhook integration, e.g. `{ label: "
|
|
642
|
+
| `share` | `{ label }` | Off | Let reviewers keep new comments out of a webhook integration, e.g. `{ label: "Share on GitHub" }`. Adds an account default and a checkbox for each new comment; a kept comment's `comment.created` event carries `share: false`. Needs a server with `config.share` ([NODE.md](NODE.md#keeping-comments-out-of-integrations)). |
|
|
643
643
|
|
|
644
644
|
Google sign-in uses the account photo (`picture`) automatically, loaded from `lh3.googleusercontent.com`. Under a restrictive CSP, allow that host (or your `avatar` host) in `img-src`; blocked or failed photos fall back to the initial.
|
|
645
645
|
|