diff --git a/node/tenvoy.js b/node/tenvoy.js index 5c04b6bf..0517d389 100644 --- a/node/tenvoy.js +++ b/node/tenvoy.js @@ -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; @@ -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"; } }); @@ -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}; \ No newline at end of file diff --git a/package.json b/package.json index 1ea3bfb7..7afe9d9c 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/tenvoy.js b/tenvoy.js index a0673b04..c9e0779b 100644 --- a/tenvoy.js +++ b/tenvoy.js @@ -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"; } });