Skip to content

Commit

Permalink
chore(adapter-nostr-tools): fix the doc comment of simplePoolAdapter
Browse files Browse the repository at this point in the history
- limtations no longer exist!
  • Loading branch information
jiftechnify committed May 14, 2023
1 parent 5c8f224 commit 238d3ea
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/@nostr-fetch/adapter-nostr-tools/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,5 @@ class SimplePoolAdapter implements RelayPoolHandle {

/**
* Wraps a nostr-tools' `SimplePool`, allowing it to interoperate with nostr-fetch.
*
* Limitations: if you use this adapter, some fetch options will be ignored (for now):
*
* - `connectTimeoutMs`
* - `abortSubBeforeEoseTimeoutMs`
*/
export const simplePoolAdapter = (sp: SimplePool): RelayPoolHandle => new SimplePoolAdapter(sp);

0 comments on commit 238d3ea

Please sign in to comment.