@proca/crypto
Advanced tools
Comparing version 3.3.4 to 3.4.0
@@ -17,2 +17,3 @@ "use strict"; | ||
function addKeysToKeyStore(keys, ks) { | ||
const keySet = new Set(ks.keys.map(k => k.public)); | ||
if (typeof keys !== "object") | ||
@@ -23,2 +24,4 @@ throw new Error("key store must be object"); | ||
throw new Error("keys must be a map keyed by public key"); | ||
if (keySet.has(key)) | ||
continue; | ||
if (typeof value === "object" && | ||
@@ -25,0 +28,0 @@ 'private' in value && |
{ | ||
"name": "@proca/crypto", | ||
"version": "3.3.4", | ||
"version": "3.4.0", | ||
"description": "Decrypt personal information in Proca action", | ||
@@ -27,3 +27,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "580fdd448973fac317b84420a681c97e8b9164b6" | ||
"gitHead": "635a7c1b39cd036c8d9fe111b3c9fd0c325eada6" | ||
} |
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
11746
11
152
1
22