react-native-openpgp
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "react-native-openpgp", | ||
"description": "React-Native OpenPGP is an OpenPGP.js implementation made to work under React-Native.", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "engines": { |
@@ -217,6 +217,8 @@ // OpenPGP.js - An OpenPGP implementation in javascript | ||
export function encrypt({ data, publicKeys, privateKeys, passwords, filename, armor=true }) { | ||
checkData(data); | ||
publicKeys = toArray(publicKeys); | ||
privateKeys = toArray(privateKeys); | ||
passwords = toArray(passwords); | ||
checkData(data); publicKeys = toArray(publicKeys); privateKeys = toArray(privateKeys); passwords = toArray(passwords); | ||
if (asyncProxy) { // use web worker if available | ||
@@ -223,0 +225,0 @@ return asyncProxy.delegate('encrypt', { data, publicKeys, privateKeys, passwords, filename, armor }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16375
786275