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

Refresh support #1225

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Refresh support #1225

wants to merge 4 commits into from

Conversation

djm181
Copy link
Contributor

@djm181 djm181 commented May 25, 2023

Adds support for RingAPI::refresh() which will allow all the locations and cameras to be reloaded.

This keeps the existing push receiver and just updates the map it uses to send out notifications. Additionally this adds a blanked onNewNotification subject to the RingApi so that a client can receive dings from cameras without the need to resubscribe to all the cameras after a refresh.

@djm181 djm181 marked this pull request as ready for review May 25, 2023 18:59
@djm181
Copy link
Contributor Author

djm181 commented May 25, 2023

@dgreif - another one for you - this time not a breaking change ;)

# Conflicts:
#	packages/ring-client-api/api.ts
@djm181
Copy link
Contributor Author

djm181 commented Jun 13, 2023

@dgreif - any thoughts on this PR?

@dgreif
Copy link
Owner

dgreif commented Jun 14, 2023

I haven't had a chance to review this in depth yet. Will take a look in the next few weeks

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