Comparing version 0.0.22 to 0.0.23
@@ -6,2 +6,3 @@ import { b64ToBuf, hexToBuf } from "./encoding.js"; | ||
import { validSkylink } from "./skylinkvalidate.js"; | ||
import { tryStringify } from "./stringifytry.js"; | ||
// Helper consts to make returning empty values alongside errors more | ||
@@ -49,4 +50,4 @@ // convenient. | ||
} | ||
if (proof.type !== 1) { | ||
return [nu8, "registry entry has unrecognized type"]; | ||
if (proof.type !== 1n) { | ||
return [nu8, "registry entry has unrecognized type: " + tryStringify(proof.type)]; | ||
} | ||
@@ -53,0 +54,0 @@ let sigStr = proof.signature; |
{ | ||
"name": "libskynet", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"description": "helper library to interact with skynet's low level primitives", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
129052
4115