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

Move auth to connection options #30

Merged
merged 1 commit into from
Aug 9, 2018
Merged

Move auth to connection options #30

merged 1 commit into from
Aug 9, 2018

Conversation

balloob
Copy link
Member

@balloob balloob commented Aug 9, 2018

Move auth as part of connection options.

Breaking change (but 3.0.0 hasn't been released so all ok).

// before
const conn = await createConnection(auth);

// after
const conn = await createConnection({ auth });

@balloob balloob changed the title Move auth to createSocket Move auth to connection options Aug 9, 2018
@balloob balloob merged commit 468918c into master Aug 9, 2018
@balloob balloob deleted the change-auth branch August 9, 2018 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants