3 Enables the programmatic generation of the recovery kit pdf.
8 import { generatePDFKit } from '@proton/recovery-kit';
9 import downloadFile from '@proton/shared/lib/helpers/downloadFile';
11 const pdf = await generatePDFKit({
12 emailAddress: 'eric.norbert@gmail.com',
13 recoveryPhrase: 'auto pottery age relief turkey face tide useful near lottery alley wolf',
18 const blob = new Blob([pdf.buffer], { type: 'application/pdf' });
19 downloadFile(blob, 'recovery_kit.pdf');