* @param {String=} options.svgFg
* @param {String=} options.svgBg
* @param {String=} options.svgEcl
+ * @param {Boolean=} options.join
+ * @param {Boolean=} options.xmlDeclaration
+ * @param {String=} options.container
* @param {String|Buffer} key
* @param {String=} keyEncoding
* @returns {OtpAuthData}
color: options.svgFg || '#000000',
background: options.svgBg || '#ffffff',
ecl: options.svgEcl || 'M',
+ join: options.join ?? true,
+ xmlDeclaration: options.xmlDeclaration ?? false,
+ container: options.container || 'svg-viewbox',
});
return {
}
-module.exports = HMACBasedOneTimePassword;
\ No newline at end of file
+module.exports = HMACBasedOneTimePassword;