Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyp committed Jan 1, 2025
1 parent 876b6f9 commit b432317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function client(options = {}) {
// Stream features - order matters and define priority
const starttls = setupIfAvailable(_starttls, { streamFeatures });
const sasl2 = _sasl2(
{ saslFactory, streamFeatures },
{ streamFeatures, saslFactory },
createOnAuthenticate(credentials ?? { username, password }, userAgent),
);

Expand All @@ -74,7 +74,7 @@ function client(options = {}) {
const bind2 = _bind2({ sasl2, entity }, resource);

// FAST mechanisms - order matters and define priority
fast && htsha256none?.(fast.saslFactory);
fast && setupIfAvailable(htsha256none, fast.saslFactory);

// Stream features - order matters and define priority
const sasl = _sasl(
Expand Down

0 comments on commit b432317

Please sign in to comment.