Merge branch 'release/3.3.0' into develop

pull/4317/head
Chocobozzz 2021-08-05 15:17:18 +02:00
commit 421ff4618d
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ async function sha256Hex (data?: ArrayBuffer) {
}
// Fallback for non HTTPS context
const shaModule = await import('sha.js')
const shaModule = (await import('sha.js') as any).default
return new shaModule.sha256().update(Buffer.from(data)).digest('hex')
}