new release #190

Merged
b merged 68 commits from staging into main 2024-09-06 18:59:34 +00:00
2 changed files with 13 additions and 6 deletions
Showing only changes of commit 86095cba5c - Show all commits

View File

@ -416,8 +416,11 @@ export const SignPage = () => {
) )
if (arrayBuffer) { if (arrayBuffer) {
try {
files[fileName] = await convertToPdfFile(arrayBuffer, fileName) files[fileName] = await convertToPdfFile(arrayBuffer, fileName)
} catch (error) {
console.error('Not a .pdf file:', error)
}
const hash = await getHash(arrayBuffer) const hash = await getHash(arrayBuffer)
if (hash) { if (hash) {
fileHashes[fileName] = hash fileHashes[fileName] = hash

View File

@ -246,10 +246,14 @@ export const VerifyPage = () => {
) )
if (arrayBuffer) { if (arrayBuffer) {
try {
files[fileName] = await convertToPdfFile( files[fileName] = await convertToPdfFile(
arrayBuffer, arrayBuffer,
fileName! fileName!
) )
} catch (error) {
console.error('Not a .pdf file:', error)
}
const hash = await getHash(arrayBuffer) const hash = await getHash(arrayBuffer)
if (hash) { if (hash) {