@rarible/utils
Advanced tools
Comparing version 0.10.0-alpha.28 to 0.10.0-alpha.31
@@ -27,5 +27,5 @@ "use strict"; | ||
} | ||
exports.CodeError = CodeError; | ||
// fraction of PI | ||
CodeError.UNKNOWN_CODE = 14159265359; | ||
exports.CodeError = CodeError; | ||
const hasCode = tg.isLikeObject({ | ||
@@ -32,0 +32,0 @@ code: tg.isSet, |
@@ -8,3 +8,3 @@ import * as tg from "generic-type-guard"; | ||
*/ | ||
class CodeError extends CustomError { | ||
export class CodeError extends CustomError { | ||
static parse(error, data) { | ||
@@ -26,3 +26,2 @@ const message = extractErrorMessage(error); | ||
CodeError.UNKNOWN_CODE = 14159265359; | ||
export { CodeError }; | ||
const hasCode = tg.isLikeObject({ | ||
@@ -29,0 +28,0 @@ code: tg.isSet, |
{ | ||
"name": "@rarible/utils", | ||
"version": "0.10.0-alpha.28", | ||
"version": "0.10.0-alpha.31", | ||
"keywords": [ | ||
@@ -37,3 +37,3 @@ "rarible", | ||
}, | ||
"gitHead": "a656d1007f4aa0ff6f9384ce25d8cd52f6d3a99c" | ||
"gitHead": "6e8bd3709c12c0d2d70eca4cbbd8fa5d0465e5de" | ||
} |
Sorry, the diff of this file is not supported yet
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
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
61451
425