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

fix(connector): authEndpoint backward compatibility #410

Closed
wants to merge 12 commits into from
Closed
Prev Previous commit
refactor: code style (-_-) (sorry)
  • Loading branch information
021-projects committed Jan 20, 2025
commit 6244c83f04f318b082e423712c82387e5176fee2
8 changes: 4 additions & 4 deletions src/util/pusher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function convertDeprecatedOptions(options: Record<any, any>) {

deprecationWarning(
'The authorizer option is deprecated and will be removed in the next major version. ' +
'Please use the channelAuthorization.customHandler option instead.'
'Please use the channelAuthorization.customHandler option instead.'
);

return;
Expand All @@ -35,7 +35,7 @@ export function convertDeprecatedOptions(options: Record<any, any>) {

deprecationWarning(
'The authEndpoint option is deprecated and will be removed in the next major version. ' +
'Please use the channelAuthorization.endpoint option instead.'
'Please use the channelAuthorization.endpoint option instead.'
);
}

Expand All @@ -47,7 +47,7 @@ export function convertDeprecatedOptions(options: Record<any, any>) {

deprecationWarning(
'The authTransport option is deprecated and will be removed in the next major version. ' +
'Please use the channelAuthorization.transport option instead.'
'Please use the channelAuthorization.transport option instead.'
);
}

Expand All @@ -60,7 +60,7 @@ export function convertDeprecatedOptions(options: Record<any, any>) {

deprecationWarning(
'The auth option is deprecated and will be removed in the next major version. ' +
'Please use the channelAuthorization.headers and channelAuthorization.params options instead.'
'Please use the channelAuthorization.headers and channelAuthorization.params options instead.'
);
}

Expand Down
Loading