@block65/kms-jsonwebtoken
Advanced tools
@@ -19,8 +19,3 @@ "use strict"; | ||
| } | ||
| if (!Buffer.isBuffer(signatureResult.Signature)) { | ||
| throw new error_1.KmsJsonWebTokenError('Incompatible signature').debug({ | ||
| signatureResult, | ||
| }); | ||
| } | ||
| return signatureResult.Signature; | ||
| return Buffer.from(signatureResult.Signature); | ||
| } | ||
@@ -27,0 +22,0 @@ exports.asymmetricSign = asymmetricSign; |
+1
-1
| { | ||
| "name": "@block65/kms-jsonwebtoken", | ||
| "version": "2.1.0", | ||
| "version": "2.1.1", | ||
| "private": false, | ||
@@ -5,0 +5,0 @@ "license": "UNLICENSED", |
14686
-1.14%298
-1.65%