Skip to content

Commit

Permalink
Minor bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CMEONE committed May 4, 2021
1 parent 665dc68 commit 6c8171c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion node/tenvoy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const openpgp = require('../openpgpjs/dist/openpgp.js');
const nacl = require('../tweetnacljs/nacl.js');
const sjcl = require('../sjcl/sjcl.js');

var TogaTech = {};

function tEnvoy(openpgpRef = openpgp, naclRef = nacl, sjclRef = sjcl) {
let _openpgp = openpgpRef;
Expand All @@ -15,7 +16,7 @@ function tEnvoy(openpgpRef = openpgp, naclRef = nacl, sjclRef = sjcl) {

Object.defineProperty(this, "version", {
get: () => {
return "v6.0.4";
return "v6.0.5";
}
});

Expand Down Expand Up @@ -2003,4 +2004,6 @@ function tEnvoyNaClSigningKey(key, type = "secret", password = null, passwordPro
}
}

TogaTech.tEnvoy = new tEnvoy(openpgp, nacl, sjcl);

module.exports = {tEnvoy, tEnvoyPGPKey, tEnvoyNaClKey, tEnvoyNaClSigningKey};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tenvoy",
"version": "6.0.4",
"version": "6.0.5",
"description": "PGP, NaCl, and PBKDF2 in node.js and the browser (hashing, random, encryption, decryption, signatures, conversions), used by TogaTech.org",
"main": "./node/tenvoy.min.js",
"browser": {
Expand Down
2 changes: 1 addition & 1 deletion tenvoy.js
Original file line number Diff line number Diff line change
Expand Up @@ -45665,7 +45665,7 @@ function tEnvoy(openpgpRef = openpgp, naclRef = nacl, sjclRef = sjcl) {

Object.defineProperty(this, "version", {
get: () => {
return "v6.0.4";
return "v6.0.5";
}
});

Expand Down

0 comments on commit 6c8171c

Please sign in to comment.