Closed glwbr closed 2 months ago
https://github.com/qruto/laravel-wave-client/blob/main/src/wave-broadcaster.ts#L21
As you can see, options merges with appropriate order, so authEndpoint
has default value.
Do you have any specific issue with this?
@slavarazum Not a problem, It's that if you pass the options
to new Wave() you'd also have to pass authEndpoint
but right now the README says it's optional:
Oh, yes! It was previously marked as required in the client library, but it is now optional. client release
Thanks for participating 🤝
If the
option
is given, thenauthEndpoint
is actually required.