Skip to content

Commit

Permalink
chore(): updated type
Browse files Browse the repository at this point in the history
JJ-Cro committed Dec 11, 2024
1 parent abf31ab commit dd8fceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/webCryptoAPI.ts
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ function bufferToB64(buffer: ArrayBuffer): string {
return globalThis.btoa(binary);
}

function b64StringToBuffer(input: string): ArrayBuffer {
function b64StringToBuffer(input: string): Uint8Array {
const binaryString = atob(input); // Decode base64 string
const buffer = new Uint8Array(binaryString.length);

0 comments on commit dd8fceb

Please sign in to comment.