Release new version

This commit is contained in:
Sanjana Rajan 2018-08-03 14:55:04 +02:00
parent c79bda1d37
commit 5be838f9bb
6 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
{
"name": "openpgp",
"version": "3.1.1",
"version": "3.1.2",
"license": "LGPL-3.0+",
"homepage": "https://openpgpjs.org/",
"authors": [

6
dist/openpgp.js vendored
View File

@ -27714,7 +27714,7 @@ exports.default = {
* @memberof module:config
* @property {String} versionstring A version string to be included in armored messages
*/
versionstring: "OpenPGP.js v3.1.1",
versionstring: "OpenPGP.js v3.1.2",
/**
* @memberof module:config
* @property {String} commentstring A comment string to be included in armored messages
@ -38247,7 +38247,7 @@ Key.prototype.getSigningKey = function () {
}
subKeys = this.subKeys.slice().sort(function (a, b) {
return b.created - a.created;
return b.keyPacket.created - a.keyPacket.created;
});
i = 0;
@ -38357,7 +38357,7 @@ Key.prototype.getEncryptionKey = function () {
// V4: by convention subkeys are preferred for encryption service
// V3: keys MUST NOT have subkeys
subKeys = this.subKeys.slice().sort(function (a, b) {
return b.created - a.created;
return b.keyPacket.created - a.keyPacket.created;
});
i = 0;

4
dist/openpgp.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
/*! OpenPGP.js v3.1.1 - 2018-08-01 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */
/*! OpenPGP.js v3.1.2 - 2018-08-03 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */
!function(){return function e(n,t,r){function o(a,f){if(!t[a]){if(!n[a]){var c="function"==typeof require&&require;if(!f&&c)return c(a,!0);if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var s=t[a]={exports:{}};n[a][0].call(s.exports,function(e){return o(n[a][1][e]||e)},s,s.exports,e,n,t,r)}return t[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}}()({1:[function(e,n,t){self.window=self,importScripts("openpgp.min.js");var r=window.openpgp,o=[],i=6e4;function a(e){self.postMessage(e,r.util.getTransferables(e.data))}r.crypto.random.randomBuffer.init(i,function(){return o.length||self.postMessage({event:"request-seed",amount:i}),new Promise(function(e){o.push(e)})}),self.onmessage=function(e){var n,t=e.data||{};switch(t.event){case"configure":n=t.config,Object.keys(n).forEach(function(e){r.config[e]=n[e]});break;case"seed-random":!function(e){e instanceof Uint8Array||(e=new Uint8Array(e));r.crypto.random.randomBuffer.set(e)}(t.buf);var i=o;o=[];for(var f=0;f<i.length;f++)i[f]();break;default:!function(e,n,t){if("function"!=typeof r[n])return void a({id:e,event:"method-return",err:"Unknown Worker Event"});t=r.packet.clone.parseClonedPackets(t,n),r[n](t).then(function(n){a({id:e,event:"method-return",data:r.packet.clone.clonePackets(n)})}).catch(function(n){a({id:e,event:"method-return",err:n.message,stack:n.stack})})}(t.id,t.event,t.options||{})}}},{}]},{},[1]);

2
npm-shrinkwrap.json generated
View File

@ -1,6 +1,6 @@
{
"name": "openpgp",
"version": "3.1.1",
"version": "3.1.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,7 +1,7 @@
{
"name": "openpgp",
"description": "OpenPGP.js is a Javascript implementation of the OpenPGP protocol. This is defined in RFC 4880.",
"version": "3.1.1",
"version": "3.1.2",
"license": "LGPL-3.0+",
"homepage": "https://openpgpjs.org/",
"engines": {