@liquality/crypto
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -1,2 +0,2 @@ | ||
module.exports=function(r){var e={};function n(t){if(e[t])return e[t].exports;var u=e[t]={i:t,l:!1,exports:{}};return r[t].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=r,n.c=e,n.d=function(r,e,t){n.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:t})},n.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,e){if(1&e&&(r=n(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var u in r)n.d(t,u,function(e){return r[e]}.bind(null,u));return t},n.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(e,"a",e),e},n.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},n.p="",n(n.s=4)}([function(r,e){r.exports=require("bs58")},function(r,e){r.exports=require("bech32")},function(r){r.exports={a:"0.2.5"}},function(r,e){r.exports=require("crypto-hashing")},function(r,e,n){"use strict";n.r(e),n.d(e,"sha256",function(){return b}),n.d(e,"ripemd160",function(){return h}),n.d(e,"hash160",function(){return p}),n.d(e,"ensureBuffer",function(){return d}),n.d(e,"padHexStart",function(){return x}),n.d(e,"isHex",function(){return s});var t=n(3),u=n.n(t),o=n(0),f=n.n(o);n.d(e,"base58",function(){return f.a});var i=n(1),c=n.n(i);n.d(e,"bech32",function(){return c.a});var a=n(2);function s(r){if(!r.match(/([0-9]|[a-f])/gim))return!1;return Buffer.from(r,"hex").toString("hex")===r.toLowerCase()}function d(r){if(Buffer.isBuffer(r))return r;switch(typeof r){case"string":r=s(r)?Buffer.from(r,"hex"):Buffer.from(r);break;case"object":r=Buffer.from(JSON.stringify(r))}return!!Buffer.isBuffer(r)&&r}function l(r,e){return u()(r,d(e)).toString("hex")}function p(r){return l("hash160",r)}function b(r){return l("sha256",r)}function h(r){return l("ripemd160",r)}function x(r,e){let n=e||r.length;return n+=n%2,r.padStart(n,"0")}n.d(e,"version",function(){return a.a})}]); | ||
module.exports=function(r){var e={};function n(t){if(e[t])return e[t].exports;var u=e[t]={i:t,l:!1,exports:{}};return r[t].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=r,n.c=e,n.d=function(r,e,t){n.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:t})},n.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,e){if(1&e&&(r=n(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var u in r)n.d(t,u,function(e){return r[e]}.bind(null,u));return t},n.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(e,"a",e),e},n.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},n.p="",n(n.s=4)}([function(r,e){r.exports=require("bs58")},function(r,e){r.exports=require("bech32")},function(r){r.exports={a:"0.2.6"}},function(r,e){r.exports=require("crypto-hashing")},function(r,e,n){"use strict";n.r(e),n.d(e,"sha256",function(){return b}),n.d(e,"ripemd160",function(){return h}),n.d(e,"hash160",function(){return p}),n.d(e,"ensureBuffer",function(){return d}),n.d(e,"padHexStart",function(){return x}),n.d(e,"isHex",function(){return s});var t=n(3),u=n.n(t),o=n(0),f=n.n(o);n.d(e,"base58",function(){return f.a});var i=n(1),c=n.n(i);n.d(e,"bech32",function(){return c.a});var a=n(2);function s(r){if(!r.match(/([0-9]|[a-f])/gim))return!1;return Buffer.from(r,"hex").toString("hex")===r.toLowerCase()}function d(r){if(Buffer.isBuffer(r))return r;switch(typeof r){case"string":r=s(r)?Buffer.from(r,"hex"):Buffer.from(r);break;case"object":r=Buffer.from(JSON.stringify(r))}return!!Buffer.isBuffer(r)&&r}function l(r,e){return u()(r,d(e)).toString("hex")}function p(r){return l("hash160",r)}function b(r){return l("sha256",r)}function h(r){return l("ripemd160",r)}function x(r,e){let n=e||r.length;return n+=n%2,r.padStart(n,"0")}n.d(e,"version",function(){return a.a})}]); | ||
//# sourceMappingURL=index.cjs.js.map |
{ | ||
"name": "@liquality/crypto", | ||
"umdName": "Crypto", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "", | ||
@@ -39,3 +39,3 @@ "module": "lib/index.js", | ||
}, | ||
"gitHead": "d8030342ccd1f3462707b74c2cbcec6c6f1010ea" | ||
"gitHead": "be6f0a0e85ba6f7face3ef0f43b7ece8674fb628" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
734694
1750