Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@liquality/crypto

Package Overview
Dependencies
Maintainers
4
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liquality/crypto - npm Package Compare versions

Comparing version 0.4.12 to 0.4.13

2

dist/index.cjs.js

@@ -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=JSON.parse('{"a":"0.4.12"}')},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 l})),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 p(r,e){return u()(r,d(e)).toString("hex")}function l(r){return p("hash160",r)}function b(r){return p("sha256",r)}function h(r){return p("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=JSON.parse('{"a":"0.4.13"}')},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 l})),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 p(r,e){return u()(r,d(e)).toString("hex")}function l(r){return p("hash160",r)}function b(r){return p("sha256",r)}function h(r){return p("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.4.12",
"version": "0.4.13",
"description": "",

@@ -39,3 +39,3 @@ "module": "lib/index.js",

},
"gitHead": "7736d1d0c72b6a02af12f2dbf10a5bfb5f305155"
"gitHead": "d8384d4690aed9b32fdb22c5627274ed8a6cdb23"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc