@liquality/utils
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -1,2 +0,2 @@ | ||
module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=1)}([function(t){t.exports={a:"0.3.0"}},function(t,e,r){"use strict";r.r(e),r.d(e,"Address",function(){return s}),r.d(e,"addressToString",function(){return u}),r.d(e,"sleep",function(){return i});var n=r(0);function i(t){return new Promise(e=>setTimeout(e,t))}r.d(e,"version",function(){return n.a});class s{constructor(t,e,r,n){t instanceof s||"string"!=typeof t?(this._address=t.address,this._derivationPath=t.derivationPath,this._publicKey=t.publicKey,this._index=t.index):(this._address=t,this._derivationPath=e,this._publicKey=r,this._index=n)}get address(){return this._address}get derivationPath(){return this._derivationPath}get publicKey(){return this._publicKey}get index(){return this._index}toLocaleString(){return this._address}toString(){return this._address}valueOf(){return this._address}equals(t){return this._address===u(t)}toObject(){const t={address:this._address};return this._derivationPath&&(t.derivationPath=this._derivationPath),this._publicKey&&(t.publicKey=this._publicKey),void 0!==this._index&&null!==this._index&&(t.index=this._index),t}}function u(t){return"string"==typeof t?t:String(new s(t))}}]); | ||
module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=1)}([function(t){t.exports={a:"0.3.1"}},function(t,e,r){"use strict";r.r(e),r.d(e,"Address",function(){return s}),r.d(e,"addressToString",function(){return u}),r.d(e,"sleep",function(){return i});var n=r(0);function i(t){return new Promise(e=>setTimeout(e,t))}r.d(e,"version",function(){return n.a});class s{constructor(t,e,r,n){t instanceof s||"string"!=typeof t?(this._address=t.address,this._derivationPath=t.derivationPath,this._publicKey=t.publicKey,this._index=t.index):(this._address=t,this._derivationPath=e,this._publicKey=r,this._index=n)}get address(){return this._address}get derivationPath(){return this._derivationPath}get publicKey(){return this._publicKey}get index(){return this._index}toLocaleString(){return this._address}toString(){return this._address}valueOf(){return this._address}equals(t){return this._address===u(t)}toObject(){const t={address:this._address};return this._derivationPath&&(t.derivationPath=this._derivationPath),this._publicKey&&(t.publicKey=this._publicKey),void 0!==this._index&&null!==this._index&&(t.index=this._index),t}}function u(t){return"string"==typeof t?t:String(new s(t))}}]); | ||
//# sourceMappingURL=index.cjs.js.map |
@@ -118,3 +118,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
eval("module.exports = {\"name\":\"@liquality/utils\",\"umdName\":\"Utils\",\"version\":\"0.3.0\",\"description\":\"\",\"module\":\"lib/index.js\",\"main\":\"dist/index.cjs.js\",\"files\":[\"dist\",\"lib\"],\"scripts\":{\"build:node\":\"webpack --config ../../webpack/webpack.node.config.js\",\"build:browser\":\"webpack --config ../../webpack/webpack.browser.config.js\",\"build\":\"webpack --config ../../webpack/webpack.config.js\"},\"author\":\"Liquality <info@liquality.io>\",\"license\":\"MIT\",\"dependencies\":{\"@babel/runtime\":\"^7.4.3\"},\"engines\":{\"node\":\"~8.12.0\"},\"homepage\":\"https://github.com/liquality/chainabstractionlayer#readme\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/liquality/chainabstractionlayer.git\"},\"bugs\":{\"url\":\"https://github.com/liquality/chainabstractionlayer/issues\"},\"publishConfig\":{\"access\":\"public\"},\"gitHead\":\"b9c41ab00c69d6d219e61e46997326901fae5a6a\"};\n\n//# sourceURL=webpack://Utils/./package.json?"); | ||
eval("module.exports = {\"name\":\"@liquality/utils\",\"umdName\":\"Utils\",\"version\":\"0.3.1\",\"description\":\"\",\"module\":\"lib/index.js\",\"main\":\"dist/index.cjs.js\",\"files\":[\"dist\",\"lib\"],\"scripts\":{\"build:node\":\"webpack --config ../../webpack/webpack.node.config.js\",\"build:browser\":\"webpack --config ../../webpack/webpack.browser.config.js\",\"build\":\"webpack --config ../../webpack/webpack.config.js\"},\"author\":\"Liquality <info@liquality.io>\",\"license\":\"MIT\",\"dependencies\":{\"@babel/runtime\":\"^7.4.3\"},\"engines\":{\"node\":\"~8.12.0\"},\"homepage\":\"https://github.com/liquality/chainabstractionlayer#readme\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/liquality/chainabstractionlayer.git\"},\"bugs\":{\"url\":\"https://github.com/liquality/chainabstractionlayer/issues\"},\"publishConfig\":{\"access\":\"public\"},\"gitHead\":\"4d5197062342cca7fd382db5d28271d7e468e0dc\"};\n\n//# sourceURL=webpack://Utils/./package.json?"); | ||
@@ -121,0 +121,0 @@ /***/ }) |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Utils=t():e.Utils=t()}(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e){e.exports={a:"0.3.0"}},function(e,t,n){"use strict";n.r(t),n.d(t,"Address",function(){return u}),n.d(t,"addressToString",function(){return s}),n.d(t,"sleep",function(){return o});var r=n(0);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e){return new Promise(function(t){return setTimeout(t,e)})}n.d(t,"version",function(){return r.a});var u=function(){function e(t,n,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t instanceof e||"string"!=typeof t?(this._address=t.address,this._derivationPath=t.derivationPath,this._publicKey=t.publicKey,this._index=t.index):(this._address=t,this._derivationPath=n,this._publicKey=r,this._index=i)}var t,n,r;return t=e,(n=[{key:"toLocaleString",value:function(){return this._address}},{key:"toString",value:function(){return this._address}},{key:"valueOf",value:function(){return this._address}},{key:"equals",value:function(e){return this._address===s(e)}},{key:"toObject",value:function(){var e={address:this._address};return this._derivationPath&&(e.derivationPath=this._derivationPath),this._publicKey&&(e.publicKey=this._publicKey),void 0!==this._index&&null!==this._index&&(e.index=this._index),e}},{key:"address",get:function(){return this._address}},{key:"derivationPath",get:function(){return this._derivationPath}},{key:"publicKey",get:function(){return this._publicKey}},{key:"index",get:function(){return this._index}}])&&i(t.prototype,n),r&&i(t,r),e}();function s(e){return"string"==typeof e?e:String(new u(e))}}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Utils=t():e.Utils=t()}(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e){e.exports={a:"0.3.1"}},function(e,t,n){"use strict";n.r(t),n.d(t,"Address",function(){return u}),n.d(t,"addressToString",function(){return s}),n.d(t,"sleep",function(){return o});var r=n(0);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e){return new Promise(function(t){return setTimeout(t,e)})}n.d(t,"version",function(){return r.a});var u=function(){function e(t,n,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t instanceof e||"string"!=typeof t?(this._address=t.address,this._derivationPath=t.derivationPath,this._publicKey=t.publicKey,this._index=t.index):(this._address=t,this._derivationPath=n,this._publicKey=r,this._index=i)}var t,n,r;return t=e,(n=[{key:"toLocaleString",value:function(){return this._address}},{key:"toString",value:function(){return this._address}},{key:"valueOf",value:function(){return this._address}},{key:"equals",value:function(e){return this._address===s(e)}},{key:"toObject",value:function(){var e={address:this._address};return this._derivationPath&&(e.derivationPath=this._derivationPath),this._publicKey&&(e.publicKey=this._publicKey),void 0!==this._index&&null!==this._index&&(e.index=this._index),e}},{key:"address",get:function(){return this._address}},{key:"derivationPath",get:function(){return this._derivationPath}},{key:"publicKey",get:function(){return this._publicKey}},{key:"index",get:function(){return this._index}}])&&i(t.prototype,n),r&&i(t,r),e}();function s(e){return"string"==typeof e?e:String(new u(e))}}])}); | ||
//# sourceMappingURL=utils.min.js.map |
{ | ||
"name": "@liquality/utils", | ||
"umdName": "Utils", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "", | ||
@@ -36,3 +36,3 @@ "module": "lib/index.js", | ||
}, | ||
"gitHead": "b9c41ab00c69d6d219e61e46997326901fae5a6a" | ||
"gitHead": "4d5197062342cca7fd382db5d28271d7e468e0dc" | ||
} |
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