Skip to content

0.4.7

Compare
Choose a tag to compare
@Pinta365 Pinta365 released this 29 Apr 17:05
· 13 commits to main since this release

Changes to exportPEMKey(), now accepts options as an optional second

Function signature

async function exportPEMKey(key: CryptoKey, filePathOrOptions?: string | ExportPEMKeyOptions): Promise<string>

Options object

interface ExportPEMKeyOptions {
    /**
     * Optional path to write the PEM-formatted key to
     */
    filePath?: string;
    /**
     * Optional for file write mode
     */
    mode?: number;
}

Full Changelog: 0.4.6...0.4.7