0.0.3
crypto.subtle.importKey
が割と重たいので、verifyとsignへ事前にインポートしたCryptoKeyを与えられるようにします。verifyDraftSignature
が第2引数にwebcrypto.CryptoKey
を取れるようにsignAsDraftToRequest
の第2引数のプロパティでprivateKey
にwebcrypto.CryptoKey
を与えられるようにimportPrivateKey
,importPublicKey
関数の追加 (鍵をwebcrypto.CryptoKey
に変換します)
getDraftAlgoString
の引数が変更に
Full Changelog: 0.0.2...0.0.3