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

Voice namespace #460

Merged
merged 26 commits into from
Mar 28, 2022
Merged

Voice namespace #460

merged 26 commits into from
Mar 28, 2022

Conversation

framini
Copy link
Contributor

@framini framini commented Mar 15, 2022

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Mar 15, 2022

🦋 Changeset detected

Latest commit: 8f8b031

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@signalwire/core Minor
@signalwire/realtime-api Minor
@signalwire/js Patch
@signalwire/react-native Patch
@signalwire/web-api Patch
@signalwire/webrtc Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@framini framini force-pushed the fr/voice-namespace branch 2 times, most recently from 45b09d2 to c902f23 Compare March 23, 2022 17:55
@framini framini requested a review from edolix March 25, 2022 11:31
@framini framini changed the title WIP: Voice namespace Voice namespace Mar 25, 2022
tag: this.__uuid,
devices: toInternalDevices(params.devices),
},
}).catch((e) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are needed so our users can try/catch the method. Otherwise the error will be marked as unhandled

export const CallAPI = extendComponent<
CallConsumer,
Omit<VoiceCallMethods, 'dial' | 'hangup'>
>(CallConsumer, {})
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left it like this just for the future and to follow the same pattern as other constructors since we'll likely add regular execute methods.

@framini framini force-pushed the fr/voice-namespace branch from d0f2577 to d426260 Compare March 25, 2022 18:13
@edolix edolix force-pushed the fr/voice-namespace branch from d426260 to 8f8b031 Compare March 28, 2022 13:44
@edolix
Copy link
Contributor

edolix commented Mar 28, 2022

Rebased

@edolix edolix merged commit 7e64fb2 into main Mar 28, 2022
@edolix edolix deleted the fr/voice-namespace branch March 28, 2022 13:59
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