Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/content/docs/3.guide/5.security.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ If you plan on having something critical, **always** verify the `sender` before
label: Verifying an endpoint before responding
---
```javascript
import { onMessage, isInternalEndpoint } from "webext-bridge/background";
import { isInternalEndpoint } from "webext-bridge";
import { onMessage } from "webext-bridge/background";

onMessage("getUserBrowsingHistory", (message) => {
const { data, sender } = message;
Expand Down