@liquality/bitcoin-utils
Advanced tools
Comparing version 0.4.12 to 0.4.13
@@ -1,2 +0,2 @@ | ||
module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)r.d(n,u,function(t){return e[t]}.bind(null,u));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=4)}([function(e,t){e.exports=require("@liquality/crypto")},function(e,t){e.exports=require("@liquality/bitcoin-networks")},function(e,t){e.exports=require("lodash")},function(e){e.exports=JSON.parse('{"a":"0.4.12"}')},function(e,t,r){"use strict";r.r(t),r.d(t,"calculateFee",(function(){return s})),r.d(t,"compressPubKey",(function(){return a})),r.d(t,"getAddressNetwork",(function(){return f})),r.d(t,"AddressTypes",(function(){return l}));var n=r(2),u=r(0),o=r(1),i=r.n(o),c=r(3);function s(e,t,r){return(148*e+34*t+10)*r}function a(e){const t=e.substring(2,66),r=e.substring(66,130);return(parseInt(r.substring(62,64),16)%2==0?"02":"03")+t}function f(e){let t;if(!(t=Object(n.findKey)(i.a,t=>e.startsWith(t.bech32)))){const r=u.base58.decode(e).toString("hex").substring(0,2);t=Object(n.findKey)(i.a,e=>{return[Object(u.padHexStart)(e.pubKeyHash.toString(16),2),Object(u.padHexStart)(e.scriptHash.toString(16),2)].includes(r)})}return i.a[t]}r.d(t,"version",(function(){return c.a}));const l=["legacy","p2sh-segwit","bech32"]}]); | ||
module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)r.d(n,u,function(t){return e[t]}.bind(null,u));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=4)}([function(e,t){e.exports=require("@liquality/crypto")},function(e,t){e.exports=require("@liquality/bitcoin-networks")},function(e,t){e.exports=require("lodash")},function(e){e.exports=JSON.parse('{"a":"0.4.13"}')},function(e,t,r){"use strict";r.r(t),r.d(t,"calculateFee",(function(){return s})),r.d(t,"compressPubKey",(function(){return a})),r.d(t,"getAddressNetwork",(function(){return f})),r.d(t,"AddressTypes",(function(){return l}));var n=r(2),u=r(0),o=r(1),i=r.n(o),c=r(3);function s(e,t,r){return(148*e+34*t+10)*r}function a(e){const t=e.substring(2,66),r=e.substring(66,130);return(parseInt(r.substring(62,64),16)%2==0?"02":"03")+t}function f(e){let t;if(!(t=Object(n.findKey)(i.a,t=>e.startsWith(t.bech32)))){const r=u.base58.decode(e).toString("hex").substring(0,2);t=Object(n.findKey)(i.a,e=>{return[Object(u.padHexStart)(e.pubKeyHash.toString(16),2),Object(u.padHexStart)(e.scriptHash.toString(16),2)].includes(r)})}return i.a[t]}r.d(t,"version",(function(){return c.a}));const l=["legacy","p2sh-segwit","bech32"]}]); | ||
//# sourceMappingURL=index.cjs.js.map |
{ | ||
"name": "@liquality/bitcoin-utils", | ||
"umdName": "BitcoinUtils", | ||
"version": "0.4.12", | ||
"version": "0.4.13", | ||
"description": "", | ||
@@ -21,5 +21,5 @@ "module": "lib/index.js", | ||
"@babel/runtime": "^7.4.3", | ||
"@liquality/bitcoin-networks": "^0.4.12", | ||
"@liquality/crypto": "^0.4.12", | ||
"@liquality/utils": "^0.4.12", | ||
"@liquality/bitcoin-networks": "^0.4.13", | ||
"@liquality/crypto": "^0.4.13", | ||
"@liquality/utils": "^0.4.13", | ||
"lodash": "^4.17.13" | ||
@@ -41,3 +41,3 @@ }, | ||
}, | ||
"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
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
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
Updated@liquality/crypto@^0.4.13
Updated@liquality/utils@^0.4.13