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

Pass X-Api-Key for GRPC streaming client #14

Merged
merged 3 commits into from
Jun 15, 2023
Merged

Pass X-Api-Key for GRPC streaming client #14

merged 3 commits into from
Jun 15, 2023

Conversation

denisbsu
Copy link
Contributor

@github-actions
Copy link

Released new canary packages:

@proximaone/stream-client-js 1.3.1-preview.50.0+9958497

(opts, callback) => {
const metadata = new grpc.Metadata();
if (apiKey !== undefined) {
metadata.add("x-api-key", apiKey ?? "");
Copy link
Contributor

Choose a reason for hiding this comment

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

Unnecessary ?? ""

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

src/client/proximaStreamClient.ts Show resolved Hide resolved
src/client/proximaStreamClient.ts Outdated Show resolved Hide resolved
@github-actions
Copy link

Released new canary packages:


@denisbsu denisbsu merged commit 50dd1ba into master Jun 15, 2023
2 checks passed
@kalabukdima kalabukdima deleted the grpc-auth branch June 26, 2023 04:34
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.

None yet

3 participants