Skip to content

Conversation

achou11
Copy link
Member

@achou11 achou11 commented Apr 3, 2025

Closes #8

Adds the following hooks:

  • useSetUpInvitesListeners
  • useSingleInvite
  • useManyInvites

Tests have not been implemented yet unfortunately, since it's non-trivial to set up. Will create a new issue to track that work.

This is a breaking change as the hooks are dependent on the updated invites API in core, meaning that @comapeo/[email protected] (or later) must be used.

@awana-lockfile-bot
Copy link

package-lock.json changes

Click to toggle table visibility
Name Status Previous Current
@comapeo/core UPDATED 2.3.1 3.0.0
@comapeo/ipc UPDATED 2.1.0 3.0.0
ensure-error ADDED - 4.0.0
hypercore UPDATED 10.17.0 10.19.0
xstate ADDED - 5.19.2

@achou11 achou11 merged commit bf114d0 into main Apr 3, 2025
5 checks passed
@achou11 achou11 deleted the 8/invites-hooks branch April 3, 2025 18:33
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.

Implement hook for getting pending invites
1 participant