PlasmoHQ / docs

📘 Documentation site
https://docs.plasmo.com
10 stars 45 forks source link

[DOCUMENTATION] Updated Misleading "Relay Flow" Documentation #106

Closed brandon-kong closed 1 week ago

brandon-kong commented 5 months ago

The documentation for "relay flow" was previously misleading as there exists no relayMessage function in@plasmohq/messaging/relay

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 30, 2024 5:12am
brandon-kong commented 4 months ago

@louisgv Hello, would you be able to review these changes?

louisgv commented 3 months ago

@brandon-kong there's a relay function: https://github.com/PlasmoHQ/plasmo/blob/5b983c217a99fa395e7f7e651087356e52674943/api/messaging/src/relay.ts#L9C14-L9C19

louisgv commented 3 months ago

Ah whoops it should be just relay:

https://github.com/PlasmoHQ/examples/blob/main/with-messaging/contents/index.ts

louisgv commented 3 months ago

@brandon-kong can you update your PR to make a dedicated section for that sendViaRelay, it's a whole diff beast lol