Comparing version 1.5.0 to 1.5.1
@@ -161,3 +161,3 @@ "use strict"; | ||
if (parts.type === 'feed') { | ||
if (parts.format !== 'ed25519' && parts.format !== 'bendybutt-v1') { | ||
if (parts.format !== 'ed25519' && parts.format !== 'bendybutt-v1' && parts.format !== 'gabbygrove-v1') { | ||
throw new Error('Unknown format for type "feed": ' + parts.format); | ||
@@ -169,3 +169,3 @@ } | ||
if (parts.type === 'message') { | ||
if (parts.format !== 'sha256' && parts.format !== 'bendybutt-v1') { | ||
if (parts.format !== 'sha256' && parts.format !== 'bendybutt-v1' && parts.format !== 'gabbygrove-v1') { | ||
throw new Error('Unknown format for type "message": ' + parts.format); | ||
@@ -172,0 +172,0 @@ } |
{ | ||
"name": "ssb-uri2", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Utilities for recognizing and converting SSB URIs", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
21506