Adapt the shared applesauce RelayPool to kehto's RelayPoolLike.
RelayPool
RelayPoolLike
The one pool the shell owns (D-002).
An object kehto's RelayPoolHooks.getRelayPool can return.
RelayPoolHooks.getRelayPool
const like = createRelayPoolLike(pool);like.subscription(['wss://relay.example'], [{ kinds: [1] }]).subscribe((item) => {}); Copy
const like = createRelayPoolLike(pool);like.subscription(['wss://relay.example'], [{ kinds: [1] }]).subscribe((item) => {});
Adapt the shared applesauce
RelayPoolto kehto'sRelayPoolLike.