diff --git a/docs/content/docs/3.guide/5.security.md b/docs/content/docs/3.guide/5.security.md index bc933f9..e768df5 100644 --- a/docs/content/docs/3.guide/5.security.md +++ b/docs/content/docs/3.guide/5.security.md @@ -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;