@liquality/errors
Advanced tools
Comparing version 0.3.7 to 0.3.8
@@ -1,2 +0,2 @@ | ||
module.exports=function(r){var e={};function t(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return r[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=r,t.c=e,t.d=function(r,e,n){t.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:n})},t.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t.t=function(r,e){if(1&e&&(r=t(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var o in r)t.d(n,o,function(e){return r[e]}.bind(null,o));return n},t.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(e,"a",e),e},t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},t.p="",t(t.s=3)}([function(r,e){r.exports=require("http")},function(r,e){r.exports=require("standard-error")},function(r){r.exports={a:"0.3.7"}},function(r,e,t){"use strict";t.r(e),t.d(e,"StandardError",function(){return c}),t.d(e,"ProviderNotFoundError",function(){return a}),t.d(e,"InvalidProviderError",function(){return s}),t.d(e,"DuplicateProviderError",function(){return f}),t.d(e,"NoProviderError",function(){return l}),t.d(e,"UnsupportedMethodError",function(){return p}),t.d(e,"UnimplementedMethodError",function(){return v}),t.d(e,"InvalidProviderResponseError",function(){return E}),t.d(e,"WalletError",function(){return b}),t.d(e,"NodeError",function(){return m}),t.d(e,"RpcError",function(){return y}),t.d(e,"version",function(){return P});var n=t(0),o=t(1),u=t.n(o),i=t(2);function d(r){class e extends u.a{}return e.prototype.name=r,e}const c=d("StandardError"),a=d("ProviderNotFoundError"),s=d("InvalidProviderError"),f=d("DuplicateProviderError"),l=d("NoProviderError"),p=d("UnsupportedMethodError"),v=d("UnimplementedMethodError"),E=d("InvalidProviderResponseError"),b=d("WalletError"),m=d("NodeError");class y extends c{constructor(r,e,t={}){if("number"!=typeof r)throw new TypeError("Non-numeric HTTP code");"object"==typeof e&&null!==e&&(t=e,e=null),t.code=r,super(e||n.STATUS_CODES[r],t)}get status(){return this.code}set status(r){Object.defineProperty(this,"status",{configurable:!0,enumerable:!0,value:r,writable:!0})}toString(){return`${this.name}: ${this.code} ${this.message}`}}y.prototype.name="RpcError";const P=i.a}]); | ||
module.exports=function(r){var e={};function t(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return r[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=r,t.c=e,t.d=function(r,e,n){t.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:n})},t.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t.t=function(r,e){if(1&e&&(r=t(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var o in r)t.d(n,o,function(e){return r[e]}.bind(null,o));return n},t.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(e,"a",e),e},t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},t.p="",t(t.s=3)}([function(r,e){r.exports=require("http")},function(r,e){r.exports=require("standard-error")},function(r){r.exports={a:"0.3.8"}},function(r,e,t){"use strict";t.r(e),t.d(e,"StandardError",function(){return c}),t.d(e,"ProviderNotFoundError",function(){return a}),t.d(e,"InvalidProviderError",function(){return s}),t.d(e,"DuplicateProviderError",function(){return f}),t.d(e,"NoProviderError",function(){return l}),t.d(e,"UnsupportedMethodError",function(){return p}),t.d(e,"UnimplementedMethodError",function(){return v}),t.d(e,"InvalidProviderResponseError",function(){return E}),t.d(e,"WalletError",function(){return b}),t.d(e,"NodeError",function(){return m}),t.d(e,"RpcError",function(){return y}),t.d(e,"version",function(){return P});var n=t(0),o=t(1),u=t.n(o),i=t(2);function d(r){class e extends u.a{}return e.prototype.name=r,e}const c=d("StandardError"),a=d("ProviderNotFoundError"),s=d("InvalidProviderError"),f=d("DuplicateProviderError"),l=d("NoProviderError"),p=d("UnsupportedMethodError"),v=d("UnimplementedMethodError"),E=d("InvalidProviderResponseError"),b=d("WalletError"),m=d("NodeError");class y extends c{constructor(r,e,t={}){if("number"!=typeof r)throw new TypeError("Non-numeric HTTP code");"object"==typeof e&&null!==e&&(t=e,e=null),t.code=r,super(e||n.STATUS_CODES[r],t)}get status(){return this.code}set status(r){Object.defineProperty(this,"status",{configurable:!0,enumerable:!0,value:r,writable:!0})}toString(){return`${this.name}: ${this.code} ${this.message}`}}y.prototype.name="RpcError";const P=i.a}]); | ||
//# sourceMappingURL=index.cjs.js.map |
{ | ||
"name": "@liquality/errors", | ||
"umdName": "CALErrors", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"description": "", | ||
@@ -37,3 +37,3 @@ "module": "lib/index.js", | ||
}, | ||
"gitHead": "6b304671d468ed70f6ca75c2a651da2731eeb7e1" | ||
"gitHead": "e94bae03fb83844069ee4fab9683d195142e4a4c" | ||
} |
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