diff --git a/dist/jose-commonjs.js b/dist/jose-commonjs.js index 4e7b52f..a7722a7 100644 --- a/dist/jose-commonjs.js +++ b/dist/jose-commonjs.js @@ -42,7 +42,7 @@ exports.setCrypto = function (cp) { /** * Default to the global "crypto" variable */ -if (typeof crypto !== 'undefined') { +if (typeof(crypto) !== 'undefined') { exports.setCrypto(crypto); } diff --git a/dist/jose-testing.js b/dist/jose-testing.js index 2a559ba..b20a3b2 100644 --- a/dist/jose-testing.js +++ b/dist/jose-testing.js @@ -45,7 +45,7 @@ exports.setCrypto = function (cp) { /** * Default to the global "crypto" variable */ -if (typeof crypto !== 'undefined') { +if (typeof(crypto) !== 'undefined') { exports.setCrypto(crypto); } diff --git a/dist/jose.js b/dist/jose.js index ce0fbac..72c9471 100644 --- a/dist/jose.js +++ b/dist/jose.js @@ -47,7 +47,7 @@ exports.setCrypto = function (cp) { /** * Default to the global "crypto" variable */ -if (typeof crypto !== 'undefined') { +if (typeof(crypto) !== 'undefined') { exports.setCrypto(crypto); } diff --git a/jose-jwe-jws.d.ts b/jose-jwe-jws.d.ts index 767901c..b336533 100644 --- a/jose-jwe-jws.d.ts +++ b/jose-jwe-jws.d.ts @@ -1,5 +1,5 @@ -// Type definitions for jose-jwe -// Project: jose-jwe +// Type definitions for jose-jwe-jws +// Project: jose-jwe-jws // Definitions by: [~YOUR NAME~] <[~A URL FOR YOU~]> interface IEncryptionResult { diff --git a/lib/jose-core.js b/lib/jose-core.js index 3617eac..452e553 100644 --- a/lib/jose-core.js +++ b/lib/jose-core.js @@ -42,7 +42,7 @@ exports.setCrypto = function (cp) { /** * Default to the global "crypto" variable */ -if (typeof crypto !== 'undefined') { +if (typeof(crypto) !== 'undefined') { exports.setCrypto(crypto); } diff --git a/package.json b/package.json index 12e1c9d..ce4a302 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,5 @@ }, "typings": "jose-jwe-jws.d.ts", "main": "dist/jose-commonjs.js", - "dependencies": { - } + "dependencies": {} }