Skip to content

Commit

Permalink
Change parameter to Uint8Array from String
Browse files Browse the repository at this point in the history
Co-authored-by: Dave Longley <[email protected]>
  • Loading branch information
wes-smith and dlongley authored Feb 5, 2024
1 parent db7f136 commit ab02ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {createVerifier} from './createVerifier.js';
import {name} from './name.js';
import {requiredAlgorithm} from './requiredAlgorithm.js';

export function createCryptosuite({extraInformation = ''} = {}) {
export function createCryptosuite({extraInformation = new Uint8Array()} = {}) {
const options = {extraInformation};
return {
name,
Expand Down

0 comments on commit ab02ca6

Please sign in to comment.