Skip to content
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

Update index.ts #418

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update index.ts #418

wants to merge 1 commit into from

Conversation

zzzhan
Copy link

@zzzhan zzzhan commented Jul 15, 2024

export useWebSocketImplementation for nodejs

export useWebSocketImplementation for nodejs
@fiatjaf
Copy link
Collaborator

fiatjaf commented Jul 15, 2024

We're avoiding cluttering this index file and encourage importing submodules directly to prevent bloat in applications.

It's better if you import 'nostr-tools/relay' directly.

Eventually we may even get rid of the index entirely.

@fiatjaf fiatjaf force-pushed the master branch 2 times, most recently from 4d4b83e to bf0c4d4 Compare November 4, 2024 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants