This change provides greater flexibility in configuring the number of secret bytes for the authenticator while maintaining backward compatibility.
-
Added optional numberOfSecretBytes parameter to the Payload interface to specify the number of authenticator secret bytes (default: 20).
-
Added the numberOfSecretBytes parameter in the config to use the value from the Payload or fallback to the default.
-
Adjusted and added corresponding test cases to validate the new parameter and ensure compatibility with existing behavior.
Full Changelog: v0.0.5...v0.0.6
Full Changelog: v0.0.5...v0.0.6