Update Fix

This commit is contained in:
2026-03-15 12:30:40 +01:00
parent 311ba5e7f3
commit 50be8e25f3
176 changed files with 4075 additions and 3013 deletions

View File

@@ -42,7 +42,7 @@ function encrypt(password, scramble, key) {
);
}
module.exports =
const pluginFactory =
(pluginOptions = {}) =>
({ connection }) => {
let state = 0;
@@ -106,3 +106,9 @@ module.exports =
);
};
};
// Export the plugin factory as default
module.exports = pluginFactory;
// Export calculateToken for reuse in initial handshake optimization
module.exports.calculateToken = calculateToken;