-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore!: discourage the use of relay in browsers #1778
Conversation
size-limit report 📦
|
packages/sdk/src/create.ts
Outdated
@@ -80,6 +80,12 @@ export async function createLightNode( | |||
/** | |||
* Create a Waku node that uses Waku Relay to send and receive messages, | |||
* enabling some privacy preserving properties. | |||
* * @remarks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should also remove direct export of it all together and hide it behind @waku/sdk/relay
or something.
Another thing is that we should not have it mentioned on docs.waku.org. Couldn't find any but @LordGhostX can you confirm, please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. Having it export it via @waku/sdk/relay
discourages it more :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I removed all references to relay a long time ago
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good, thanks!
i'll move createRelayNode
behind @waku/sdk/relay
This PR:
createRelayNode
behind@waku/sdk/relay
instead of@waku/sdk
createRelayNode
discouraging the use of Relay in browsers to library consumers.